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

113 lines
4.8 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: 30 #
# # Set the vertical align for the overlay #
# vertical_align: bottom #
# # Set the font for the overlay #
# font: fonts/Inter-Medium.ttf #
# # Set the font size for the overlay #
# font_size: 55 #
# # Set the font color for the overlay #
# font_color: "#FFFFFF" #
# # Set the back color for the overlay #
# back_color: "#00000099" #
# # Set the back radius for the overlay #
# back_radius: 30 #
# # Set the back width for the overlay #
# back_width: 305 #
# # Set the back height for the overlay #
# back_height: 105 #
# #
# # Use the Remux overlay #
# use_remux: true #
# # Use the Blu-Ray overlay #
# use_bluray: true #
# # Use the WEB overlay #
# use_web: true #
# # Use the HDTV overlay #
# use_hdtv: true #
# # Use the DVD overlay #
# use_dvd: true #
# # Use the SDTV overlay #
# use_sdtv: true #
#############################################################
templates:
VideoFormat:
optional:
- overlay_level
- use_<<slug>>
default:
overlay: <<overlay_name>>
horizontal_offset: 15
horizontal_align: left
vertical_offset: 30
vertical_align: bottom
font: fonts/Inter-Medium.ttf
font_size: 55
font_color: "#FFFFFF"
back_color: "#00000099"
back_radius: 30
back_width: 305
back_height: 105
overlay_level: <<overlay_level>>
allowed_library_types: <<use_<<slug>>>>
ignore_blank_results: true
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: <<font>>
font_size: <<font_size>>
font_color: <<font_color>>
back_color: <<back_color>>
back_radius: <<back_radius>>
back_width: <<back_width>>
back_height: <<back_height>>
plex_all: true
filters:
filepath.regex: <<filepath>>
overlays:
REMUX:
template: {name: VideoFormat, weight: 50, slug: remux, filepath: '(?i)\[Remux'}
BLU-RAY:
template: {name: VideoFormat, weight: 40, slug: bluray, filepath: '(?i)\[Blu[ ._-]?ray|\[BD|\[BR|\[HD[ ._-]?DVD'}
WEB:
template: {name: VideoFormat, weight: 30, slug: web, filepath: '(?i)Web[ ._-]?(dl|rip)'}
HDTV:
template: {name: VideoFormat, weight: 20, slug: hdtv, filepath: '(?i)HD[ ._-]?TV'}
DVD:
template: {name: VideoFormat, weight: 10, slug: dvd, filepath: '(?i)\[DVD'}
SDTV:
template: {name: VideoFormat, weight: 5, slug: sdtv, filepath: '(?i)SD[ ._-]?TV'}