config_video - euzu/tuliprox GitHub Wiki

video

video:
  web_search: 'https://www.imdb.com/search/title/?title={}'
  extensions:
    - mkv
    - mp4
    - avi
  download:
    headers:
      User-Agent: "AppleTV/tvOS/9.1.1."
      Accept: "video/*"
    directory: /tmp/
    organize_into_directories: true
    episode_pattern: '.*(?P<episode>[Ss]\\d{1,2}(.*?)[Ee]\\d{1,2}).*'

video is optional.

  • web_search is optional example: https://www.imdb.com/search/title/?title={} This is used by the Web-UI to search in movie databases.
    It requires:

    • episode_pattern to remove episode suffix from titles for searching.
    • extensions to identifiy vod files.
  • extensions are a list of video file extensions like mp4, avi, mkv.
    This is used for categorizing urls from M3U sources and used by the Web-UI to provide specific features.
    When you have input m3u and output xtream the url's with the matching endings will be categorized as video.

  • download is optional and is only necessary if you want to download the video files from the ui to a specific directory. if defined, the download button from the ui is available.

    • headers optional, download headers
    • organize_into_directories optional, orgainize downloads into directories
    • episode_pattern optional if you download episodes, the suffix like S01.E01 should be removed to place all files into one folder. The named capture group episode is mandatory.
      Example: .*(?P<episode>[Ss]\\d{1,2}(.*?)[Ee]\\d{1,2}).*
      It requires:
    • episode_pattern to remove episode suffix from titles when organize_into_directories is set true.
    • extensions to identifiy vod files.
⚠️ **GitHub.com Fallback** ⚠️