Add support for configs
This commit is contained in:
35
config.yml.example
Normal file
35
config.yml.example
Normal file
@@ -0,0 +1,35 @@
|
||||
zurg: v1
|
||||
|
||||
directories:
|
||||
torrents:
|
||||
or:
|
||||
- regex: /.*/ # you can specify multiple conditions and it works as an OR
|
||||
- contains: season # use 'contains' for string, case insensitive
|
||||
- contains_strict: season # case sensitive
|
||||
- and:
|
||||
- not_contains: xxx
|
||||
- not_contains_strict: trailer
|
||||
shows:
|
||||
or:
|
||||
- regex: /season/i # you can specify multiple regex conditions and it works as an OR
|
||||
- regex: /Season/i
|
||||
- regex: /Saison/i
|
||||
"4k content":
|
||||
regex: /\b4k\b/i
|
||||
"dolby vision":
|
||||
and:
|
||||
regex: /\bdovi\b/i
|
||||
contains: 4k
|
||||
kids:
|
||||
or:
|
||||
- id: XFPQ5UCMUVAEG # you can specify the torrent ID as well
|
||||
- id: VDRPYNRPQHEXC
|
||||
- id: YELNX3XR5XJQM
|
||||
default:
|
||||
regex: /.*/ # if duplicates=false, best practice to add a catch-all bucket
|
||||
|
||||
duplicates: true
|
||||
# if true, it means as long as a torrent satisfies the conditions set, then it will appear on that directory
|
||||
# if false, it follows the order of directories and only appears once in one of them (or none so be careful)
|
||||
# it processes each movie to see if it meets DIR1 conditions
|
||||
# if not, it checks for DIR2 conditions, and so on...
|
||||
Reference in New Issue
Block a user