mr-b wrote: 
> 
> So I guess one option is to change the scan type to be "Look for new and
> changed media files" but I've not been able to find a description of
> exactly what "new and changed media" means. 
> 
File added / removed / has newer mofification date compared to last
access

> 
> Otherwise it'd be really handy if the "Clear and rescan" could do some
> form of elementary check to see that the library is accessible before it
> deletes everything.
> 
A network mount is just a folder, so there's no generic method to
determine if it's empty because there is nothing in the folder, or
because the network share has been unmounted due to network issues.

> 
> Or is there another way or recovering the previous library database?
> 
Any backup solution can do that.

You could also create a script which checks if the share is unavailable
and disables the rescan (using the LMS CLI's 'pref'
(http://htmlpreview.github.io/?https://raw.githubusercontent.com/Logitech/slimserver/public/7.9/HTML/EN/html/docs/cli-api.html#pref)
command)



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=112853

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to