System Property to disable start-up scan of shared folders
Create a system property that, when enabled, will disable the scanning of shared folders at server start-up.
This will overcome the problems associated with drives that are dismounted or otherwise not available having their contents removed from the library, while still allowing the user to enjoy automatic refreshing.
It can however introduce issues for version 1.5 automatic library updates in that any changes to shared folders made while Serviio is not running will not be automatically added to the library. Documentation needs to reflect this on the http://www.serviio.org/component/content/article/10-uncategorised/43-supported-system-properties page so that users are aware of these limitations.
Comments (5)
-
repo owner -
reporter Or we could simply test for the existence of the shared folder. In any case, I think the underlying issue is the ability to not scan folders/drives that are not available; ensuring that the shared folder is not inadvertently removed from the library for folders that are temporarily unavailable for whatever reason (if you want we can change the title for this issue)
This will impose on the user the need to actually remove the shared folder from the library if they want to remove it (ie. they simply cant delete the folder from the drive, they must also remove it from the list of shared folders).
-
Account Deleted -
repo owner this is now replaced by
#820 -
repo owner - changed status to closed
- Log in to comment
An alternative could be some native code to check if the drive is remote or not (for newly added folders). For Windows: http://forum.serviio.org/viewtopic.php?f=8&t=17794&p=95383#p95365 and jWmi.