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

88 lines
2.5 KiB
YAML
Raw Normal View History

##############################################################################
# Video Format 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/video_format.html #
##############################################################################
external_templates:
pmm: templates
template_variables:
default:
text_<<key>>: <<overlay_name>>
horizontal_align: left
vertical_align: bottom
conditionals:
vertical_offset:
default: 15
conditions:
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
group: quality
2022-10-17 20:55:42 +00:00
back_color: "#00000099"
back_width: 305
back_height: 105
final_name: text(<<text_<<key>>>>)
2022-09-27 06:19:29 +00:00
templates:
video_format:
2022-11-09 20:12:47 +00:00
default:
regex_<<key>>: <<regex>>
conditionals:
2022-11-09 20:12:47 +00:00
regex:
conditions:
- key: remux
2022-12-12 22:00:30 +00:00
value: '(?i)\bremux\b'
- key: bluray
2022-12-12 22:00:30 +00:00
value: '(?i)\b(blu[ ._-]?ray|bd|br|hd[ ._-]?dvd)\b'
- key: web
2022-12-12 22:00:30 +00:00
value: '(?i)web[ ._-]?(dl|rip)'
- key: hdtv
2022-12-12 22:00:30 +00:00
value: '(?i)\bhd[ ._-]?tv\b'
- key: dvd
2022-12-26 17:40:16 +00:00
value: '(?i)\bdvd\b'
- key: sdtv
2022-12-12 22:00:30 +00:00
value: '(?i)\bsd[ ._-]?tv\b'
2022-09-27 06:19:29 +00:00
ignore_blank_results: true
2022-10-01 07:45:58 +00:00
plex_all: true
filters:
2022-11-09 20:12:47 +00:00
filepath.regex: <<regex_<<key>>>>
2022-09-27 06:19:29 +00:00
overlays:
REMUX:
variables: {key: remux, weight: 60}
template: [name: standard, name: video_format]
2022-09-27 06:19:29 +00:00
BLU-RAY:
variables: {key: bluray, weight: 50}
template: [name: standard, name: video_format]
2022-09-27 06:19:29 +00:00
WEB:
variables: {key: web, weight: 40}
template: [name: standard, name: video_format]
2022-09-27 06:19:29 +00:00
HDTV:
variables: {key: hdtv, weight: 30}
template: [name: standard, name: video_format]
2022-09-27 06:19:29 +00:00
DVD:
variables: {key: dvd, weight: 20}
template: [name: standard, name: video_format]
2022-09-27 06:19:29 +00:00
SDTV:
variables: {key: sdtv, weight: 10}
template: [name: standard, name: video_format]