fix config errors

pull/324/head
meisnate12 3 years ago
parent 10193a9770
commit 9b83cee6f9

@ -47,6 +47,7 @@ templates:
AudioCodec: AudioCodec:
optional: optional:
- overlay_level - overlay_level
- <<use_<<slug>>>>
default: default:
overlay: <<overlay_name>> overlay: <<overlay_name>>
horizontal_offset: 0 horizontal_offset: 0

@ -41,6 +41,8 @@ templates:
Resolution: Resolution:
optional: optional:
- overlay_level - overlay_level
- <<use_<<opt1>>>>
- <<use_<<opt2>>>>
default: default:
overlay: <<overlay_name>> overlay: <<overlay_name>>
horizontal_offset: 15 horizontal_offset: 15
@ -48,6 +50,9 @@ templates:
vertical_offset: 15 vertical_offset: 15
vertical_align: top vertical_align: top
collection_level: <<overlay_level>> 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>>
@ -59,10 +64,12 @@ templates:
vertical_align: <<vertical_align>> vertical_align: <<vertical_align>>
4K-DV: 4K-DV:
default: optional:
use_4k: true - use_1
use_dv: true - use_2
allowed_library_types: <<use_4k>>, <<use_dv>> allowed_library_types:
- <<use_1>>
- <<use_2>>
4K-HDR: 4K-HDR:
default: default:
@ -140,9 +147,10 @@ overlays:
4K-DV: 4K-DV:
template: template:
- name: 4K-DV
- name: Resolution - name: Resolution
weight: 120 weight: 120
opt1: 4k
opt2: dv
plex_search: plex_search:
all: all:
resolution.regex: '(?i)2160|4k' resolution.regex: '(?i)2160|4k'
@ -151,9 +159,10 @@ overlays:
4K-HDR: 4K-HDR:
template: template:
- name: 4K-HDR
- name: Resolution - name: Resolution
weight: 110 weight: 110
opt1: 4k
opt2: hdr
plex_search: plex_search:
all: all:
resolution.regex: '(?i)2160|4k' resolution.regex: '(?i)2160|4k'
@ -161,18 +170,19 @@ overlays:
4K: 4K:
template: template:
- name: 4K
- name: Resolution - name: Resolution
weight: 100 weight: 100
opt1: 4k
plex_search: plex_search:
any: any:
resolution.regex: '(?i)2160|4k' resolution.regex: '(?i)2160|4k'
1080P-DV: 1080P-DV:
template: template:
- name: 1080P-DV
- name: Resolution - name: Resolution
weight: 90 weight: 90
opt1: 1080p
opt2: dv
plex_search: plex_search:
all: all:
resolution.regex: '(?i)1080|2k' resolution.regex: '(?i)1080|2k'
@ -181,9 +191,10 @@ overlays:
1080P-HDR: 1080P-HDR:
template: template:
- name: 1080P-HDR
- name: Resolution - name: Resolution
weight: 80 weight: 80
opt1: 1080p
opt2: hdr
plex_search: plex_search:
all: all:
resolution.regex: '(?i)1080|2k' resolution.regex: '(?i)1080|2k'
@ -191,18 +202,19 @@ overlays:
1080P: 1080P:
template: template:
- name: 1080P
- name: Resolution - name: Resolution
weight: 70 weight: 70
opt1: 1080p
plex_search: plex_search:
any: any:
resolution.regex: '(?i)1080|2k' resolution.regex: '(?i)1080|2k'
720P-DV: 720P-DV:
template: template:
- name: 720P-DV
- name: Resolution - name: Resolution
weight: 60 weight: 60
opt1: 720p
opt2: dv
plex_search: plex_search:
all: all:
resolution.regex: '(?i)720|hd' resolution.regex: '(?i)720|hd'
@ -211,9 +223,10 @@ overlays:
720P-HDR: 720P-HDR:
template: template:
- name: 720P-HDR
- name: Resolution - name: Resolution
weight: 50 weight: 50
opt1: 720p
opt2: hdr
plex_search: plex_search:
all: all:
resolution.regex: '(?i)720|hd' resolution.regex: '(?i)720|hd'
@ -221,18 +234,19 @@ overlays:
720P: 720P:
template: template:
- name: 720P
- name: Resolution - name: Resolution
weight: 40 weight: 40
opt1: 720p
plex_search: plex_search:
any: any:
resolution.regex: '(?i)720|hd' resolution.regex: '(?i)720|hd'
480P-DV: 480P-DV:
template: template:
- name: 480P-DV
- name: Resolution - name: Resolution
weight: 30 weight: 30
opt1: 480p
opt2: dv
plex_search: plex_search:
all: all:
resolution.regex: '(?i)480|sd' resolution.regex: '(?i)480|sd'
@ -241,9 +255,10 @@ overlays:
480P-HDR: 480P-HDR:
template: template:
- name: 480P-HDR
- name: Resolution - name: Resolution
weight: 20 weight: 20
opt1: 480p
opt2: hdr
plex_search: plex_search:
all: all:
resolution.regex: '(?i)480|sd' resolution.regex: '(?i)480|sd'
@ -251,27 +266,27 @@ overlays:
480P: 480P:
template: template:
- name: 480P
- name: Resolution - name: Resolution
weight: 10 weight: 10
opt1: 480p
plex_search: plex_search:
any: any:
resolution.regex: '(?i)480|sd' resolution.regex: '(?i)480|sd'
DV: DV:
template: template:
- name: DV
- name: Resolution - name: Resolution
weight: 5 weight: 5
opt1: dv
plex_all: true plex_all: true
filters: filters:
has_dolby_vision: true has_dolby_vision: true
HDR: HDR:
template: template:
- name: HDR
- name: Resolution - name: Resolution
weight: 0 weight: 0
opt1: hdr
plex_search: plex_search:
all: all:
hdr: true hdr: true

@ -35,6 +35,7 @@ templates:
SpecialRelease: SpecialRelease:
optional: optional:
- overlay_level - overlay_level
- <<use_<<slug>>>>
default: default:
overlay: <<overlay_name>> overlay: <<overlay_name>>
horizontal_offset: 15 horizontal_offset: 15

Loading…
Cancel
Save