use box images with use_<<resolution>>: false and new TRaSH naming

pull/467/head
bullmoose20 2 years ago
parent e1fef64b5d
commit 20a67948d9

@ -56,30 +56,17 @@ templates:
allowed_library_types: allowed_library_types:
- <<use_<<opt1>>>> - <<use_<<opt1>>>>
- <<use_<<opt2>>>> - <<use_<<opt2>>>>
overlay: suppress_overlays:
name: <<overlay_name>> - Directors-Cut
git: PMM/overlays/images/<<overlay>> - Extended-Edition
group: res - Uncut-Edition
weight: <<weight>> - Unrated-Edition
horizontal_offset: <<horizontal_offset>> - Special-Edition
horizontal_align: <<horizontal_align>> - Final-Cut
vertical_offset: <<vertical_offset>> - IMAX-E
vertical_align: <<vertical_align>> - IMAX
NoResolution: - Remastered
optional: - Criterion
- overlay_level
- use_<<opt1>>
- use_<<opt2>>
default:
overlay: <<overlay_name>>
horizontal_offset: 15
horizontal_align: left
vertical_offset: 15
vertical_align: top
collection_level: <<overlay_level>>
allowed_library_types:
- <<use_<<opt1>>>>
- <<use_<<opt2>>>>
overlay: overlay:
name: <<overlay_name>> name: <<overlay_name>>
git: PMM/overlays/images/<<overlay>> git: PMM/overlays/images/<<overlay>>

@ -44,23 +44,25 @@
############################################################# #############################################################
templates: templates:
SpecialRelease: Edition:
optional: optional:
- overlay_level - overlay_level
- use_<<slug>> - use_<<slug>>
default: default:
overlay: <<overlay_name>> overlay: <<overlay_name>>
extra: '-Box'
horizontal_offset: 15 horizontal_offset: 15
horizontal_align: left horizontal_align: left
vertical_offset: 99 vertical_offset: 15
vertical_align: top vertical_align: top
group: SpecialReleaseGroup
collection_level: <<overlay_level>> collection_level: <<overlay_level>>
allowed_library_types: <<use_<<slug>>>> allowed_library_types: <<use_<<slug>>>>
ignore_blank_results: true ignore_blank_results: true
overlay: overlay:
name: <<overlay_name>> name: <<overlay>><<extra>>
git: PMM/overlays/images/<<overlay>> git: PMM/overlays/images/<<overlay>><<extra>>
group: special group: <<group>>
weight: <<weight>> weight: <<weight>>
horizontal_offset: <<horizontal_offset>> horizontal_offset: <<horizontal_offset>>
horizontal_align: <<horizontal_align>> horizontal_align: <<horizontal_align>>
@ -68,96 +70,255 @@ templates:
vertical_align: <<vertical_align>> vertical_align: <<vertical_align>>
overlays: overlays:
Directors-Cut: Directors-Cut:
template: template:
- name: SpecialRelease - name: Edition
weight: 90 weight: 100
slug: directorscut slug: directorscut
overlay: Directors-Cut
suppress_overlays:
- Directors-Cut-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: '(?<=[0-9]{4}[)}>\]]\s)\bDirector|Directors\b' filepath.regex: 'edition-(?i)\bDirector|Directors\b'
Directors-Cut-Dovetail:
template:
- name: Edition
weight: 100
slug: directorscut
extra: ''
vertical_offset: 99
group: Dovetail
overlay: Directors-Cut
plex_all: true
filters:
filepath.regex: 'edition-(?i)\bDirector|Directors\b'
Extended-Edition: Extended-Edition:
template: template:
- name: SpecialRelease - name: Edition
weight: 80 weight: 90
slug: extended slug: extended
overlay: Extended-Edition
suppress_overlays:
- Extended-Edition-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: '(?<=[0-9]{4}[)}>\]]\s)\bExtended\b' filepath.regex: 'edition-(?i)\bExtended\b'
Extended-Edition-Dovetail:
template:
- name: Edition
weight: 90
slug: extended
extra: ''
vertical_offset: 99
group: Dovetail
overlay: Extended-Edition
plex_all: true
filters:
filepath.regex: 'edition-(?i)\bExtended\b'
Uncut-Edition: Uncut-Edition:
template: template:
- name: SpecialRelease - name: Edition
weight: 70 weight: 80
slug: uncut
overlay: Uncut-Edition
suppress_overlays:
- Uncut-Edition-Dovetail
plex_all: true
filters:
filepath.regex: 'edition-(?i)\bUncut\b'
Uncut-Edition-Dovetail:
template:
- name: Edition
weight: 80
slug: uncut slug: uncut
extra: ''
vertical_offset: 99
group: Dovetail
overlay: Uncut-Edition
plex_all: true plex_all: true
filters: filters:
filepath.regex: '(?<=[0-9]{4}[)}>\]]\s)\bUncut\b' filepath.regex: 'edition-(?i)\bUncut\b'
Unrated-Edition: Unrated-Edition:
template: template:
- name: SpecialRelease - name: Edition
weight: 60 weight: 70
slug: unrated slug: unrated
overlay: Unrated-Edition
suppress_overlays:
- Unrated-Edition-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: '(?<=[0-9]{4}[)}>\]]\s)\bUnrated\b' filepath.regex: 'edition-(?i)\bUnrated\b'
Unrated-Edition-Dovetail:
template:
- name: Edition
weight: 70
slug: unrated
extra: ''
vertical_offset: 99
group: Dovetail
overlay: Unrated-Edition
plex_all: true
filters:
filepath.regex: 'edition-(?i)\bUnrated\b'
Special-Edition: Special-Edition:
template: template:
- name: SpecialRelease - name: Edition
weight: 50 weight: 60
slug: special slug: special
overlay: Special-Edition
suppress_overlays:
- Special-Edition-Dovetail
plex_all: true
filters:
filepath.regex: 'edition-(?i)\bSpecial\b'
Special-Edition-Dovetail:
template:
- name: Edition
weight: 60
slug: special
extra: ''
vertical_offset: 99
group: Dovetail
overlay: Special-Edition
plex_all: true
filters:
filepath.regex: 'edition-(?i)\bSpecial\b'
Final-Cut:
template:
- name: Edition
weight: 50
slug: finalcut
overlay: Final-Cut
suppress_overlays:
- Final-Cut-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: '(?<=[0-9]{4}[)}>\]]\s)\bSpecial\b' filepath.regex: 'edition-(?i)\bFinal Cut\b'
Final-Cut-Dovetail:
template:
- name: Edition
weight: 50
slug: finalcut
extra: ''
vertical_offset: 99
group: Dovetail
overlay: Final-Cut
plex_all: true
filters:
filepath.regex: 'edition-(?i)\bFinal Cut\b'
IMAX-E: IMAX-E:
template: template:
- name: SpecialRelease - name: Edition
weight: 40 weight: 40
slug: enhanced slug: enhanced
overlay: IMAX-E
suppress_overlays:
- IMAX-E-Dovetail
plex_all: true
filters:
filepath.regex: '(?i)\bIMAX Enhanced\b|^(?=.*(DSNP|Disney\+|CORE(?=[ ._-]web[ ._-]?(dl|rip)\b)|\bBC(?=[ ._-]web[ ._-]?(dl|rip)\b)|IMAX[- .]Enhanced)\b)(?=.*\b(IMAX|IMAX[- .]Enhanced)\b).*'
IMAX-E-Dovetail:
template:
- name: Edition
weight: 40
slug: enhanced
extra: ''
vertical_offset: 99
group: Dovetail
overlay: IMAX-E
plex_all: true plex_all: true
filters: filters:
filepath.regex: '(?i)\bIMAX Enhanced\b|^(?=.*(DSNP|Disney\+|CORE(?=[ ._-]web[ ._-]?(dl|rip)\b)|\bBC(?=[ ._-]web[ ._-]?(dl|rip)\b)|IMAX[- .]Enhanced)\b)(?=.*\b(IMAX|IMAX[- .]Enhanced)\b).*' filepath.regex: '(?i)\bIMAX Enhanced\b|^(?=.*(DSNP|Disney\+|CORE(?=[ ._-]web[ ._-]?(dl|rip)\b)|\bBC(?=[ ._-]web[ ._-]?(dl|rip)\b)|IMAX[- .]Enhanced)\b)(?=.*\b(IMAX|IMAX[- .]Enhanced)\b).*'
IMAX: IMAX:
template: template:
- name: SpecialRelease - name: Edition
weight: 30 weight: 30
slug: imax slug: imax
overlay: IMAX
suppress_overlays:
- IMAX-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: '(?i)\bIMAX\b' filepath.regex: '(?i)\bIMAX\b'
Criterion: IMAX-Dovetail:
template:
- name: Edition
weight: 30
slug: imax
extra: ''
vertical_offset: 99
group: Dovetail
overlay: IMAX
plex_all: true
filters:
filepath.regex: '(?i)\bIMAX\b'
Remastered:
template: template:
- name: SpecialRelease - name: Edition
weight: 20 weight: 20
slug: criterion slug: remastered
overlay: Remastered
suppress_overlays:
- Remastered-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: filepath.regex: 'edition-(?i)\bRemastered\b'
- '(?i)Criterion'
- '(?i)\[CC\]'
Final-Cut: Remastered-Dovetail:
template: template:
- name: SpecialRelease - name: Edition
weight: 15 weight: 20
slug: finalcut slug: remastered
extra: ''
vertical_offset: 99
group: Dovetail
overlay: Remastered
plex_all: true plex_all: true
filters: filters:
filepath.regex: '(?<=[0-9]{4}[)}>\]]\s)\bFinal Cut\b' filepath.regex: 'edition-(?i)\bRemastered\b'
Remastered: Criterion:
template: template:
- name: SpecialRelease - name: Edition
weight: 10 weight: 10
slug: remastered slug: criterion
suppress_overlays:
- Criterion-Dovetail
plex_all: true plex_all: true
filters: filters:
filepath.regex: '(?<=[0-9]{4}[)}>\]]\s)\bRemaster\b' filepath.regex:
- "(?i)Criterion"
- '(?i)\[CC\]'
Criterion-Dovetail:
template:
- name: Edition
weight: 10
slug: criterion
extra: ''
vertical_offset: 99
group: Dovetail
overlay: Criterion
plex_all: true
filters:
filepath.regex:
- "(?i)Criterion"
- '(?i)\[CC\]'
Loading…
Cancel
Save