AlexisCaden 40 Posted July 9, 2025 Posted July 9, 2025 Hey Emby Team I'd like to investigate if there could be potential to expand Emby's decision making process on when to remove media from library. Currently if Emby sees that its access to storage is unavailable, it will begin to remove all media from that library. I suggest that during this event, it should not remove media from that library. It should do nothing other than potentially prompt that there is a media access error. I suspect the majority of times that the entire share / mount is missing, it isn't because the person intends to wipe their entire library. Usually due to a technical error... (looking at you Windows Update >_>). This would potentially be a huge QoL improvement. My library takes forever to scan in. Thanks!
AlexisCaden 40 Posted July 9, 2025 Author Posted July 9, 2025 Thanks for this @ebr Although, it does lead to more questions... Your post: Seems to imply this has already been added to Emby. Luke's post implies it wasn't added yet: Yet the request is marked as completed, yet I am still experiencing the data wipe when the library was offline. Can you help clarify?
ebr 16169 Posted July 9, 2025 Posted July 9, 2025 Are you on 4.8.x? If so, let's look at an example. Please attach the information requested in How to Report a Problem Thanks!
AlexisCaden 40 Posted July 9, 2025 Author Posted July 9, 2025 I'm on 4.9.1.5- I would assume it exists in this as well correct?
Happy2Play 9780 Posted July 9, 2025 Posted July 9, 2025 57 minutes ago, AlexisCaden said: I'm on 4.9.1.5- I would assume it exists in this as well correct? It really depends on how your libraries are added to Emby. Details how to prevent this behavior mentioned here.
AlexisCaden 40 Posted July 9, 2025 Author Posted July 9, 2025 Okay, so that is my underlying issue. In my case, the Linux server has a mount, and the mount just appears empty when storage goes offline, rather than completely disappearing. Would be nice if there was some way for Emby to know the difference, but that is beyond me on knowing if that is possible. Thanks!
Luke 42077 Posted July 9, 2025 Posted July 9, 2025 1 hour ago, AlexisCaden said: Okay, so that is my underlying issue. In my case, the Linux server has a mount, and the mount just appears empty when storage goes offline, rather than completely disappearing. Would be nice if there was some way for Emby to know the difference, but that is beyond me on knowing if that is possible. Thanks! It is but would require a more tailored approach to the type of mount that you're using, as opposed to just generically trying to query the directory contents and seeing what comes back.
darkassassin07 652 Posted July 9, 2025 Posted July 9, 2025 1 hour ago, AlexisCaden said: Okay, so that is my underlying issue. In my case, the Linux server has a mount, and the mount just appears empty when storage goes offline, rather than completely disappearing. Would be nice if there was some way for Emby to know the difference, but that is beyond me on knowing if that is possible. Thanks! That is the correct behaviour, the mount itself remains, but it's contents disappears. You need to place your media inside a folder that is inside that mount, so the internal folder disappears when the mount itself is unmounted. /mnt/media <-- this is the actual mountpoint /mnt/media/movies <-- add this to embys libraries /mnt/media/movies/example (2001) [tmdbid=xxxxxx]/example (2001).mkv I've used the above structure with debian+docker for several years without issue.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now