You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plex-Meta-Manager-Configs/ricoloic/Collection/Movie/Resolution.yml

172 lines
3.2 KiB

templates:
Resolution:
optional:
- overlay_level
- use_<<opt1>>
- use_<<opt2>>
collection_level: <<overlay_level>>
allowed_library_types:
- <<use_<<opt1>>>>
- <<use_<<opt2>>>>
url_poster: https://raw.githubusercontent.com/ricoloic/Kometa-Personal-Config/master/Assets/Movie/Resolution/Poster/<<collection_name>>.png
NoResolution:
optional:
- overlay_level
- use_<<opt1>>
- use_<<opt2>>
default:
horizontal_offset: 15
horizontal_align: left
vertical_offset: 15
vertical_align: top
collection_level: <<overlay_level>>
allowed_library_types:
- <<use_<<opt1>>>>
- <<use_<<opt2>>>>
collections:
4K-DV:
template:
- name: Resolution
weight: 120
opt1: 4k
opt2: dv
plex_search:
all:
resolution.regex: '(?i)2160|4k'
filters:
has_dolby_vision: true
4K-HDR:
template:
- name: Resolution
weight: 110
opt1: 4k
opt2: hdr
plex_search:
all:
resolution.regex: '(?i)2160|4k'
hdr: true
4K:
template:
- name: Resolution
weight: 100
opt1: 4k
plex_search:
any:
resolution.regex: '(?i)2160|4k'
1080P-DV:
template:
- name: Resolution
weight: 90
opt1: 1080p
opt2: dv
plex_search:
all:
resolution.regex: '(?i)1080|2k'
filters:
has_dolby_vision: true
1080P-HDR:
template:
- name: Resolution
weight: 80
opt1: 1080p
opt2: hdr
plex_search:
all:
resolution.regex: '(?i)1080|2k'
hdr: true
1080P:
template:
- name: Resolution
weight: 70
opt1: 1080p
plex_search:
any:
resolution.regex: '(?i)1080|2k'
720P-DV:
template:
- name: Resolution
weight: 60
opt1: 720p
opt2: dv
plex_search:
all:
resolution.regex: '(?i)720|hd'
filters:
has_dolby_vision: true
720P-HDR:
template:
- name: Resolution
weight: 50
opt1: 720p
opt2: hdr
plex_search:
all:
resolution.regex: '(?i)720|hd'
hdr: true
720P:
template:
- name: Resolution
weight: 40
opt1: 720p
plex_search:
any:
resolution.regex: '(?i)720|hd'
480P-DV:
template:
- name: Resolution
weight: 30
opt1: 480p
opt2: dv
plex_search:
all:
resolution.regex: '(?i)480|sd'
filters:
has_dolby_vision: true
480P-HDR:
template:
- name: Resolution
weight: 20
opt1: 480p
opt2: hdr
plex_search:
all:
resolution.regex: '(?i)480|sd'
hdr: true
480P:
template:
- name: Resolution
weight: 10
opt1: 480p
plex_search:
any:
resolution.regex: '(?i)480|sd'
DV:
template:
- name: Resolution
weight: 5
opt1: dv
plex_all: true
filters:
has_dolby_vision: true
HDR:
template:
- name: Resolution
weight: 1
opt1: hdr
plex_search:
all:
hdr: true