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/PMM/overlays/video_format.yml

136 lines
4.1 KiB

#############################################################
# Video Format Overlays #
# Created by Yozora, Bullmoose20, & Sohjiro #
# Credit to Magic815 for base images #
#############################################################
# Designed for TRaSH Guides filename naming scheme #
# https://trash-guides.info/ #
# #
# Call this from your config.yml (Movie or Show): #
# If nothing is specified these are the defaults #
# #
# overlay_path: #
# - git: PMM/overlays/video_format #
# template_variables: #
# # Set episode or season to overlay #
# overlay_level: #
# # Set the horizontal offset for the overlay #
# horizontal_offset: 15 #
# # Set the horizontal align for the overlay #
# horizontal_align: left #
# # Set the vertical offset for the overlay #
# vertical_offset: 15 #
# # Set the vertical align for the overlay #
# vertical_align: bottom #
# #
# # Use the Remux overlay #
# Remux: true #
# # Use the Blu-Ray overlay #
# Blu-Ray: true #
# # Use the WEB overlay #
# WEB: true #
# # Use the HDTV overlay #
# HDTV: true #
# # Use the DVD overlay #
# DVD: true #
#############################################################
templates:
VideoFormat:
optional:
- overlay_level
default:
overlay: <<overlay_name>>
horizontal_offset: 15
horizontal_align: left
vertical_offset: 15
vertical_align: bottom
collection_level: <<overlay_level>>
overlay:
name: text(<<overlay_name>>)
group: quality
weight: <<weight>>
horizontal_offset: <<horizontal_offset>>
horizontal_align: <<horizontal_align>>
vertical_offset: <<vertical_offset>>
vertical_align: <<vertical_align>>
font: fonts/Inter-ExtraBold.ttf
font_size: 55
font_color: "#FFFFFF"
back_color: "#00000099"
back_radius: 30
back_width: 265
back_height: 85
Remux:
default:
Remux: true
allowed_library_types: <<Remux>>
Blu-Ray:
default:
Blu-Ray: true
allowed_library_types: <<Blu-Ray>>
WEB:
default:
WEB: true
allowed_library_types: <<WEB>>
HDTV:
default:
HDTV: true
allowed_library_types: <<HDTV>>
DVD:
default:
DVD: true
allowed_library_types: <<DVD>>
overlays:
Remux:
template:
- name: VideoFormat
weight: 50
- name: Remux
plex_all: true
filters:
filepath.regex: '(?i)\[Remux'
Blu-Ray:
template:
- name: VideoFormat
weight: 40
- name: Blu-Ray
plex_all: true
filters:
filepath.regex: '(?i)\[Blu[ ._-]?ray|\[BD|\[BR|\[HD[ ._-]?DVD'
WEB:
template:
- name: VideoFormat
weight: 30
- name: WEB
plex_all: true
filters:
filepath.regex: '(?i)Web[ ._-]?(dl|rip)'
HDTV:
template:
- name: VideoFormat
weight: 20
- name: HDTV
plex_all: true
filters:
filepath.regex: '(?i)HD[ ._-]?TV'
DVD:
template:
- name: VideoFormat
weight: 10
- name: DVD
plex_all: true
filters:
filepath.regex: '(?i)\[DVD'