Jump to content

Emby logic on network folder unmount


Edrock200
Go to solution Solved by darkassassin07,

Recommended Posts

Edrock200

Question about how emby handles when a root folder is completely missing, e.g. a network share unmounts. From my experience, it appears to wipe the libraries if not caught in time. I know I can script some logic in a cron to stop emby when this happens, but if my experience is correct, requesting a feature request in that if the root folder is completely missing, emby skip said folder. 

  • Agree 1
Link to comment
Share on other sites

  • Solution
darkassassin07

This is already implemented:

 

As long as emby can still see the root folder of your library, but content is missing from it (or its entirely empty), it'll remove the content from its database.

If you use for example /mountpoint/movies/; when the mountpoint is dismounted the /movies/ folder disappears entirely.

As emby can't find the root folder /movies/ at all, it won't remove the media.

 

 

 

Edited by darkassassin07
  • Like 1
Link to comment
Share on other sites

Edrock200
40 minutes ago, darkassassin07 said:

This is already implemented:

 

As long as emby can still see the root folder of your library, but content is missing from it (or its entirely empty), it'll remove the content from its database.

If you use for example /mountpoint/movies/; when the mountpoint is dismounted the /movies/ folder disappears entirely.

As emby can't find the root folder /movies/ at all, it won't remove the media.

 

 

 

Thanks! I'll have to see why mine wiped on that case. Appreciate the response. 

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...