Finish config mapping
This commit is contained in:
48
config.yml
48
config.yml
@@ -1,38 +1,50 @@
|
||||
# Zurg configuration version
|
||||
zurg: v1
|
||||
|
||||
# List of directory definitions and their filtering rules
|
||||
directories:
|
||||
torrents:
|
||||
group: asd
|
||||
filters:
|
||||
- not_contains: xxx
|
||||
- not_contains_strict: trailer
|
||||
|
||||
# Configuration for TV shows
|
||||
shows:
|
||||
group: sdf
|
||||
group: media # directories on different groups have duplicates of the same torrent
|
||||
filters:
|
||||
- regex: /season/i
|
||||
- regex: /Season/i
|
||||
- regex: /Saison/i
|
||||
- regex: /season[\s\.]?\d/i # Capture torrent names with the term 'season' in any case
|
||||
- regex: /Saison[\s\.]?\d/i # For non-English namings
|
||||
- regex: /stage[\s\.]?\d/i
|
||||
- regex: /s\d\d/i # Capture common season notations like S01, S02, etc.
|
||||
|
||||
# Configuration for movies
|
||||
movies:
|
||||
group: media # because movies and shows are in the same group, and shows come first before movies, all torrents that doesn't fall into shows will fall into movies
|
||||
filters:
|
||||
- regex: /.*/ # you cannot leave a directory without filters because it will not have any torrents in it
|
||||
|
||||
# Configuration for remuxes
|
||||
remuxes:
|
||||
group: gdfg
|
||||
group: def
|
||||
filters:
|
||||
- contains: remux
|
||||
- contains: remux # Specifically target remuxed content
|
||||
|
||||
# Configuration for Dolby Vision content
|
||||
"dolby vision":
|
||||
group: zxc
|
||||
group: random
|
||||
filters:
|
||||
- and:
|
||||
- regex: /\bdovi\b/i
|
||||
- contains: 4k
|
||||
- regex: /\bdovi\b/i # Matches abbreviations of 'dolby vision'
|
||||
- contains: 4k # you can be quite greedy here, dolby vision + 4k!
|
||||
|
||||
# Configuration for children's content
|
||||
kids:
|
||||
group: wqe
|
||||
group: kids
|
||||
filters:
|
||||
- id: XFPQ5UCMUVAEG
|
||||
- or: # you can also group conditions with 'or' which is useful especially inside 'and' conditions
|
||||
- not_contains: xxx # Ensures adult content is excluded
|
||||
- not_contains_strict: trailer # strict vs non-strict is just about case sensitivity; this ensures trailers aren't added
|
||||
- id: XFPQ5UCMUVAEG # Specific inclusion by torrent ID
|
||||
- id: VDRPYNRPQHEXC
|
||||
- id: YELNX3XR5XJQM
|
||||
|
||||
default:
|
||||
group: xcv
|
||||
all:
|
||||
group: default # because movies and shows are in the same group, and shows come first before movies, all torrents that doesn't fall into shows will fall into movies
|
||||
filters:
|
||||
- regex: /.*/
|
||||
|
||||
Reference in New Issue
Block a user