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_searchis optional example:https://www.imdb.com/search/title/?title={}This is used by theWeb-UIto search in movie databases.
It requires:-
episode_patternto remove episode suffix from titles for searching. -
extensionsto identifiy vod files.
-
-
extensionsare a list of video file extensions likemp4,avi,mkv.
This is used for categorizing urls fromM3Usources and used by theWeb-UIto provide specific features.
When you have inputm3uand outputxtreamthe url's with the matching endings will be categorized asvideo. -
downloadis 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 theuiis available.-
headersoptional, download headers -
organize_into_directoriesoptional, orgainize downloads into directories -
episode_patternoptional if you download episodes, the suffix likeS01.E01should be removed to place all files into one folder. The named capture groupepisodeis mandatory.
Example:.*(?P<episode>[Ss]\\d{1,2}(.*?)[Ee]\\d{1,2}).*
It requires: -
episode_patternto remove episode suffix from titles whenorganize_into_directoriesis settrue. -
extensionsto identifiy vod files.
-