System Property to disable start-up scan of shared folders

Issue #819 closed
DenyAll created an issue

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)

  1. DenyAll 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).

  2. Log in to comment