Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve dection of local/network video paths. #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tonycpsu
Copy link

  • 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)

* 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant