updated regex

pull/467/head
bullmoose20 2 years ago
parent 311f5b313c
commit 532a7e6ddf

@ -80,7 +80,9 @@ overlays:
- Directors-Cut-Dovetail - Directors-Cut-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bDirector|Directors\b' filepath.regex:
- 'edition-(?i)\b(Director|Directors)\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\b(Director|Directors)\b' # Original TRaSH naming
Directors-Cut-Dovetail: Directors-Cut-Dovetail:
template: template:
@ -93,7 +95,9 @@ overlays:
overlay: Directors-Cut overlay: Directors-Cut
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bDirector|Directors\b' filepath.regex:
- 'edition-(?i)\b(Director|Directors)\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\b(Director|Directors)\b' # Original TRaSH naming
Extended-Edition: Extended-Edition:
template: template:
@ -105,7 +109,9 @@ overlays:
- Extended-Edition-Dovetail - Extended-Edition-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bExtended\b' filepath.regex:
- 'edition-(?i)\bExtended\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\bExtended\b' # Original TRaSH naming
Extended-Edition-Dovetail: Extended-Edition-Dovetail:
template: template:
@ -118,7 +124,9 @@ overlays:
overlay: Extended-Edition overlay: Extended-Edition
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bExtended\b' filepath.regex:
- 'edition-(?i)\bExtended\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\bExtended\b' # Original TRaSH naming
Uncut-Edition: Uncut-Edition:
template: template:
@ -130,7 +138,9 @@ overlays:
- Uncut-Edition-Dovetail - Uncut-Edition-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bUncut\b' filepath.regex:
- 'edition-(?i)\bUncut\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\bUncut\b' # Original TRaSH naming
Uncut-Edition-Dovetail: Uncut-Edition-Dovetail:
template: template:
@ -143,7 +153,9 @@ overlays:
overlay: Uncut-Edition overlay: Uncut-Edition
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bUncut\b' filepath.regex:
- 'edition-(?i)\bUncut\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\bUncut\b' # Original TRaSH naming
Unrated-Edition: Unrated-Edition:
template: template:
@ -155,7 +167,9 @@ overlays:
- Unrated-Edition-Dovetail - Unrated-Edition-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bUnrated\b' filepath.regex:
- 'edition-(?i)\bUnrated\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\bUnrated\b' # Original TRaSH naming
Unrated-Edition-Dovetail: Unrated-Edition-Dovetail:
template: template:
@ -168,7 +182,9 @@ overlays:
overlay: Unrated-Edition overlay: Unrated-Edition
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bUnrated\b' filepath.regex:
- 'edition-(?i)\bUnrated\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\bUnrated\b' # Original TRaSH naming
Special-Edition: Special-Edition:
template: template:
@ -180,7 +196,9 @@ overlays:
- Special-Edition-Dovetail - Special-Edition-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bSpecial\b' filepath.regex:
- 'edition-(?i)\bSpecial\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\bSpecial\b' # Original TRaSH naming
Special-Edition-Dovetail: Special-Edition-Dovetail:
template: template:
@ -193,7 +211,9 @@ overlays:
overlay: Special-Edition overlay: Special-Edition
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bSpecial\b' filepath.regex:
- 'edition-(?i)\bSpecial\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\bSpecial\b' # Original TRaSH naming
Final-Cut: Final-Cut:
template: template:
@ -205,7 +225,9 @@ overlays:
- Final-Cut-Dovetail - Final-Cut-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bFinal Cut\b' filepath.regex:
- 'edition-(?i)\bFinal\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\bFinal\b' # Original TRaSH naming
Final-Cut-Dovetail: Final-Cut-Dovetail:
template: template:
@ -218,7 +240,9 @@ overlays:
overlay: Final-Cut overlay: Final-Cut
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bFinal Cut\b' filepath.regex:
- 'edition-(?i)\bFinal\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\bFinal\b' # Original TRaSH naming
IMAX-E: IMAX-E:
template: template:
@ -280,7 +304,9 @@ overlays:
- Remastered-Dovetail - Remastered-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bRemastered\b' filepath.regex:
- 'edition-(?i)\b(Remaster|Remastered|4k Remaster|4k Remastered)\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)(?i)\b(Remaster|Remastered|4k Remaster|4k Remastered)\b' # Original TRaSH naming
Remastered-Dovetail: Remastered-Dovetail:
template: template:
@ -293,7 +319,8 @@ overlays:
overlay: Remastered overlay: Remastered
plex_all: true plex_all: true
filters: filters:
filepath.regex: 'edition-(?i)\bRemastered\b' - 'edition-(?i)\b(Remaster|Remastered|4k Remaster|4k Remastered)\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)(?i)\b(Remaster|Remastered|4k Remaster|4k Remastered)\b' # Original TRaSH naming
Criterion: Criterion:
template: template:
@ -305,7 +332,7 @@ overlays:
plex_all: true plex_all: true
filters: filters:
filepath.regex: filepath.regex:
- "(?i)Criterion" - '(?i)Criterion'
- '(?i)\[CC\]' - '(?i)\[CC\]'
Criterion-Dovetail: Criterion-Dovetail:
@ -320,5 +347,5 @@ overlays:
plex_all: true plex_all: true
filters: filters:
filepath.regex: filepath.regex:
- "(?i)Criterion" - '(?i)Criterion'
- '(?i)\[CC\]' - '(?i)\[CC\]'
Loading…
Cancel
Save