Jump to content

Recommended Posts

AlexisCaden
Posted

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
Posted

Thanks for this @ebr

Although, it does lead to more questions... 

Your post:

image.thumb.png.32fdb5028eff4b8e404a7d44b3da7002.png

Seems to imply this has already been added to Emby.

Luke's post implies it wasn't added yet:

image.thumb.png.210efd7cc6db9b0cff008748a5435117.png

 

Yet the request is marked as completed, yet I am still experiencing the data wipe when the library was offline.

Can you help clarify?

Posted

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
Posted

I'm on 4.9.1.5- I would assume it exists in this as well correct?

Happy2Play
Posted
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
Posted

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!

Posted
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
Posted
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.

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...