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

73 lines
2.1 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>>
group: quality
horizontal_offset: 15
horizontal_align: left
vertical_offset: 30
vertical_align: bottom
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
value: '(?i)\[Remux'
- key: bluray
value: '(?i)\[Blu[ ._-]?ray|\[BD|\[BR|\[HD[ ._-]?DVD'
- key: web
value: '(?i)Web[ ._-]?(dl|rip)'
- key: hdtv
value: '(?i)HD[ ._-]?TV'
- key: dvd
value: '(?i)\[DVD'
- key: sdtv
value: '(?i)SD[ ._-]?TV'
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]