More > JRiver Media Center 27 for Linux

How does MC Linux detects an unmounted volumen when auto-importing ?

(1/3) > >>

Gedeon:
I'm already using MC25, but I'm ineterested in which is the MC criteria to "not remove" MC tracks, video files from the database if not found under a non-mounted path (like the Windows feature to keep content indexed from eventually unreachable drives)

Gedeon:
I just want to understand under which circumstances (if any), in a Linux system, when MC doesn't found files in its database path just decides that there aren't missing/erased files but an unmounted disc, so auto-import won't delete those files from the database.

¿ Is it any policy about it or in Linux it just erase from database every not found file when auto-importing ?

Thanks in advance.

lepa:
https://wiki.jriver.com/index.php/Auto-Import
https://wiki.jriver.com/index.php/Fix_Broken_Links

Gedeon:

--- Quote from: lepa on October 05, 2020, 06:03:50 am ---https://wiki.jriver.com/index.php/Auto-Import
https://wiki.jriver.com/index.php/Fix_Broken_Links

--- End quote ---


I know those, I'm just asking how MC determines un Linux if a file is deleted or if the volume isn't mounted, so on this last case It wouldn't remove the file from the database.

Linux paths aren't like Window ones. I can be tricky if MC only saves the path without any metadata about the mount point or the volume UUID.

Maybe a flag-file could help if not already implemented.

lepa:
Don't know if undocumented linux behaviour exists but fix broken links wiki states:

"Yes (protect files on missing drives)
    The default. This is the same as Yes, except for that files are "protected" if MC determines that drive is entirely missing.

The Protect files on missing drives option is useful with external and network volumes (such as USB drives or NAS devices) that may sometimes be disconnected or offline. With this option enabled, when it finds missing files, Auto-Import will try to determine if the drive itself is entirely offline, or if the drive exists but the files are actually missing, and only remove them in the latter case. This is important if your drive might go offline occasionally because otherwise Media Center would happily remove all files on a drive when it becomes disconnected! Please note that the OS does not always provide a clean way to make this determination and this setting is not 100% foolproof. If you experience difficulty with files on external or network volumes being removed from and re-imported into Media Center, disable this setting entirely. "


Devs can of course give more specific answer if linux differs from documentation. I would just set it off and do deletions only inside MC to keep sync.

Navigation

[0] Message Index

[#] Next page

Go to full version