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/space-chef/scripts/overlays/template_overlays.yml

139 lines
4.8 KiB

# ________ ________ __ __ _______ __ ______ ________ ________ ______
# / |/ |/ \ / |/ \ / | / \ / |/ | / \
# $$$$$$$$/ $$$$$$$$/ $$ \ /$$ |$$$$$$$ |$$ | /$$$$$$ |$$$$$$$$/ $$$$$$$$/ /$$$$$$ |
# $$ | $$ |__ $$$ \ /$$$ |$$ |__$$ |$$ | $$ |__$$ | $$ | $$ |__ $$ \__$$/
# $$ | $$ | $$$$ /$$$$ |$$ $$/ $$ | $$ $$ | $$ | $$ | $$ \
# $$ | $$$$$/ $$ $$ $$/$$ |$$$$$$$/ $$ | $$$$$$$$ | $$ | $$$$$/ $$$$$$ |
# $$ | $$ |_____ $$ |$$$/ $$ |$$ | $$ |_____ $$ | $$ | $$ | $$ |_____ / \__$$ |
# $$ | $$ |$$ | $/ $$ |$$ | $$ |$$ | $$ | $$ | $$ |$$ $$/
# $$/ $$$$$$$$/ $$/ $$/ $$/ $$$$$$$$/ $$/ $$/ $$/ $$$$$$$$/ $$$$$$/
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'
optional:
- search
- use_<<key>>
- use_edition
- allowed_libraries
run_definition:
- <<use_<<key>>>>
- <<use_edition>>
- <<allowed_libraries>>
ignore_blank_results: true
plex_all: true
filters:
- edition: <<search>>
- filepath.regex:
- <<regex1>>
- <<regex2>>
- '(?i)edition-\b(4k )?<<search>>(s|ed)?\b'
- '(?<=[0-9]{4}[)}>\]]\s)\b(4k )?<<search>>(s|ed)?\b'
standard:
default:
font: fonts/Inter-Medium.ttf
font_size: 55
font_color: "#FFFFFF"
back_radius: 30
weight_<<key>>: <<weight>>
file_<<key>>: <<file>>
url_<<key>>: <<url>>
git_<<key>>: <<git>>
repo_<<key>>: <<repo>>
pmm_<<key>>: <<pmm>>
font_<<key>>: <<font>>
font_size_<<key>>: <<font_size>>
font_color_<<key>>: <<font_color>>
font_style_<<key>>: <<font_style>>
final_horizontal_offset: <<horizontal_offset>>
horizontal_offset_<<key>>: <<final_horizontal_offset>>
horizontal_align_<<key>>: <<horizontal_align>>
final_vertical_offset: <<vertical_offset>>
vertical_offset_<<key>>: <<final_vertical_offset>>
vertical_align_<<key>>: <<vertical_align>>
stroke_width_<<key>>: <<stroke_width>>
stroke_color_<<key>>: <<stroke_color>>
back_color_<<key>>: <<back_color>>
back_width_<<key>>: <<back_width>>
back_height_<<key>>: <<back_height>>
back_align_<<key>>: <<back_align>>
back_radius_<<key>>: <<back_radius>>
back_padding_<<key>>: <<back_padding>>
back_line_color_<<key>>: <<back_line_color>>
back_line_width_<<key>>: <<back_line_width>>
final_name: <<overlay_name>>
optional:
- overlay_level
- use_<<key>>
- use_<<alt>>
- allowed_libraries
- suppress_overlays
- file
- url
- git
- repo
- pmm
- group
- queue
- weight
- font_style
- horizontal_offset
- horizontal_align
- vertical_offset
- vertical_align
- stroke_width
- stroke_color
- back_color
- back_width
- back_height
- back_align
- back_padding
- back_line_color
- back_line_width
- addon_offset
- addon_position
overlay_level: <<overlay_level>>
run_definition:
- <<use_<<key>>>>
- <<use_<<alt>>>>
- <<allowed_libraries>>
suppress_overlays: <<suppress_overlays>>
overlay:
name: <<final_name>>
file: <<file_<<key>>>>
url: <<url_<<key>>>>
git: <<git_<<key>>>>
repo: <<repo_<<key>>>>
pmm: <<pmm_<<key>>>>
group: <<group>>
queue: <<queue>>
weight: <<weight_<<key>>>>
horizontal_offset: <<horizontal_offset_<<key>>>>
horizontal_align: <<horizontal_align_<<key>>>>
vertical_offset: <<vertical_offset_<<key>>>>
vertical_align: <<vertical_align_<<key>>>>
font: <<font_<<key>>>>
font_style: <<font_style_<<key>>>>
font_size: <<font_size_<<key>>>>
font_color: <<font_color_<<key>>>>
stroke_width: <<stroke_width_<<key>>>>
stroke_color: <<stroke_color_<<key>>>>
back_color: <<back_color_<<key>>>>
back_width: <<back_width_<<key>>>>
back_height: <<back_height_<<key>>>>
back_align: <<back_align_<<key>>>>
back_padding: <<back_padding_<<key>>>>
back_radius: <<back_radius_<<key>>>>
back_line_color: <<back_line_color_<<key>>>>
back_line_width: <<back_line_width_<<key>>>>
addon_offset: <<addon_offset>>
addon_position: <<addon_position>>