Plex-Meta-Manager/defaults/overlays/resolution.yml

413 lines
16 KiB
YAML
Raw Normal View History

##############################################################################
# Resolution/Edition Overlay #
# Created by Yozora, Bullmoose20, & Sohjiro #
# Credit to Magic815 for base images #
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
# https://metamanager.wiki/en/latest/defaults/overlays/resolution.html #
##############################################################################
2022-09-27 06:19:29 +00:00
external_templates:
pmm: templates
template_variables:
2022-09-27 06:19:29 +00:00
conditionals:
2022-09-27 17:47:49 +00:00
suppress_overlays:
default: <<overlay_name>>-Dovetail
2022-09-27 06:19:29 +00:00
conditions:
- type: edition_dovetail
value:
- 4K-DV
- 4K-HDR
- 4K
- 1080P-DV
- 1080P-HDR
- 1080P
- 720P-DV
- 720P-HDR
- 720P
- 576P-DV
- 576P-HDR
- 576P
- 480P-DV
- 480P-HDR
- 480P
- DV
- HDR
- type: resolution_dovetail
2022-09-27 17:47:49 +00:00
value:
- Directors-Cut
- Extended-Edition
- Uncut-Edition
- Unrated-Edition
- Special-Edition
- Final-Cut
- Anniversary-Edition
- Collectors-Edition
- International-Cut
- Theatrical-Cut
- Ultimate-Cut
- IMAX-E
- IMAX
- Remastered
- Criterion
2023-02-06 08:39:22 +00:00
- Coda
- Diamond
- Platinum
2023-01-24 06:35:39 +00:00
final_horizontal_offset:
default: <<horizontal_offset>>
2022-10-17 20:55:42 +00:00
conditions:
- type: resolution_dovetail
2023-01-24 06:35:39 +00:00
value: <<horizontal_offset+30>>
2023-01-24 07:04:00 +00:00
final_vertical_offset:
2023-01-24 06:35:39 +00:00
default: <<vertical_offset>>
conditions:
- type: edition_dovetail
2023-01-24 06:35:39 +00:00
value: <<vertical_offset+64>>
2022-10-17 20:55:42 +00:00
- type: resolution_dovetail
2023-01-24 06:35:39 +00:00
value: <<vertical_offset+30>>
back_width:
conditions:
2022-10-17 20:55:42 +00:00
- type: [edition, resolution, edition_dovetail]
value: 305
2022-10-17 20:55:42 +00:00
- type: resolution_dovetail
value: 245
back_height:
conditions:
- type: [edition, resolution]
value: 105
2022-10-17 20:55:42 +00:00
- type: [resolution_dovetail, edition_dovetail]
value: 129
back_color:
conditions:
- type: [edition, resolution, resolution_dovetail]
value: "#00000099"
- type: edition_dovetail
value: "#00000000"
back_padding:
conditions:
- type: resolution_dovetail
2022-10-17 20:55:42 +00:00
value: 30
back_align:
conditions:
- type: resolution_dovetail
value: top
pmm:
conditions:
- type: [edition, edition_dovetail]
2023-02-21 20:30:26 +00:00
file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: edition/<<key>>
- type: [resolution, resolution_dovetail]
2023-02-21 20:30:26 +00:00
file.exists: false
url.exists: false
git.exists: false
repo.exists: false
value: resolution/<<key>><<alt>>
group:
conditions:
- type: [edition, edition_dovetail]
value: edition
- type: [resolution, resolution_dovetail]
value: resolution
2023-01-24 06:35:39 +00:00
horizontal_offset: 15
vertical_offset: 15
horizontal_align: left
vertical_align: top
templates:
edition:
conditionals:
regex1:
conditions:
- key: enhanced
value: '(?i)\bIMAX Enhanced\b|^(?=.*(DSNP|Disney\+|CORE(?=[ ._-]web[ ._-]?(dl|rip)\b)|\bBC(?=[ ._-]web[ ._-]?(dl|rip)\b)|IMAX[- .]Enhanced)\b)(?=.*\b(IMAX|IMAX[- .]Enhanced)\b).*'
- key: imax
value: '(?i)\bIMAX\b'
- key: criterion
value: '(?i)Criterion'
regex2:
conditions:
- key: criterion
value: '(?i)\[CC\]'
2022-09-27 06:19:29 +00:00
optional:
- search
- use_<<key>>
- use_edition
- allowed_libraries
allowed_library_types:
- <<use_<<key>>>>
- <<use_edition>>
- <<allowed_libraries>>
2022-09-27 06:19:29 +00:00
ignore_blank_results: true
plex_all: true
filters:
- edition: <<search>>
- filepath.regex:
- <<regex1>>
- <<regex2>>
2022-12-14 21:25:14 +00:00
- '(?i)edition-\b(4k )?<<search>>(s|ed)?\b' # New TRaSH naming
- '(?<=[0-9]{4}[)}>\]]\s)\b(4k )?<<search>>(s|ed)?\b' # Original TRaSH naming
resolution:
conditionals:
res:
conditions:
- key: 4k
value: "(?i)2160|4k"
- key: 1080p
value: "(?i)1080|2k"
- key: 720p
value: "(?i)720|hd"
- key: 576p
value: "(?i)576"
- key: 480p
value: "(?i)480|sd"
dolby_vision:
conditions:
- alt: dv
value: true
hdr:
conditions:
- alt: hdr
value: true
optional:
- all
- use_<<key>>
2023-01-24 06:35:39 +00:00
- use_<<key>>_<<alt>>
- use_<<alt>>
- use_resolution
- allowed_libraries
2022-09-27 06:19:29 +00:00
allowed_library_types:
- <<use_<<key>>>>
2022-09-27 06:19:29 +00:00
- <<use_<<alt>>>>
2023-01-24 06:35:39 +00:00
- <<use_<<key>>_<<alt>>>>
- <<allowed_libraries>>
- <<use_resolution>>
ignore_blank_results: true
2022-09-27 06:19:29 +00:00
plex_all: <<all>>
plex_search:
all:
2022-10-17 20:55:42 +00:00
any:
resolution.regex: <<res>>
2022-09-27 06:19:29 +00:00
hdr: <<hdr>>
filters:
has_dolby_vision: <<dolby_vision>>
overlays:
4K-DV-Dovetail:
variables: {key: 4k, alt: dv, weight: 150, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
4K-HDR-Dovetail:
variables: {key: 4k, alt: hdr, weight: 140, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
4K-Dovetail:
variables: {key: 4k, alt: "", weight: 130, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
1080P-DV-Dovetail:
variables: {key: 1080p, alt: dv, weight: 120, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
1080P-HDR-Dovetail:
variables: {key: 1080p, alt: hdr, weight: 110, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
1080P-Dovetail:
variables: {key: 1080p, alt: "", weight: 100, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
720P-DV-Dovetail:
variables: {key: 720p, alt: dv, weight: 90, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
720P-HDR-Dovetail:
variables: {key: 720p, alt: hdr, weight: 80, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
720P-Dovetail:
variables: {key: 720p, alt: "", weight: 70, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
576P-DV-Dovetail:
variables: {key: 576p, alt: dv, weight: 60, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
576P-HDR-Dovetail:
variables: {key: 576p, alt: hdr, weight: 50, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
576P-Dovetail:
variables: {key: 576p, alt: "", weight: 40, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
480P-DV-Dovetail:
variables: {key: 480p, alt: dv, weight: 30, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
480P-HDR-Dovetail:
variables: {key: 480p, alt: hdr, weight: 20, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
480P-Dovetail:
variables: {key: 480p, alt: "", weight: 10, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
DV-Dovetail:
variables: {key: "", alt: dv, weight: 5, type: resolution_dovetail, all: true, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
2022-09-27 06:19:29 +00:00
HDR-Dovetail:
variables: {key: "", alt: hdr, weight: 1, type: resolution_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
Directors-Cut-Dovetail:
variables: {key: directorscut, weight: 150, search: Director, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Extended-Edition-Dovetail:
variables: {key: extended, weight: 140, search: Extend, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Uncut-Edition-Dovetail:
variables: {key: uncut, weight: 130, search: Uncut, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Unrated-Edition-Dovetail:
variables: {key: unrated, weight: 120, search: Unrat, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Special-Edition-Dovetail:
variables: {key: special, weight: 110, search: Special, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Final-Cut-Dovetail:
variables: {key: finalcut, weight: 100, search: Final, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Anniversary-Edition-Dovetail:
variables: {key: anniversary, weight: 90, search: Anniversary, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Collectors-Edition-Dovetail:
variables: {key: collector, weight: 80, search: Collector, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
International-Cut-Dovetail:
variables: {key: international, weight: 70, search: International, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Theatrical-Cut-Dovetail:
variables: {key: theatrical, weight: 60, search: Theatrical, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Ultimate-Cut-Dovetail:
variables: {key: ultimate, weight: 50, search: Ultimate, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
IMAX-E-Dovetail:
variables: {key: enhanced, weight: 40, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
IMAX-Dovetail:
variables: {key: imax, weight: 30, search: Imax, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Remastered-Dovetail:
variables: {key: remastered, weight: 20, search: Remaster, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Criterion-Dovetail:
2022-10-17 20:55:42 +00:00
variables: {key: criterion, weight: 10, search: Criterion, type: edition_dovetail, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
2023-02-06 08:39:22 +00:00
Coda-Dovetail:
2023-02-08 16:17:18 +00:00
variables: {key: codacut, weight: 9, search: Coda, type: edition_dovetail, allowed_libraries: movie}
2023-02-06 08:39:22 +00:00
template: [name: edition, name: standard]
Diamond-Dovetail:
2023-02-08 16:17:18 +00:00
variables: {key: diamond, weight: 8, search: Diamond, type: edition_dovetail, allowed_libraries: movie}
2023-02-06 08:42:36 +00:00
template: [name: edition, name: standard]
2023-02-06 08:39:22 +00:00
Platinum-Dovetail:
2023-02-08 16:17:18 +00:00
variables: {key: platinum, weight: 7, search: Platinum, type: edition_dovetail, allowed_libraries: movie}
2023-02-06 08:39:22 +00:00
template: [name: edition, name: standard]
4K-DV:
variables: {key: 4k, alt: dv, weight: 150, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
4K-HDR:
variables: {key: 4k, alt: hdr, weight: 140, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
4K:
variables: {key: 4k, alt: "", weight: 130, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
1080P-DV:
variables: {key: 1080p, alt: dv, weight: 120, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
1080P-HDR:
variables: {key: 1080p, alt: hdr, weight: 110, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
1080P:
variables: {key: 1080p, alt: "", weight: 100, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
720P-DV:
variables: {key: 720p, alt: dv, weight: 90, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
720P-HDR:
variables: {key: 720p, alt: hdr, weight: 80, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
720P:
variables: {key: 720p, alt: "", weight: 70, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
576P-DV:
variables: {key: 576p, alt: dv, weight: 60, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
576P-HDR:
variables: {key: 576p, alt: hdr, weight: 50, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
576P:
variables: {key: 576p, alt: "", weight: 40, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
480P-DV:
variables: {key: 480p, alt: dv, weight: 30, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
480P-HDR:
variables: {key: 480p, alt: hdr, weight: 20, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
480P:
variables: {key: 480p, alt: "", weight: 10, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
DV:
variables: {key: "", alt: dv, weight: 5, type: resolution, all: true}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
HDR:
variables: {key: "", alt: hdr, weight: 1, type: resolution}
2022-11-09 20:12:47 +00:00
template: [name: resolution, name: standard]
Directors-Cut:
variables: {key: directorscut, weight: 150, search: Director, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Extended-Edition:
variables: {key: extended, weight: 140, search: Extend, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Uncut-Edition:
variables: {key: uncut, weight: 130, search: Uncut, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Unrated-Edition:
variables: {key: unrated, weight: 120, search: Unrat, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Special-Edition:
variables: {key: special, weight: 110, search: Special, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Final-Cut:
variables: {key: finalcut, weight: 100, search: Final, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Anniversary-Edition:
variables: {key: anniversary, weight: 90, search: Anniversary, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Collectors-Edition:
variables: {key: collector, weight: 80, search: Collector, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
International-Cut:
variables: {key: international, weight: 70, search: International, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Theatrical-Cut:
variables: {key: theatrical, weight: 60, search: Theatrical, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Ultimate-Cut:
variables: {key: ultimate, weight: 50, search: Ultimate, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
IMAX-E:
variables: {key: enhanced, weight: 40, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
IMAX:
variables: {key: imax, weight: 30, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Remastered:
variables: {key: remastered, weight: 20, search: Remaster, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
Criterion:
2022-10-17 20:55:42 +00:00
variables: {key: criterion, weight: 10, search: Criterion, type: edition, allowed_libraries: movie}
2022-11-09 20:12:47 +00:00
template: [name: edition, name: standard]
2023-02-06 08:39:22 +00:00
Coda:
2023-02-08 16:17:18 +00:00
variables: {key: codacut, weight: 9, search: Coda, type: edition_dovetail, allowed_libraries: movie}
2023-02-06 08:39:22 +00:00
template: [name: edition, name: standard]
Diamond:
2023-02-08 16:17:18 +00:00
variables: {key: diamond, weight: 8, search: Diamond, type: edition_dovetail, allowed_libraries: movie}
2023-02-06 08:39:22 +00:00
template: [name: edition, name: standard]
Platinum:
2023-02-08 16:17:18 +00:00
variables: {key: platinum, weight: 7, search: Platinum, type: edition_dovetail, allowed_libraries: movie}
2023-02-06 08:39:22 +00:00
template: [name: edition, name: standard]