Improve dection of local/network video paths. #44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replace simple "://" string check with a more thorough algorithm that
considers the protocol string (if present) and any user-specified
pathname patterns to be considered network paths.
The following new settings govern this behavior:
thumbnail_network_protocols - pipe-delimited list of Lua patterns
for network protocols
thumbnail_file_protocols - pipe-delimited list of Lua patterns
for file protocols
thumbnail_network_paths - pipe-delimited list of Lua patterns that,
when matched (and when network protocol checks don't match)
determine that a file is on a network (e.g. /mnt/nas)