@ -1,159 +1,137 @@
|
||||
#############################################################
|
||||
# Audio Codec Overlays #
|
||||
##############################################################################
|
||||
# Audio Codec Overlay #
|
||||
# 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/audio_codec #
|
||||
# template_variables: #
|
||||
# # Set episode or season to overlay #
|
||||
# overlay_level: #
|
||||
# # Set the horizontal offset for the overlay #
|
||||
# horizontal_offset: 0 #
|
||||
# # Set the horizontal align for the overlay #
|
||||
# horizontal_align: center #
|
||||
# # Set the vertical offset for the overlay #
|
||||
# vertical_offset: 15 #
|
||||
# # Set the vertical align for the overlay #
|
||||
# vertical_align: top #
|
||||
# # 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 #
|
||||
# # Sets the style of overlay: standard or compact #
|
||||
# style: compact #
|
||||
# #
|
||||
# # Use the Opus overlay #
|
||||
# use_opus: true #
|
||||
# # Use the MP3 overlay #
|
||||
# use_mp3: true #
|
||||
# # Use the Dolby-Digital overlay #
|
||||
# use_digital: true #
|
||||
# # Use the AAC overlay #
|
||||
# use_aac: true #
|
||||
# # Use the DTS overlay #
|
||||
# use_dts: true #
|
||||
# # Use the DTS-ES overlay #
|
||||
# use_es: true #
|
||||
# # Use the Dolby-Digital-Plus overlay #
|
||||
# use_plus: true #
|
||||
# # Use the DTS-HD-HRA overlay #
|
||||
# use_hra: true #
|
||||
# # Use the PCM overlay #
|
||||
# use_pcm: true #
|
||||
# # Use the FLAC overlay #
|
||||
# use_flac: true #
|
||||
# # Use the DTS-HD-MA overlay #
|
||||
# use_hd: true #
|
||||
# # Use the Dolby-TrueHD overlay #
|
||||
# use_truehd: true #
|
||||
# # Use the DD+/E-AC3 Atmos overlay #
|
||||
# use_plus-atmos: true #
|
||||
# # Use the Dolby-Atmos (undefined) overlay #
|
||||
# use_atmos: true #
|
||||
# # Use the DTS-X overlay #
|
||||
# use_x: true #
|
||||
# # Use the Dolby TrueHD Atmos overlay #
|
||||
# use_truehd-atmos: true #
|
||||
#############################################################
|
||||
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
||||
# https://metamanager.wiki/en/latest/defaults/overlays/audio_codec.html #
|
||||
##############################################################################
|
||||
|
||||
templates:
|
||||
AudioCodec:
|
||||
optional:
|
||||
- overlay_level
|
||||
- use_<<slug>>
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
external_templates:
|
||||
pmm: templates
|
||||
template_variables:
|
||||
conditionals:
|
||||
back_height:
|
||||
default: 105
|
||||
conditions:
|
||||
- style: standard
|
||||
value: <<standard_value>>
|
||||
standard_value: 105
|
||||
style: compact
|
||||
group: audio_codec
|
||||
horizontal_offset: 0
|
||||
horizontal_align: center
|
||||
vertical_offset: 15
|
||||
vertical_align: top
|
||||
style: compact
|
||||
standard_value: 105
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
back_width: 305
|
||||
pmm: audio_codec/<<style>>/<<key>>
|
||||
|
||||
templates:
|
||||
audio_codec:
|
||||
default:
|
||||
regex_<<key>>: <<regex>>
|
||||
conditionals:
|
||||
height:
|
||||
default: 105
|
||||
regex:
|
||||
conditions:
|
||||
- style: standard
|
||||
value: <<standard_value>>
|
||||
overlay_level: <<overlay_level>>
|
||||
allowed_library_types: <<use_<<slug>>>>
|
||||
- key: truehd_atmos
|
||||
value: '(?i)(?=.*\b(true[ .-]?hd))(?=.*\b(atmos(\b|\d)))'
|
||||
- key: dtsx
|
||||
value: 'dts[-. ]?x(?!\d)'
|
||||
- key: plus_atmos
|
||||
value: '(?i)((?=.*([^-]DD[P+](?!A)|eac3))(?=.*\b(atmos(\b|\d))))|(?=.*\b(DDPA(\b|\d)))'
|
||||
- key: dolby_atmos
|
||||
value: '(?i)^(?!.*([^-]DD[P+](?!A)|eac3|true[ .-]?hd))(?=.*\b(atmos(\b|\d))).*'
|
||||
- key: truehd
|
||||
value: '(?i)^(?!.*(atmos))(?=.*\b(true[ .-]?hd)\b).*'
|
||||
- key: ma
|
||||
value: '(?i)dts[ .-]?(ma\b|hd[ .-]?ma|hd)(?!china|r)'
|
||||
- key: flac
|
||||
value: '(?i)\bFLAC(\b|\d)'
|
||||
- key: pcm
|
||||
value: '(?i)\b(l?)PCM(\b|\d)'
|
||||
- key: hra
|
||||
value: '(?i)dts[ ._-]?(hd[. ]?)?(hr|hi)'
|
||||
- key: plus
|
||||
value: '(?i)(?!.*(atmos))(?=.*\b([^-]DD[P+](?!A)|eac3)\b).*'
|
||||
- key: dtses
|
||||
value: '(?i)dts[-. ]?es\b'
|
||||
- key: dts
|
||||
value: '(?i)\bDTS(\b|\d)'
|
||||
- key: digital
|
||||
value: '(?i)\bDD[^a-z+]|(?<!e)ac3'
|
||||
- key: aac
|
||||
value: '(?i)\b(aac|stereo|2[ .]0)\b'
|
||||
- key: mp3
|
||||
value: '(?i)\bmp3(\b|\d)'
|
||||
- key: opus
|
||||
value: '(?i)\bOPUS(\b|\d)'
|
||||
ignore_blank_results: true
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: audio_codec/<<style>>/<<slug>>
|
||||
group: audio_codec
|
||||
weight: <<weight>>
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<height>>
|
||||
plex_all: true
|
||||
filters:
|
||||
- audio_track_title.regex: <<regex>>
|
||||
- filepath.regex: <<regex>>
|
||||
- audio_track_title.regex: <<regex_<<key>>>>
|
||||
- filepath.regex: <<regex_<<key>>>>
|
||||
|
||||
overlays:
|
||||
|
||||
Opus:
|
||||
template: {name: AudioCodec, weight: 250, slug: opus, regex: '(?i)\bOPUS(\b|\d)'}
|
||||
|
||||
MP3:
|
||||
template: {name: AudioCodec, weight: 500, slug: mp3, regex: '(?i)\bmp3(\b|\d)'}
|
||||
Dolby-TrueHD-Atmos:
|
||||
variables: {key: truehd_atmos, weight: 160, standard_value: 189}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
AAC:
|
||||
template: {name: AudioCodec, weight: 700, slug: aac, regex: '(?i)\b(aac|stereo|2[ .]0)\b'}
|
||||
DTS-X:
|
||||
variables: {key: dtsx, weight: 150}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
Dolby-Digital:
|
||||
template: {name: AudioCodec, weight: 750, slug: digital, regex: '(?i)\bDD[^a-z+]|(?<!e)ac3'}
|
||||
Dolby-Digital-Plus-Atmos:
|
||||
variables: {key: plus_atmos, weight: 140, standard_value: 189}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
DTS:
|
||||
template: {name: AudioCodec, weight: 1250, slug: dts, regex: '(?i)\bDTS(\b|\d)'}
|
||||
Dolby-Atmos:
|
||||
variables: {key: dolby_atmos, weight: 130}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
DTS-ES:
|
||||
template: {name: AudioCodec, weight: 1500, slug: dtses, regex: '(?i)dts[-. ]?es\b'}
|
||||
Dolby-TrueHD:
|
||||
variables: {key: truehd, weight: 120}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
Dolby-Digital-Plus:
|
||||
template: {name: AudioCodec, weight: 1750, slug: plus, regex: '(?i)(?!.*(atmos))(?=.*\b([^-]DD[P+](?!A)|eac3)\b).*'}
|
||||
DTS-HD-MA:
|
||||
variables: {key: ma, weight: 110}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
DTS-HD-HRA:
|
||||
template: {name: AudioCodec, weight: 2000, slug: hra, regex: '(?i)dts[ ._-]?(hd[. ]?)?(hr|hi)'}
|
||||
FLAC:
|
||||
variables: {key: flac, weight: 100}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
PCM:
|
||||
template: {name: AudioCodec, weight: 2200, slug: pcm, regex: '(?i)\b(l?)PCM(\b|\d)'}
|
||||
variables: {key: pcm, weight: 90}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
FLAC:
|
||||
template: {name: AudioCodec, weight: 2250, slug: flac, regex: '(?i)\bFLAC(\b|\d)'}
|
||||
DTS-HD-HRA:
|
||||
variables: {key: hra, weight: 80}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
DTS-HD-MA:
|
||||
template: {name: AudioCodec, weight: 2500, slug: ma, regex: '(?i)dts[ .-]?(ma\b|hd[ .-]?ma|hd)(?!china|r)'}
|
||||
Dolby-Digital-Plus:
|
||||
variables: {key: plus, weight: 70}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
Dolby-TrueHD:
|
||||
template: {name: AudioCodec, weight: 2750, slug: truehd, regex: '(?i)^(?!.*(atmos))(?=.*\b(true[ .-]?hd)\b).*'}
|
||||
DTS-ES:
|
||||
variables: {key: dtses, weight: 60}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
Dolby-Digital-Plus-Atmos:
|
||||
template: {name: AudioCodec, weight: 3000, slug: plus_atmos, standard_value: 189, regex: '(?i)((?=.*([^-]DD[P+](?!A)|eac3))(?=.*\b(atmos(\b|\d))))|(?=.*\b(DDPA(\b|\d)))'}
|
||||
DTS:
|
||||
variables: {key: dts, weight: 50}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
Dolby-Atmos:
|
||||
template: {name: AudioCodec, weight: 3000, slug: dolby_atmos, regex: '(?i)^(?!.*([^-]DD[P+](?!A)|eac3|true[ .-]?hd))(?=.*\b(atmos(\b|\d))).*'}
|
||||
Dolby-Digital:
|
||||
variables: {key: digital, weight: 40}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
DTS-X:
|
||||
template: {name: AudioCodec, weight: 4500, slug: dtsx, regex: 'dts[-. ]?x(?!\d)'}
|
||||
AAC:
|
||||
variables: {key: aac, weight: 30}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
Dolby-TrueHD-Atmos:
|
||||
template: {name: AudioCodec, weight: 5000, slug: truehd_atmos, standard_value: 189, regex: '(?i)(?=.*\b(true[ .-]?hd))(?=.*\b(atmos(\b|\d)))'}
|
||||
MP3:
|
||||
variables: {key: mp3, weight: 20}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
||||
Opus:
|
||||
variables: {key: opus, weight: 10}
|
||||
template: [name: standard, name: audio_codec]
|
||||
|
@ -1,71 +1,42 @@
|
||||
#############################################################
|
||||
##############################################################################
|
||||
# Audio Language Overlay #
|
||||
# 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: #
|
||||
# - pmm: audio_language #
|
||||
# template_variables: #
|
||||
# # Set episode or season to overlay #
|
||||
# overlay_level: #
|
||||
# # Set the horizontal offset for the overlay #
|
||||
# horizontal_offset: 0 #
|
||||
# # Set the horizontal align for the overlay #
|
||||
# horizontal_align: center #
|
||||
# # Set the vertical offset for the overlay #
|
||||
# vertical_offset: 30 #
|
||||
# # Set the vertical align for the overlay #
|
||||
# vertical_align: bottom #
|
||||
#############################################################
|
||||
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
||||
# https://metamanager.wiki/en/latest/defaults/overlays/audio_language.html #
|
||||
##############################################################################
|
||||
|
||||
templates:
|
||||
AudioLanguage:
|
||||
optional:
|
||||
- overlay_level
|
||||
- gte
|
||||
- gt
|
||||
- lt
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
external_templates:
|
||||
pmm: templates
|
||||
template_variables:
|
||||
group: audio_language
|
||||
horizontal_offset: 0
|
||||
horizontal_align: center
|
||||
vertical_offset: 30
|
||||
vertical_align: bottom
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
back_width: 188
|
||||
back_height: 105
|
||||
overlay_level: <<overlay_level>>
|
||||
pmm: <<overlay_name>>
|
||||
|
||||
templates:
|
||||
audio_language:
|
||||
default:
|
||||
minimum: 2
|
||||
optional:
|
||||
- lt
|
||||
ignore_blank_results: true
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: <<overlay>>
|
||||
group: audio_language
|
||||
weight: <<weight>>
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
plex_all: true
|
||||
filters:
|
||||
audio_language.count_gte: <<gte>>
|
||||
audio_language.count_gt: <<gt>>
|
||||
audio_language.count_gte: <<minimum>>
|
||||
audio_language.count_lt: <<lt>>
|
||||
|
||||
overlays:
|
||||
|
||||
Dual-Audio:
|
||||
template: {name: AudioLanguage, weight: 10, gte: 2, lt: 3}
|
||||
variables: {key: dual, weight: 20, lt: 3}
|
||||
template: [name: standard, name: audio_language]
|
||||
|
||||
|
||||
Multi-Audio:
|
||||
template: {name: AudioLanguage, weight: 20, gt: 2}
|
||||
variables: {key: multi, weight: 10}
|
||||
template: [name: standard, name: audio_language]
|
||||
|
@ -1,59 +1,26 @@
|
||||
#############################################################
|
||||
# Direct Play Banner Overlay #
|
||||
##############################################################################
|
||||
# Direct Play Overlay #
|
||||
# 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/direct_play #
|
||||
# template_variables: #
|
||||
# # Set episode or season to overlay #
|
||||
# overlay_level: #
|
||||
# # Set the horizontal offset for the overlay #
|
||||
# horizontal_offset: 0 #
|
||||
# # Set the horizontal align for the overlay #
|
||||
# horizontal_align: center #
|
||||
# # Set the vertical offset for the overlay #
|
||||
# vertical_offset: 150 #
|
||||
# # Set the vertical align for the overlay #
|
||||
# vertical_align: bottom #
|
||||
#############################################################
|
||||
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
||||
# https://metamanager.wiki/en/latest/defaults/overlays/direct_play.html #
|
||||
##############################################################################
|
||||
|
||||
templates:
|
||||
direct:
|
||||
optional:
|
||||
- overlay_level
|
||||
default:
|
||||
external_templates:
|
||||
pmm: templates
|
||||
template_variables:
|
||||
horizontal_offset: 0
|
||||
horizontal_align: center
|
||||
vertical_offset: 150
|
||||
vertical_align: bottom
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
back_width: 305
|
||||
back_height: 170
|
||||
collection_level: <<overlay_level>>
|
||||
overlay:
|
||||
name: Direct-Play
|
||||
pmm: Direct-Play
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
pmm: <<overlay_name>>
|
||||
|
||||
overlays:
|
||||
Direct Play:
|
||||
Direct-Play:
|
||||
template:
|
||||
name: direct
|
||||
name: standard
|
||||
plex_search:
|
||||
any:
|
||||
resolution.regex: '(?i)2160|4k'
|
||||
|
@ -1,195 +0,0 @@
|
||||
#############################################################
|
||||
# Special Release Overlay #
|
||||
# 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: #
|
||||
# - pmm: special_release #
|
||||
# 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: 99 #
|
||||
# # Set the vertical align for the overlay #
|
||||
# vertical_align: top #
|
||||
# #
|
||||
# # Use the Director's Cut overlay #
|
||||
# use_directorscut: true #
|
||||
# # Use the Extended overlay #
|
||||
# use_extended: true #
|
||||
# # Use the Uncut overlay #
|
||||
# use_uncut: true #
|
||||
# # Use the Unrated overlay #
|
||||
# use_unrated: true #
|
||||
# # Use the Special overlay #
|
||||
# use_special: true #
|
||||
# # Use the Final Cut overlay #
|
||||
# use_finalcut: true #
|
||||
# # Use the Anniversary overlay #
|
||||
# use_anniversary: true #
|
||||
# # Use the Collectors overlay #
|
||||
# use_collector: true #
|
||||
# # Use the International overlay #
|
||||
# use_international: true #
|
||||
# # Use the Theatrical overlay #
|
||||
# use_theatrical: true #
|
||||
# # Use the Ultimate overlay #
|
||||
# use_ultimate: true #
|
||||
# # Use the IMAX-E overlay #
|
||||
# use_enhanced: true #
|
||||
# # Use the IMAX overlay #
|
||||
# use_imax: true #
|
||||
# # Use the Remastered overlay #
|
||||
# use_remastered: true #
|
||||
# # Use the Criterion overlay #
|
||||
# use_criterion: true #
|
||||
#############################################################
|
||||
|
||||
templates:
|
||||
Edition:
|
||||
conditionals:
|
||||
vertical_offset:
|
||||
default: 15
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value: 99
|
||||
suppress_overlays:
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value:
|
||||
- 4K-DV
|
||||
- 4K-HDR
|
||||
- 4K
|
||||
- 1080P-DV
|
||||
- 1080P-HDR
|
||||
- 1080P
|
||||
- 720P-DV
|
||||
- 720P-HDR
|
||||
- 720P
|
||||
- 576P-DV
|
||||
- 576P-HDR
|
||||
- 576P
|
||||
- 480P-DV
|
||||
- 480P-HDR
|
||||
- 480P
|
||||
- DV
|
||||
- HDR
|
||||
- dovetail: false
|
||||
value:
|
||||
- <<overlay_name>>-Dovetail
|
||||
back_width:
|
||||
conditions:
|
||||
- dovetail: false
|
||||
value: 305
|
||||
back_height:
|
||||
conditions:
|
||||
- dovetail: false
|
||||
value: 105
|
||||
optional:
|
||||
- overlay_level
|
||||
- use_<<slug>>
|
||||
- search
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
horizontal_offset: 15
|
||||
horizontal_align: left
|
||||
vertical_align: top
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
collection_level: <<overlay_level>>
|
||||
allowed_library_types: <<use_<<slug>>>>
|
||||
ignore_blank_results: true
|
||||
suppress_overlays: <<suppress_overlays>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: edition/<<slug>>
|
||||
group: edition
|
||||
weight: <<weight>>
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
plex_search:
|
||||
all:
|
||||
edition: <<search>>
|
||||
|
||||
overlays:
|
||||
Directors-Cut:
|
||||
template: {name: Edition, weight: 150, slug: directorscut, search: Director, dovetail: false}
|
||||
Directors-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 150, slug: directorscut, search: Director, dovetail: true}
|
||||
|
||||
Extended-Edition:
|
||||
template: {name: Edition, weight: 140, slug: extended, search: Extended, dovetail: false}
|
||||
Extended-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 140, slug: extended, search: Extended, dovetail: true}
|
||||
|
||||
Uncut-Edition:
|
||||
template: {name: Edition, weight: 130, slug: uncut, search: Uncut, dovetail: false}
|
||||
Uncut-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 130, slug: uncut, search: Uncut, dovetail: true}
|
||||
|
||||
Unrated-Edition:
|
||||
template: {name: Edition, weight: 120, slug: unrated, search: Unrated, dovetail: false}
|
||||
Unrated-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 120, slug: unrated, search: Unrated, dovetail: true}
|
||||
|
||||
Special-Edition:
|
||||
template: {name: Edition, weight: 110, slug: special, search: Special, dovetail: false}
|
||||
Special-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 110, slug: special, search: Special, dovetail: true}
|
||||
|
||||
Final-Cut:
|
||||
template: {name: Edition, weight: 100, slug: finalcut, search: Final, dovetail: false}
|
||||
Final-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 100, slug: finalcut, search: Final, dovetail: true}
|
||||
|
||||
Anniversary-Edition:
|
||||
template: {name: Edition, weight: 90, slug: anniversary, search: Anniversary, dovetail: false}
|
||||
Anniversary-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 90, slug: anniversary, search: Anniversary, dovetail: true}
|
||||
|
||||
Collectors-Edition:
|
||||
template: {name: Edition, weight: 80, slug: collector, search: Collector, dovetail: false}
|
||||
Collectors-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 80, slug: collector, search: Collector, dovetail: true}
|
||||
|
||||
International-Cut:
|
||||
template: {name: Edition, weight: 70, slug: international, search: International, dovetail: false}
|
||||
International-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 70, slug: international, search: International, dovetail: true}
|
||||
|
||||
Theatrical-Cut:
|
||||
template: {name: Edition, weight: 60, slug: theatrical, search: Theatrical, dovetail: false}
|
||||
Theatrical-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 60, slug: theatrical, search: Theatrical, dovetail: true}
|
||||
|
||||
Ultimate-Cut:
|
||||
template: {name: Edition, weight: 50, slug: ultimate, search: Ultimate, dovetail: false}
|
||||
Ultimate-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 50, slug: ultimate, search: Ultimate, dovetail: true}
|
||||
|
||||
IMAX:
|
||||
template: {name: Edition, weight: 30, slug: imax, search: Imax, dovetail: false}
|
||||
IMAX-Dovetail:
|
||||
template: {name: Edition, weight: 30, slug: imax, search: Imax, dovetail: true}
|
||||
|
||||
Remastered:
|
||||
template: {name: Edition, weight: 20, slug: remastered, search: Remaster, dovetail: false}
|
||||
Remastered-Dovetail:
|
||||
template: {name: Edition, weight: 20, slug: remastered, search: Remaster, dovetail: true}
|
||||
|
@ -1,72 +1,25 @@
|
||||
#############################################################
|
||||
##############################################################################
|
||||
# Episode Info Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
#############################################################
|
||||
# Call this from your config.yml (Show): #
|
||||
# overlay_path: #
|
||||
# - pmm: episode_info #
|
||||
# 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: right #
|
||||
# # Set the vertical offset for the overlay #
|
||||
# vertical_offset: 150 #
|
||||
# # 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 #
|
||||
#############################################################
|
||||
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
||||
# https://metamanager.wiki/en/latest/defaults/overlays/episode_info.html #
|
||||
##############################################################################
|
||||
|
||||
templates:
|
||||
text_episode_info:
|
||||
optional:
|
||||
- overlay_level
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
external_templates:
|
||||
pmm: templates
|
||||
template_variables:
|
||||
allowed_libraries: show
|
||||
horizontal_offset: 15
|
||||
horizontal_align: right
|
||||
vertical_offset: 150
|
||||
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>>
|
||||
overlay:
|
||||
name: text(S<<season_number0>>E<<episode_number0>>)
|
||||
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>>
|
||||
overlay_level: episode
|
||||
final_name: text(S<<season_number0>>E<<episode_number0>>)
|
||||
|
||||
overlays:
|
||||
Episode Info:
|
||||
template:
|
||||
- name: text_episode_info
|
||||
name: standard
|
||||
plex_all: true
|
||||
|
@ -1,63 +1,26 @@
|
||||
#############################################################
|
||||
# Mediastinger Overlay #
|
||||
##############################################################################
|
||||
# MediaStinger Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
#############################################################
|
||||
# Call this from your config.yml (Movie or Show): #
|
||||
# overlay_path: #
|
||||
# - git: PMM/overlays/mediastinger #
|
||||
# template_variables: #
|
||||
# # Set episode or season to overlay #
|
||||
# overlay_level: #
|
||||
# # Set the horizontal offset for the overlay #
|
||||
# horizontal_offset: 200 #
|
||||
# # Set the horizontal align for the overlay #
|
||||
# horizontal_align: right #
|
||||
# # Set the vertical offset for the overlay #
|
||||
# vertical_offset: 15 #
|
||||
# # Set the vertical align for the overlay #
|
||||
# vertical_align: top #
|
||||
# # 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: 105 #
|
||||
# # Set the back height for the overlay #
|
||||
# back_height: 105 #
|
||||
#############################################################
|
||||
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
||||
# https://metamanager.wiki/en/latest/defaults/overlays/mediastinger.html #
|
||||
##############################################################################
|
||||
|
||||
templates:
|
||||
stinger:
|
||||
optional:
|
||||
- overlay_level
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
external_templates:
|
||||
pmm: templates
|
||||
template_variables:
|
||||
allowed_libraries: movie
|
||||
horizontal_offset: 200
|
||||
horizontal_align: right
|
||||
vertical_offset: 15
|
||||
vertical_align: top
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
back_width: 105
|
||||
back_height: 105
|
||||
overlay_level: <<overlay_level>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: Mediastinger
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
pmm: <<overlay_name>>
|
||||
|
||||
overlays:
|
||||
Mediastinger:
|
||||
template:
|
||||
- name: stinger
|
||||
name: standard
|
||||
plex_all: true
|
||||
filters:
|
||||
tmdb_keyword: aftercreditsstinger, duringcreditsstinger
|
||||
|
@ -1,70 +1,48 @@
|
||||
#############################################################
|
||||
##############################################################################
|
||||
# Ribbon Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
#############################################################
|
||||
# Call this from your config.yml (Movie or Show): #
|
||||
# - pmm: ribbon #
|
||||
# template_variables: #
|
||||
# #
|
||||
# # For each overlay use the "key" to set #
|
||||
# # the options. #
|
||||
# # Available overlays #
|
||||
# # KEY COLLECTION #
|
||||
# # oscars Academy Awards (Oscars) #
|
||||
# # imdb IMDb Top 250 #
|
||||
# # rotten Rotten Tomatoes Certified Fresh#
|
||||
# # metacritic Metacritic Must See #
|
||||
# # common Commonsense Selection #
|
||||
# #
|
||||
# # Available options. Replace "key" with the #
|
||||
# # desired collection's key from the chart above. #
|
||||
# #
|
||||
# # Turn the collection on/off #
|
||||
# use_key: true #
|
||||
# # Determines collection order in its section #
|
||||
# # Sets the weight for that overlay #
|
||||
# weight_key: #
|
||||
#############################################################
|
||||
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
||||
# https://metamanager.wiki/en/latest/defaults/overlays/ribbon.html #
|
||||
##############################################################################
|
||||
|
||||
external_templates:
|
||||
pmm: templates
|
||||
template_variables:
|
||||
group: ribbon
|
||||
pmm: ribbon/<<key>>
|
||||
horizontal_offset: 0
|
||||
horizontal_align: right
|
||||
vertical_offset: 0
|
||||
vertical_align: bottom
|
||||
|
||||
templates:
|
||||
Ribbon:
|
||||
default:
|
||||
weight_<<key>>: <<weight>>
|
||||
ribbon:
|
||||
optional:
|
||||
- mdb_key
|
||||
- imdb_key
|
||||
- allowed_libraries
|
||||
- use_<<key>>
|
||||
mdblist_list: https://mdblist.com/lists/plexmetamanager/<<mdb_key>><<library_type>>s
|
||||
imdb_chart: <<imdb_key>>_<<library_type>>s
|
||||
allowed_library_types:
|
||||
- <<use_<<key>>>>
|
||||
- <<allowed_libraries>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: ribbon/<<key>>
|
||||
group: ribbon
|
||||
weight: <<weight_<<key>>>>
|
||||
horizontal_offset: 0
|
||||
horizontal_align: right
|
||||
vertical_offset: 0
|
||||
vertical_align: bottom
|
||||
|
||||
overlays:
|
||||
|
||||
Oscars Best Picture:
|
||||
variables: {key: oscars, weight: 50}
|
||||
template: {name: standard, allowed_libraries: movie}
|
||||
imdb_list: https://www.imdb.com/search/title/?groups=best_picture_winner
|
||||
template: {name: Ribbon, key: oscars, weight: 40, allowed_libraries: movie}
|
||||
|
||||
IMDb Top 250:
|
||||
template: {name: Ribbon, imdb_key: top, key: imdb, weight: 30}
|
||||
variables: {key: imdb, weight: 40, imdb_key: top}
|
||||
template: [name: standard, name: ribbon]
|
||||
|
||||
Rotten Tomatoes Certified Fresh:
|
||||
template: {name: Ribbon, mdb_key: certifiedfresh, key: rotten, weight: 20}
|
||||
variables: {key: rotten, weight: 30, mdb_key: certifiedfresh}
|
||||
template: [name: standard, name: ribbon]
|
||||
|
||||
Metacritic Must See:
|
||||
template: {name: Ribbon, mdb_key: metacriticmustsee, key: metacritic, weight: 10}
|
||||
variables: {key: metacritic, weight: 20, mdb_key: metacriticmustsee}
|
||||
template: [name: standard, name: ribbon]
|
||||
|
||||
Commonsense Selection:
|
||||
template: {name: Ribbon, mdb_key: cssfamilies, key: common, weight: 5}
|
||||
variables: {key: common, weight: 10, mdb_key: cssfamilies}
|
||||
template: [name: standard, name: ribbon]
|
||||
|
||||
|
@ -1,72 +1,28 @@
|
||||
#############################################################
|
||||
# Episodes Runtime Overlay #
|
||||
##############################################################################
|
||||
# Runtimes Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
#############################################################
|
||||
# Call this from your config.yml (Show): #
|
||||
# overlay_path: #
|
||||
# - pmm: runtimes #
|
||||
# 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: right #
|
||||
# # 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: 600 #
|
||||
# # Set the back height for the overlay #
|
||||
# back_height: 105 #
|
||||
#############################################################
|
||||
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
||||
# https://metamanager.wiki/en/latest/defaults/overlays/runtimes.html #
|
||||
##############################################################################
|
||||
|
||||
templates:
|
||||
text_runtime_info:
|
||||
optional:
|
||||
- overlay_level
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
external_templates:
|
||||
pmm: templates
|
||||
template_variables:
|
||||
conditionals:
|
||||
overlay_level:
|
||||
conditions:
|
||||
- library_type: show
|
||||
value: episode
|
||||
horizontal_offset: 15
|
||||
horizontal_align: right
|
||||
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: 600
|
||||
back_height: 105
|
||||
collection_level: <<overlay_level>>
|
||||
overlay:
|
||||
name: "text(Runtime: <<runtimeH>>h <<runtimeM>>m)"
|
||||
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>>
|
||||
final_name: "text(Runtime: <<runtimeH>>h <<runtimeM>>m)"
|
||||
|
||||
overlays:
|
||||
runtime_info:
|
||||
template:
|
||||
- name: text_runtime_info
|
||||
plex_all: true
|
||||
template:
|
||||
name: standard
|
||||
|
@ -1,208 +0,0 @@
|
||||
#############################################################
|
||||
# Special Release Overlay #
|
||||
# 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: #
|
||||
# - pmm: special_release #
|
||||
# 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: 99 #
|
||||
# # Set the vertical align for the overlay #
|
||||
# vertical_align: top #
|
||||
# #
|
||||
# # Use the Director's Cut overlay #
|
||||
# use_directorscut: true #
|
||||
# # Use the Extended overlay #
|
||||
# use_extended: true #
|
||||
# # Use the Uncut overlay #
|
||||
# use_uncut: true #
|
||||
# # Use the Unrated overlay #
|
||||
# use_unrated: true #
|
||||
# # Use the Special overlay #
|
||||
# use_special: true #
|
||||
# # Use the Final Cut overlay #
|
||||
# use_finalcut: true #
|
||||
# # Use the Anniversary overlay #
|
||||
# use_anniversary: true #
|
||||
# # Use the Collectors overlay #
|
||||
# use_collector: true #
|
||||
# # Use the International overlay #
|
||||
# use_international: true #
|
||||
# # Use the Theatrical overlay #
|
||||
# use_theatrical: true #
|
||||
# # Use the Ultimate overlay #
|
||||
# use_ultimate: true #
|
||||
# # Use the IMAX-E overlay #
|
||||
# use_enhanced: true #
|
||||
# # Use the IMAX overlay #
|
||||
# use_imax: true #
|
||||
# # Use the Remastered overlay #
|
||||
# use_remastered: true #
|
||||
# # Use the Criterion overlay #
|
||||
# use_criterion: true #
|
||||
#############################################################
|
||||
|
||||
templates:
|
||||
Edition:
|
||||
conditionals:
|
||||
vertical_offset:
|
||||
default: 15
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value: 99
|
||||
suppress_overlays:
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value:
|
||||
- 4K-DV
|
||||
- 4K-HDR
|
||||
- 4K
|
||||
- 1080P-DV
|
||||
- 1080P-HDR
|
||||
- 1080P
|
||||
- 720P-DV
|
||||
- 720P-HDR
|
||||
- 720P
|
||||
- 576P-DV
|
||||
- 576P-HDR
|
||||
- 576P
|
||||
- 480P-DV
|
||||
- 480P-HDR
|
||||
- 480P
|
||||
- DV
|
||||
- HDR
|
||||
- dovetail: false
|
||||
value:
|
||||
- <<overlay_name>>-Dovetail
|
||||
back_width:
|
||||
conditions:
|
||||
- dovetail: false
|
||||
value: 305
|
||||
back_height:
|
||||
conditions:
|
||||
- dovetail: false
|
||||
value: 105
|
||||
optional:
|
||||
- overlay_level
|
||||
- use_<<slug>>
|
||||
- search
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
horizontal_offset: 15
|
||||
horizontal_align: left
|
||||
vertical_align: top
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
collection_level: <<overlay_level>>
|
||||
allowed_library_types: <<use_<<slug>>>>
|
||||
ignore_blank_results: true
|
||||
suppress_overlays: <<suppress_overlays>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: edition/<<slug>>
|
||||
group: edition
|
||||
weight: <<weight>>
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
plex_all: true
|
||||
filters:
|
||||
filepath.regex:
|
||||
- <<regex1>>
|
||||
- <<regex2>>
|
||||
- 'edition-(?i)\b<<search>>\b' # New TRaSH naming
|
||||
- '(?<=[0-9]{4}[)}>\]]\s)\b<<search>>\b' # Original TRaSH naming
|
||||
|
||||
overlays:
|
||||
Directors-Cut:
|
||||
template: {name: Edition, weight: 150, slug: directorscut, search: (Director|Directors), dovetail: false}
|
||||
Directors-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 150, slug: directorscut, search: (Director|Directors), dovetail: true}
|
||||
|
||||
Extended-Edition:
|
||||
template: {name: Edition, weight: 140, slug: extended, search: Extended, dovetail: false}
|
||||
Extended-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 140, slug: extended, search: Extended, dovetail: true}
|
||||
|
||||
Uncut-Edition:
|
||||
template: {name: Edition, weight: 130, slug: uncut, search: Uncut, dovetail: false}
|
||||
Uncut-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 130, slug: uncut, search: Uncut, dovetail: true}
|
||||
|
||||
Unrated-Edition:
|
||||
template: {name: Edition, weight: 120, slug: unrated, search: Unrated, dovetail: false}
|
||||
Unrated-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 120, slug: unrated, search: Unrated, dovetail: true}
|
||||
|
||||
Special-Edition:
|
||||
template: {name: Edition, weight: 110, slug: special, search: Special, dovetail: false}
|
||||
Special-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 110, slug: special, search: Special, dovetail: true}
|
||||
|
||||
Final-Cut:
|
||||
template: {name: Edition, weight: 100, slug: finalcut, search: Final, dovetail: false}
|
||||
Final-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 100, slug: finalcut, search: Final, dovetail: true}
|
||||
|
||||
Anniversary-Edition:
|
||||
template: {name: Edition, weight: 90, slug: anniversary, search: Anniversary, dovetail: false}
|
||||
Anniversary-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 90, slug: anniversary, search: Anniversary, dovetail: true}
|
||||
|
||||
Collectors-Edition:
|
||||
template: {name: Edition, weight: 80, slug: collector, search: (Collector|Collectors), dovetail: false}
|
||||
Collectors-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 80, slug: collector, search: (Collector|Collectors), dovetail: true}
|
||||
|
||||
International-Cut:
|
||||
template: {name: Edition, weight: 70, slug: international, search: International, dovetail: false}
|
||||
International-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 70, slug: international, search: International, dovetail: true}
|
||||
|
||||
Theatrical-Cut:
|
||||
template: {name: Edition, weight: 60, slug: theatrical, search: Theatrical, dovetail: false}
|
||||
Theatrical-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 60, slug: theatrical, search: Theatrical, dovetail: true}
|
||||
|
||||
Ultimate-Cut:
|
||||
template: {name: Edition, weight: 50, slug: ultimate, search: Ultimate, dovetail: false}
|
||||
Ultimate-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 50, slug: ultimate, search: Ultimate, dovetail: true}
|
||||
|
||||
IMAX-E:
|
||||
template: {name: Edition, weight: 40, slug: enhanced, dovetail: false, regex1: '(?i)\bIMAX Enhanced\b|^(?=.*(DSNP|Disney\+|CORE(?=[ ._-]web[ ._-]?(dl|rip)\b)|\bBC(?=[ ._-]web[ ._-]?(dl|rip)\b)|IMAX[- .]Enhanced)\b)(?=.*\b(IMAX|IMAX[- .]Enhanced)\b).*'}
|
||||
IMAX-E-Dovetail:
|
||||
template: {name: Edition, weight: 40, slug: enhanced, dovetail: true, regex1: '(?i)\bIMAX Enhanced\b|^(?=.*(DSNP|Disney\+|CORE(?=[ ._-]web[ ._-]?(dl|rip)\b)|\bBC(?=[ ._-]web[ ._-]?(dl|rip)\b)|IMAX[- .]Enhanced)\b)(?=.*\b(IMAX|IMAX[- .]Enhanced)\b).*'}
|
||||
|
||||
IMAX:
|
||||
template: {name: Edition, weight: 30, slug: imax, dovetail: false, regex1: '(?i)\bIMAX\b'}
|
||||
IMAX-Dovetail:
|
||||
template: {name: Edition, weight: 30, slug: imax, dovetail: true, regex1: '(?i)\bIMAX\b'}
|
||||
|
||||
Remastered:
|
||||
template: {name: Edition, weight: 20, slug: remastered, search: (Remaster|Remastered|4k Remaster|4k Remastered), dovetail: false}
|
||||
Remastered-Dovetail:
|
||||
template: {name: Edition, weight: 20, slug: remastered, search: (Remaster|Remastered|4k Remaster|4k Remastered), dovetail: true}
|
||||
|
||||
Criterion:
|
||||
template: {name: Edition, weight: 10, slug: criterion, dovetail: false, regex1: '(?i)Criterion', regex2: '(?i)\[CC\]'}
|
||||
Criterion-Dovetail:
|
||||
template: {name: Edition, weight: 10, slug: criterion, dovetail: true, regex1: '(?i)Criterion', regex2: '(?i)\[CC\]'}
|
@ -1,108 +1,62 @@
|
||||
#############################################################
|
||||
##############################################################################
|
||||
# Streaming Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
#############################################################
|
||||
# Call this from your config.yml (Movie or Show): #
|
||||
# If nothing is specified these are the defaults #
|
||||
# #
|
||||
# overlay_path: #
|
||||
# - git: PMM/overlays/streaming #
|
||||
# template_variables: #
|
||||
# # 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: 150 #
|
||||
# # Set the vertical align for the overlay #
|
||||
# vertical_align: bottom #
|
||||
# # 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 Amazon overlay #
|
||||
# use_amazon: true #
|
||||
# # Use the AppleTV overlay #
|
||||
# use_appletv: true #
|
||||
# # Use the Disney overlay #
|
||||
# use_disney: true #
|
||||
# # Use the HBO-Max overlay #
|
||||
# use_hbomax: true #
|
||||
# # Use the Hulu overlay #
|
||||
# use_hulu: true #
|
||||
# # Use the Netflix overlay #
|
||||
# use_netflix: true #
|
||||
# # Use the Paramount overlay #
|
||||
# use_paramount: true #
|
||||
# # Use the Peacock overlay #
|
||||
# use_peacock: true #
|
||||
# # Use the YouTube overlay #
|
||||
# use_youtube: true #
|
||||
#############################################################
|
||||
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
||||
# https://metamanager.wiki/en/latest/defaults/overlays/streaming.html #
|
||||
##############################################################################
|
||||
|
||||
templates:
|
||||
Streaming:
|
||||
optional:
|
||||
- overlay_level
|
||||
- use_<<slug>>
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
external_templates:
|
||||
pmm: templates
|
||||
template_variables:
|
||||
group: streaming
|
||||
horizontal_offset: 15
|
||||
horizontal_align: left
|
||||
vertical_offset: 150
|
||||
vertical_align: bottom
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
back_width: 305
|
||||
back_height: 105
|
||||
allowed_library_types: <<use_<<slug>>>>
|
||||
ignore_blank_results: true
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: streaming/<<overlay>>
|
||||
group: streaming
|
||||
weight: <<weight>>
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
mdblist_list: https://mdblist.com/lists/plexmetamanager/<<slug>>-<<library_type>>s
|
||||
|
||||
templates:
|
||||
streaming:
|
||||
ignore_blank_results: true
|
||||
mdblist_list: https://mdblist.com/lists/plexmetamanager/<<key>>-<<library_type>>s
|
||||
|
||||
overlays:
|
||||
|
||||
Netflix:
|
||||
template: {name: Streaming, weight: 200, slug: netflix}
|
||||
variables: {key: netflix, weight: 90}
|
||||
template: [name: standard, name: streaming]
|
||||
|
||||
Prime:
|
||||
template: {name: Streaming, weight: 190, slug: amazon}
|
||||
variables: {key: amazon, weight: 80}
|
||||
template: [name: standard, name: streaming]
|
||||
|
||||
Disney:
|
||||
template: {name: Streaming, weight: 180, slug: disney}
|
||||
variables: {key: disney, weight: 70}
|
||||
template: [name: standard, name: streaming]
|
||||
|
||||
HBO-Max:
|
||||
template: {name: Streaming, weight: 170, slug: hbomax}
|
||||
variables: {key: hbomax, weight: 60}
|
||||
template: [name: standard, name: streaming]
|
||||
|
||||
YouTube:
|
||||
template: {name: Streaming, weight: 160, slug: youtube}
|
||||
variables: {key: youtube, weight: 50}
|
||||
template: [name: standard, name: streaming]
|
||||
|
||||
Hulu:
|
||||
template: {name: Streaming, weight: 150, slug: hulu}
|
||||
variables: {key: hulu, weight: 40}
|
||||
template: [name: standard, name: streaming]
|
||||
|
||||
Paramount:
|
||||
template: {name: Streaming, weight: 140, slug: paramount}
|
||||
variables: {key: paramount, weight: 30}
|
||||
template: [name: standard, name: streaming]
|
||||
|
||||
AppleTV:
|
||||
template: {name: Streaming, weight: 130, slug: appletv}
|
||||
variables: {key: appletv, weight: 20}
|
||||
template: [name: standard, name: streaming]
|
||||
|
||||
Peacock:
|
||||
template: {name: Streaming, weight: 120, slug: peacock}
|
||||
variables: {key: peacock, weight: 10}
|
||||
template: [name: standard, name: streaming]
|
||||
|
@ -0,0 +1,76 @@
|
||||
templates:
|
||||
|
||||
standard:
|
||||
default:
|
||||
horizontal_offset: 0
|
||||
horizontal_align: left
|
||||
vertical_offset: 0
|
||||
vertical_align: top
|
||||
font: fonts/Inter-Medium.ttf
|
||||
font_size: 55
|
||||
font_color: "#FFFFFF"
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
weight_<<key>>: <<weight>>
|
||||
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
|
||||
- stroke_width
|
||||
- stroke_color
|
||||
- back_width
|
||||
- back_height
|
||||
- back_align
|
||||
- back_padding
|
||||
- back_line_color
|
||||
- back_line_width
|
||||
- addon_offset
|
||||
- addon_position
|
||||
overlay_level: <<overlay_level>>
|
||||
allowed_library_types:
|
||||
- <<use_<<key>>>>
|
||||
- <<use_<<alt>>>>
|
||||
- <<allowed_libraries>>
|
||||
suppress_overlays: <<suppress_overlays>>
|
||||
overlay:
|
||||
name: <<final_name>>
|
||||
file: <<file>>
|
||||
url: <<url>>
|
||||
git: <<git>>
|
||||
repo: <<repo>>
|
||||
pmm: <<pmm>>
|
||||
group: <<group>>
|
||||
queue: <<queue>>
|
||||
weight: <<weight_<<key>>>>
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
font: <<font>>
|
||||
font_style: <<font_style>>
|
||||
font_size: <<font_size>>
|
||||
font_color: <<font_color>>
|
||||
stroke_width: <<stroke_width>>
|
||||
stroke_color: <<stroke_color>>
|
||||
back_color: <<back_color>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
back_align: <<back_align>>
|
||||
back_padding: <<back_padding>>
|
||||
back_radius: <<back_radius>>
|
||||
back_line_color: <<back_line_color>>
|
||||
back_line_width: <<back_line_width>>
|
||||
addon_offset: <<addon_offset>>
|
||||
addon_position: <<addon_position>>
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
@ -1,50 +1,94 @@
|
||||
# Audio Codec Default Overlay File
|
||||
# Audio Codec Overlay
|
||||
|
||||
The `audio_codec` Overlay File is used to create an overlay based on the audio codec available on each item within your library.
|
||||
The `audio_codec` Default Overlay File is used to create an overlay based on the audio codec available on each item within your library.
|
||||
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
Example Overlays Created:
|
||||
**Designed for [TRaSH Guides](https://trash-guides.info/) filename naming scheme**
|
||||
|
||||
![](../images/audio_codec_ov.png)
|
||||
![](images/audio_codec.png)
|
||||
|
||||
## Supported Audio Codecs
|
||||
|
||||
| Audio Codec | Key | Weight |
|
||||
|:-----------------------|:--------------:|:------:|
|
||||
| Dolby TrueHD Atmos | `truehd_atmos` | `160` |
|
||||
| DTS-X | `dtsx` | `150` |
|
||||
| Dolby Digital+ / E-AC3 | `plus_atmos` | `140` |
|
||||
| Dolby Atmos | `dolby_atmos` | `130` |
|
||||
| Dolby TrueHD | `truehd` | `120` |
|
||||
| DTS-HD-MA | `ma` | `110` |
|
||||
| FLAC | `flac` | `100` |
|
||||
| PCM | `pcm` | `90` |
|
||||
| DTS-HD-HRA | `hra` | `80` |
|
||||
| Dolby Digital+ | `plus` | `70` |
|
||||
| DTS-ES | `dtses` | `60` |
|
||||
| DTS | `dts` | `50` |
|
||||
| Dolby Digital | `digital` | `40` |
|
||||
| AAC | `aac` | `30` |
|
||||
| MP3 | `mp3` | `20` |
|
||||
| Opus | `opus` | `10` |
|
||||
|
||||
#### Standard Style
|
||||
|
||||
Below is a screenshot of the alternative Standard (`standard`) style which can be set via the `style` template variable.
|
||||
|
||||
![](images/audio_codec2.png)
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: audio_codec
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: audio_codec
|
||||
- pmm: audio_codec
|
||||
template_variables:
|
||||
overlay_level: season
|
||||
- pmm: audio_codec
|
||||
template_variables:
|
||||
overlay_level: episode
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file from the default settings which are provided.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do NOT want to use the default settings.
|
||||
|
||||
A key system is used to control each overlay that is created by the file. Each key refers to one overlay and is used to control multiple template variables.
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Below are the keys and what they refer to:
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
| Key | Audio Codec |
|
||||
|:-------------|:-----------------------|
|
||||
| opus | Opus |
|
||||
| mp3 | MP3 |
|
||||
| digital | Dolby Digital |
|
||||
| aac | AAC |
|
||||
| dts | DTS |
|
||||
| es | DTS-ES |
|
||||
| plus | Dolby Digital+ |
|
||||
| hra | DTS-HD-HRA |
|
||||
| pcm | PCM |
|
||||
| flac | FLAC |
|
||||
| hd | DTS-HD-MA |
|
||||
| truehd | Dolby TrueHD |
|
||||
| plus-atmos | Dolby Digital+ / E-AC3 |
|
||||
| atmos | Dolby Atmos |
|
||||
| x | DTS-X |
|
||||
| truehd-atmos | Dolby TrueHD Atmos |
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `0` |
|
||||
| `horizontal_align` | `center` |
|
||||
| `vertical_offset` | `15` |
|
||||
| `vertical_align` | `top` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `305` |
|
||||
| `back_height` | `105`/`189` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:-----------------|:-------------------------------------------------------------------------------------------------------------|
|
||||
| `style` | **Description:** Choose the Overlay Style.<br>**Default:** `compact`<br>**Values:** `compact` or `standard` |
|
||||
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
|
||||
| `weight_<<key>>` | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
|
||||
|
||||
Further information on the universal template attributes and editing Overlay Files via template variables can be found [here]()
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: audio_codec
|
||||
template_variables:
|
||||
use_opus: false
|
||||
use_mp3: false
|
||||
style: standard
|
||||
```
|
||||
|
@ -1,34 +1,73 @@
|
||||
# Audio Language Default Overlay File
|
||||
# Audio Language Overlay
|
||||
|
||||
The `audio_language` Overlay File is used to create an overlay based on the number of audio languages available on each item within your library.
|
||||
The `audio_language` Default Overlay File is used to create an overlay based on the number of audio languages available on each item within your library.
|
||||
|
||||
Example Overlays Created:
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
![](../images/audio_language_ov.png)
|
||||
**Designed for [TRaSH Guides](https://trash-guides.info/) filename naming scheme**
|
||||
|
||||
![](images/audio_language.png)
|
||||
|
||||
## Supported Audio Languages
|
||||
|
||||
| Audio Codec | Key | Weight |
|
||||
|:------------|:-------:|:------:|
|
||||
| Dual | `dual` | `20` |
|
||||
| Multi | `multi` | `10` |
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: audio_language
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: audio_language
|
||||
- pmm: audio_language
|
||||
template_variables:
|
||||
overlay_level: season
|
||||
- pmm: audio_language
|
||||
template_variables:
|
||||
overlay_level: episode
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file from the default settings which are provided.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do NOT want to use the default settings.
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
A key system is used to control each overlay that is created by the file. Each key refers to one overlay and is used to control multiple template variables.
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
Below are the keys and what they refer to:
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Key | Audio Languages |
|
||||
|:------|:---------------------------------------|
|
||||
| dual | Dual Audio (i.e. 2 languages) |
|
||||
| multi | Multi Audio (i.e. 3 or more languages) |
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `0` |
|
||||
| `horizontal_align` | `center` |
|
||||
| `vertical_offset` | `30` |
|
||||
| `vertical_align` | `bottom` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `188` |
|
||||
| `back_height` | `105` |
|
||||
|
||||
Further information on the universal template attributes and editing Overlay Files via template variables can be found [here]()
|
||||
| Variable | Description & Values |
|
||||
|:-----------------|:-------------------------------------------------------------------------------------------------------------|
|
||||
| `minimum` | **Description:** Choose the minimum for the `multi` Overlay.<br>**Default:** `2` <br>**Values:** Any Number |
|
||||
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
|
||||
| `weight_<<key>>` | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: audio_codec
|
||||
template_variables:
|
||||
use_opus: false
|
||||
use_mp3: false
|
||||
```
|
||||
|
@ -1,35 +1,99 @@
|
||||
# CommonSense Age Rating Default Overlay File
|
||||
# CommonSense Age Rating Overlay
|
||||
|
||||
The `commonsense` Overlay File is used to create an overlay based on the CommonSense Age Rating on each item within your library.
|
||||
The `commonsense` Default Overlay File is used to create an overlay based on the CommonSense Age Rating on each item within your library.
|
||||
|
||||
Note that this file requires the `mass_content_rating: mdb_commonsense` operation to be set against your library so that the content ratings are taken from CommonSense.
|
||||
Use the [Mass Content Rating Update Library Operation](../../config/operations.md#mass-content-rating-update) with either `mdb_commonsense` or `mdb_commonsense0` to update Plex to the Common Sense Rating.
|
||||
|
||||
Example Overlays Created:
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
![](../images/commonsense_ov.png)
|
||||
![](images/commonsense.png)
|
||||
|
||||
## Supported CommonSense Age Rating
|
||||
|
||||
| Rating | Key |
|
||||
|:-------|:----:|
|
||||
| 1+ | `1` |
|
||||
| 2+ | `2` |
|
||||
| 3+ | `3` |
|
||||
| 4+ | `4` |
|
||||
| 5+ | `5` |
|
||||
| 6+ | `6` |
|
||||
| 7+ | `7` |
|
||||
| 8+ | `8` |
|
||||
| 9+ | `9` |
|
||||
| 10+ | `10` |
|
||||
| 11+ | `11` |
|
||||
| 12+ | `12` |
|
||||
| 13+ | `13` |
|
||||
| 14+ | `14` |
|
||||
| 15+ | `15` |
|
||||
| 16+ | `16` |
|
||||
| 17+ | `17` |
|
||||
| 18+ | `18` |
|
||||
| NR | `nr` |
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: commonsense
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: commonsense
|
||||
- pmm: commonsense
|
||||
template_variables:
|
||||
overlay_level: season
|
||||
- pmm: commonsense
|
||||
template_variables:
|
||||
overlay_level: episode
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file from the default settings which are provided.
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do NOT want to use the default settings.
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
A key system is used to control the overlays that is created by the file. Each key refers to one overlay and is used to control multiple template variables.
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
Below are the keys and what they refer to:
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `15` |
|
||||
| `horizontal_align` | `left` |
|
||||
| `vertical_offset` | `270` |
|
||||
| `vertical_align` | `bottom` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `305` |
|
||||
| `back_height` | `105` |
|
||||
|
||||
| Key | Age Rating |
|
||||
|:------|:-----------|
|
||||
| nr | Not Rated |
|
||||
|
||||
Further information on the universal template attributes and editing Overlay Files via template variables can be found [here]()
|
||||
| Variable | Description & Values |
|
||||
|:-----------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `font` | **Description:** Choose the font for the Overlay.<br>**Default:** `fonts/Inter-Medium.ttf`<br>**Values:** Path to font file |
|
||||
| `font_style` | **Description:** Font style for Variable Fonts.<br>**Values:** Variable Font Style |
|
||||
| `font_size` | **Description:** Choose the font size for the Overlay.<br>**Default:** `55`<br>**Values:** Any Number greater then 0 |
|
||||
| `font_color` | **Description:** Choose the font color for the Overlay.<br>**Default:** `#FFFFFF`<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `stroke_width` | **Description:** Font Stroke Width for the Text Overlay.<br>**Values:** Any Number greater then 0 |
|
||||
| `stroke_color` | **Description:** Font Stroke Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `addon_offset` | **Description:** Text Addon Image Offset from the text.<br>**Default:** `15`<br>**Values:** Any Number greater then 0 |
|
||||
| `addon_position` | **Description:** Text Addon Image Alignment in relation to the text.<br>**Default:** `left`<br>**Values:** `left`, `right`, `top`, `bottom` |
|
||||
| `pre_text` | **Description:** Choose the text before the key for the Overlay.<br>**Values:** Any String |
|
||||
| `post_text` | **Description:** Choose the text after the key for the Overlay.<br>**Default:** `+`<br>**Values:** Any String |
|
||||
| `pre_nr_text` | **Description:** Choose the text before the `nr` key for the Overlay.<br>**Values:** Any String |
|
||||
| `post_nr_text` | **Description:** Choose the text after the `nr` key for the Overlay.<br>**Values:** Any String |
|
||||
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: commonsense
|
||||
template_variables:
|
||||
pre_text: "CS"
|
||||
```
|
||||
|
@ -1,23 +1,61 @@
|
||||
# Direct Play Default Overlay File
|
||||
# Direct Play Overlay
|
||||
|
||||
The `direct_play` Overlay File is used to create an overlay to indicate items that cannot be transcoded and instead only support Direct Play (i.e. if you use Tautulli to kill 4K transcoding)
|
||||
The `direct_play` Default Overlay File is used to create an overlay to indicate items that cannot be transcoded and instead only support Direct Play (i.e. if you use Tautulli to kill 4K transcoding)
|
||||
|
||||
Example Overlays Created:
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
![](../images/direct_play_ov.png)
|
||||
![](images/direct_play.png)
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: direct_play
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: direct_play
|
||||
- pmm: direct_play
|
||||
template_variables:
|
||||
overlay_level: season
|
||||
- pmm: direct_play
|
||||
template_variables:
|
||||
overlay_level: episode
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
This Overlay File has no individual template variables that can be set.
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
Further information on the universal template attributes and editing Overlay Files via template variables can be found [here]()
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `0` |
|
||||
| `horizontal_align` | `center` |
|
||||
| `vertical_offset` | `150` |
|
||||
| `vertical_align` | `bottom` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `305` |
|
||||
| `back_height` | `170` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:----------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: direct_play
|
||||
template_variables:
|
||||
overlay_level: episode
|
||||
```
|
||||
|
@ -1 +1,73 @@
|
||||
To be updated once fixed
|
||||
# Edition Overlays
|
||||
|
||||
The `audio_codec` Default Overlay File is used to create an overlay based on the audio codec available on each item within your library.
|
||||
|
||||
**This file only works with Movie Libraries.**
|
||||
|
||||
**Designed for [TRaSH Guides](https://trash-guides.info/) filename naming scheme**
|
||||
|
||||
![](images/edition.png)
|
||||
|
||||
## Supported Editions
|
||||
|
||||
| Edition | Key | Weight |
|
||||
|:--------------------|:---------------:|:------:|
|
||||
| Directors Cut | `directorscut` | `150` |
|
||||
| Extended Edition | `extended` | `140` |
|
||||
| Uncut Edition | `uncut` | `130` |
|
||||
| Unrated Edition | `unrated` | `120` |
|
||||
| Special Edition | `special` | `110` |
|
||||
| Final Cut | `finalcut` | `100` |
|
||||
| Anniversary Edition | `anniversary` | `90` |
|
||||
| Collectors Edition | `collector` | `80` |
|
||||
| International Cut | `international` | `70` |
|
||||
| Theatrical Cut | `theatrical` | `60` |
|
||||
| Ultimate Cut | `ultimate` | `50` |
|
||||
| IMAX | `imax` | `30` |
|
||||
| Remastered | `remastered` | `20` |
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: edition
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `15` |
|
||||
| `horizontal_align` | `left` |
|
||||
| `vertical_offset` | `15`/`99` |
|
||||
| `vertical_align` | `top` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `305` |
|
||||
| `back_height` | `105` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:-----------------|:-------------------------------------------------------------------------------------------------------------|
|
||||
| `weight_<<key>>` | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: edition
|
||||
template_variables:
|
||||
weight_ultimate: 95
|
||||
use_international: false
|
||||
```
|
||||
|
@ -1,24 +1,57 @@
|
||||
# Episode Info Default Overlay File
|
||||
# Episode Info Overlay
|
||||
|
||||
The `episode_info` Overlay File is used to create an overlay based on the episode numbering within a given series in your library.
|
||||
The `episode_info` Default Overlay File is used to create an overlay on the episode title card on the episode numbering within a given series in your library.
|
||||
|
||||
Note that this file should only be used against show libraries and is not expected to work against movie libraries.
|
||||
**This file only works with TV Libraries.**
|
||||
|
||||
Example Overlays Created:
|
||||
![](images/episode_info.png)
|
||||
|
||||
![](../images/episode_info_ov.png)
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: episode_info
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
This Overlay File has no individual template variables that can be set.
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `15` |
|
||||
| `horizontal_align` | `left` |
|
||||
| `vertical_offset` | `270` |
|
||||
| `vertical_align` | `bottom` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `305` |
|
||||
| `back_height` | `105` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:---------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `font` | **Description:** Choose the font for the Overlay.<br>**Default:** `fonts/Inter-Medium.ttf`<br>**Values:** Path to font file |
|
||||
| `font_style` | **Description:** Font style for Variable Fonts.<br>**Values:** Variable Font Style |
|
||||
| `font_size` | **Description:** Choose the font size for the Overlay.<br>**Default:** `55`<br>**Values:** Any Number greater then 0 |
|
||||
| `font_color` | **Description:** Choose the font color for the Overlay.<br>**Default:** `#FFFFFF`<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `stroke_width` | **Description:** Font Stroke Width for the Text Overlay.<br>**Values:** Any Number greater then 0 |
|
||||
| `stroke_color` | **Description:** Font Stroke Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
|
||||
Further information on the universal template attributes and editing Overlay Files via template variables can be found [here]()
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: episode_info
|
||||
template_variables:
|
||||
font_color: "#FFFFFF99"
|
||||
```
|
||||
|
@ -0,0 +1,84 @@
|
||||
# FlixPatrol Top Overlays
|
||||
|
||||
The `flixpatrol` Default Overlay File is used to create an overlay based on the Top Lists from FlixPatrol on items within your library.
|
||||
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
![](images/flixpatrol.png)
|
||||
|
||||
## Supported Services
|
||||
|
||||
| Service | Key | Weight |
|
||||
|:------------|:-----------:|:------:|
|
||||
| Netflix | `netflix` | `60` |
|
||||
| Disney+ | `disney` | `50` |
|
||||
| HBO | `hbo` | `40` |
|
||||
| Hulu | `hulu` | `30` |
|
||||
| Paramount+ | `paramount` | `20` |
|
||||
| Prime Video | `prime` | `10` |
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: flixpatrol
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: flixpatrol
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) except `horizontal_offset`, `horizontal_align`, `vertical_offset`, and `vertical_align` are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------------:|
|
||||
| `horizontal_offset` | `30` |
|
||||
| `horizontal_align` | `left`/`right` |
|
||||
| `vertical_offset` | `465`/`670`/`875` |
|
||||
| `vertical_align` | `top` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `160` |
|
||||
| `back_height` | `160` |
|
||||
| `back_padding` | `15` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:----------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `position` | **Description:** Changes the position of the Overlays.<br>**Default:** `right`<br>**Values:** `right`, `left`, or List of Coordinates |
|
||||
| `style` | **Description:** Changes the style of the Logo Image.<br>**Default:** `round`<br>**Values:** `round` or `square` |
|
||||
| `pre_text` | **Description:** Changes the text before the number.<br>**Default:** `TOP`<br>**Values:** Any String |
|
||||
| `limit` | **Description:** Changes the Builder Limit for all overlays in a Defaults file.<br>**Default:** `10`<br>**Values:** Any Number greater then 0 |
|
||||
| `limit_<<key>>` | **Description:** Changes the Builder Limit of the specified key's overlay.<br>**Default:** `limit`<br>**Values:** Any Number greater then 0 |
|
||||
| `location` | **Description:** Changes the Builder Location for all overlays in a Defaults file.<br>**Default:** `world`<br>**Values:** [`location` Attribute Options](../../metadata/builders/flixpatrol.md#top-platform-attributes) |
|
||||
| `location_<<key>>` | **Description:** Changes the Builder Location of the specified key's overlay.<br>**Default:** `location`<br>**Values:** [`location` Attribute Options](../../metadata/builders/flixpatrol.md#top-platform-attributes) |
|
||||
| `time_window` | **Description:** Changes the Builder Time Window for all overlays in a Defaults file.<br>**Default:** `last_week`<br>**Values:** [`time_window` Attribute Options](../../metadata/builders/flixpatrol.md#top-platform-attributes) |
|
||||
| `time_window_<<key>>` | **Description:** Changes the Builder Time Window of the specified key's overlay.<br>**Default:** `time_window`<br>**Values:** [`time_window` Attribute Options](../../metadata/builders/flixpatrol.md#top-platform-attributes) |
|
||||
| `weight_<<key>>` | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
|
||||
| `font` | **Description:** Choose the font for the Overlay.<br>**Default:** `fonts/Inter-Medium.ttf`<br>**Values:** Path to font file |
|
||||
| `font_style` | **Description:** Font style for Variable Fonts.<br>**Values:** Variable Font Style |
|
||||
| `font_size` | **Description:** Choose the font size for the Overlay.<br>**Default:** `50`<br>**Values:** Any Number greater then 0 |
|
||||
| `font_color` | **Description:** Choose the font color for the Overlay.<br>**Default:** `#FFFFFF`<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `stroke_width` | **Description:** Font Stroke Width for the Text Overlay.<br>**Values:** Any Number greater then 0 |
|
||||
| `stroke_color` | **Description:** Font Stroke Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `addon_offset` | **Description:** Text Addon Image Offset from the text.<br>**Default:** `30`<br>**Values:** Any Number greater then 0 |
|
||||
| `addon_position` | **Description:** Text Addon Image Alignment in relation to the text.<br>**Default:** `top`<br>**Values:** `left`, `right`, `top`, `bottom` |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: flixpatrol
|
||||
template_variables:
|
||||
location: united_states
|
||||
```
|
@ -1,104 +0,0 @@
|
||||
queues:
|
||||
flixpatrol_position:
|
||||
right:
|
||||
- horizontal_offset: 30 # This is the first position
|
||||
horizontal_align: right
|
||||
vertical_offset: 465
|
||||
vertical_align: top
|
||||
- horizontal_offset: 30 # This is the second position
|
||||
horizontal_align: right
|
||||
vertical_offset: 670
|
||||
vertical_align: top
|
||||
- horizontal_offset: 30 # This is the third position
|
||||
horizontal_align: right
|
||||
vertical_offset: 875
|
||||
vertical_align: top
|
||||
left:
|
||||
- horizontal_offset: 30 # This is the first position
|
||||
horizontal_align: left
|
||||
vertical_offset: 465
|
||||
vertical_align: top
|
||||
- horizontal_offset: 30 # This is the second position
|
||||
horizontal_align: left
|
||||
vertical_offset: 670
|
||||
vertical_align: top
|
||||
- horizontal_offset: 30 # This is the third position
|
||||
horizontal_align: left
|
||||
vertical_offset: 875
|
||||
vertical_align: top
|
||||
|
||||
templates:
|
||||
FlixPatrol:
|
||||
optional:
|
||||
- use_<<key>>
|
||||
- time_window_<<key>>
|
||||
- location_<<key>>
|
||||
- overlay_level
|
||||
default:
|
||||
style: round
|
||||
overlay: <<overlay_name>>
|
||||
slug: <<key>>
|
||||
horizontal_offset: 15
|
||||
horizontal_align: left
|
||||
vertical_offset: 15
|
||||
vertical_align: top
|
||||
font: fonts/Inter-Bold.ttf
|
||||
font_size: 50
|
||||
font_color: "#FFFFFF"
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
back_width: 165
|
||||
back_height: 165
|
||||
back_align: center
|
||||
back_padding: 15
|
||||
addon_position: top
|
||||
addon_offset: 30
|
||||
time_window: last_week
|
||||
time_window_<<key>>: <<time_window>>
|
||||
location: united_states
|
||||
location_<<key>>: <<location>>
|
||||
limit: 10
|
||||
limit_<<key>>: <<limit>>
|
||||
weight_<<key>>: <<weight>>
|
||||
overlay_level: <<overlay_level>>
|
||||
ignore_blank_results: true
|
||||
allowed_library_types: <<use_<<key>>>>
|
||||
overlay:
|
||||
name: text(TOP<<limit>>)
|
||||
queue: flixpatrol_position
|
||||
weight: <<weight_<<key>>>>
|
||||
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_radius: <<back_radius>>
|
||||
back_color: <<back_color>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
back_align: <<back_align>>
|
||||
back_padding: <<back_padding>>
|
||||
pmm: logo/<<style>>/<<key>>
|
||||
addon_position: <<addon_position>>
|
||||
addon_offset: <<addon_offset>>
|
||||
flixpatrol_top:
|
||||
platform: <<slug>>
|
||||
location: <<location_<<key>>>>
|
||||
time_window: <<time_window_<<key>>>>
|
||||
limit: <<limit_<<key>>>>
|
||||
|
||||
overlays:
|
||||
Netflix:
|
||||
template: {name: FlixPatrol, weight: 600, key: netflix}
|
||||
Disney:
|
||||
template: {name: FlixPatrol, weight: 500, key: disney}
|
||||
HBO:
|
||||
template: {name: FlixPatrol, weight: 400, key: hbo}
|
||||
Hulu:
|
||||
template: {name: FlixPatrol, weight: 300, key: hulu}
|
||||
Paramount:
|
||||
template: {name: FlixPatrol, weight: 200, key: paramount, slug: paramount_plus}
|
||||
Prime:
|
||||
template: {name: FlixPatrol, weight: 100, key: prime, slug: amazon_prime}
|
Before Width: | Height: | Size: 319 KiB After Width: | Height: | Size: 319 KiB |
Before Width: | Height: | Size: 318 KiB After Width: | Height: | Size: 318 KiB |
Before Width: | Height: | Size: 318 KiB After Width: | Height: | Size: 318 KiB |
Before Width: | Height: | Size: 318 KiB After Width: | Height: | Size: 318 KiB |
Before Width: | Height: | Size: 424 KiB After Width: | Height: | Size: 424 KiB |
@ -0,0 +1,48 @@
|
||||
# MediaStinger Overlay
|
||||
|
||||
The `mediastinger` Default Overlay File is used to create an overlay based on if there's an after/during credit scene on each movie within your library.
|
||||
|
||||
**This file only works with Movie Libraries.**
|
||||
|
||||
![](images/mediastinger.png)
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: mediastinger
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `200` |
|
||||
| `horizontal_align` | `right` |
|
||||
| `vertical_offset` | `15` |
|
||||
| `vertical_align` | `top` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `105` |
|
||||
| `back_height` | `105` |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: mediastinger
|
||||
template_variables:
|
||||
font_color: "#FFFFFF99"
|
||||
```
|
@ -1,63 +0,0 @@
|
||||
#############################################################
|
||||
# Mediastinger Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
#############################################################
|
||||
# Call this from your config.yml (Movie or Show): #
|
||||
# overlay_path: #
|
||||
# - git: PMM/overlays/mediastinger #
|
||||
# template_variables: #
|
||||
# # Set episode or season to overlay #
|
||||
# overlay_level: #
|
||||
# # Set the horizontal offset for the overlay #
|
||||
# horizontal_offset: 200 #
|
||||
# # Set the horizontal align for the overlay #
|
||||
# horizontal_align: right #
|
||||
# # Set the vertical offset for the overlay #
|
||||
# vertical_offset: 15 #
|
||||
# # Set the vertical align for the overlay #
|
||||
# vertical_align: top #
|
||||
# # 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: 105 #
|
||||
# # Set the back height for the overlay #
|
||||
# back_height: 105 #
|
||||
#############################################################
|
||||
|
||||
templates:
|
||||
stinger:
|
||||
optional:
|
||||
- overlay_level
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
horizontal_offset: 200
|
||||
horizontal_align: right
|
||||
vertical_offset: 15
|
||||
vertical_align: top
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
back_width: 105
|
||||
back_height: 105
|
||||
overlay_level: <<overlay_level>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: Mediastinger
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
|
||||
overlays:
|
||||
Mediastinger:
|
||||
template:
|
||||
- name: stinger
|
||||
plex_all: true
|
||||
filters:
|
||||
tmdb_keyword: aftercreditsstinger, duringcreditsstinger
|
@ -0,0 +1,144 @@
|
||||
# Ratings Overlays
|
||||
|
||||
The `ratings` Default Overlay File is used to create an overlay based on if there's an after credit scene on each item within your library.
|
||||
|
||||
This file only updates the overlays based on the data in Plex. Use the [Mass * Rating Update Library Operation](../../config/operations.md#mass--rating-update) and the [Mass Episode * Rating Update Library Operation](../../config/operations.md#mass-episode--rating-update) to update Plex to the Ratings you want on the Overlay.
|
||||
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
**If no template variables are set this file will do nothing.**
|
||||
|
||||
![](images/ratings.png)
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: ratings
|
||||
template_variables:
|
||||
rating1: critic
|
||||
rating2: audience
|
||||
rating3: user
|
||||
rating1_image: imdb
|
||||
rating2_image: rt_popcorn
|
||||
rating3_image: tmdb
|
||||
operations:
|
||||
mass_critic_rating_update: imdb
|
||||
mass_audience_rating_update: mdb_tomatoesaudience
|
||||
mass_user_rating_update: tmdb
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: ratings
|
||||
template_variables:
|
||||
rating1: critic
|
||||
rating2: audience
|
||||
rating3: user
|
||||
rating1_image: imdb
|
||||
rating2_image: rt_popcorn
|
||||
rating3_image: tmdb
|
||||
- pmm: ratings
|
||||
template_variables:
|
||||
overlay_level: episode
|
||||
rating1: critic
|
||||
rating2: audience
|
||||
rating1_image: imdb
|
||||
rating2_image: tmdb
|
||||
operations:
|
||||
mass_critic_rating_update: imdb
|
||||
mass_audience_rating_update: mdb_tomatoesaudience
|
||||
mass_user_rating_update: tmdb
|
||||
mass_episode_critic_rating_update: imdb
|
||||
mass_episode_audience_rating_update: tmdb
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
All [Shared Overlay Variables](variables) can be appended by `rating1_`, `rating2_`, or `rating3_` to change that attribute on each rating individually.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `200` |
|
||||
| `horizontal_align` | `right` |
|
||||
| `vertical_offset` | `15` |
|
||||
| `vertical_align` | `top` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `105` |
|
||||
| `back_height` | `105` |
|
||||
| `back_padding` | `15` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_height` | `105` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:-----------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `rating1` | **Description:** Choose the rating to display in rating1.<br>**Values:** `critic`, `audience`, or `user` |
|
||||
| `rating1_image` | **Description:** Choose the rating image to display in rating1.<br>**Values:** `anidb`, `imdb`, `letterboxd`, `tmdb`, `metacritic`, `rt_popcorn`, `rt_tomato`, `trakt`, or `mal` |
|
||||
| `rating2` | **Description:** Choose the rating to display in rating2.<br>**Values:** `critic`, `audience`, or `user` |
|
||||
| `rating2_image` | **Description:** Choose the rating image to display in rating2.<br>**Values:** `anidb`, `imdb`, `letterboxd`, `tmdb`, `metacritic`, `rt_popcorn`, `rt_tomato`, `trakt`, or `mal` |
|
||||
| `rating3` | **Description:** Choose the rating to display in rating3.<br>**Values:** `critic`, `audience`, or `user` |
|
||||
| `rating3_image` | **Description:** Choose the rating image to display in rating3.<br>**Values:** `anidb`, `imdb`, `letterboxd`, `tmdb`, `metacritic`, `rt_popcorn`, `rt_tomato`, `trakt`, or `mal` |
|
||||
| `horizontal_position` | **Description:** Choose the horizontal position for the rating group.<br>**Values:** `left`, `right`, or `center` |
|
||||
| `vertical_position` | **Description:** Choose the vertical position for the rating group.<br>**Values:** `top`, `bottom`, or `center` |
|
||||
| `rating_alignment` | **Description:** Choose the display alignment for the rating group.<br>**Values:** `horizontal`, or `vertical` |
|
||||
| `font`<sup>1</sup> | **Description:** Choose the font for the Overlay.<br>**Default:** `fonts/Inter-Bold.ttf`<br>**Values:** Path to font file |
|
||||
| `font_style`<sup>1</sup> | **Description:** Font style for Variable Fonts.<br>**Values:** Variable Font Style |
|
||||
| `font_size`<sup>1</sup> | **Description:** Choose the font size for the Overlay.<br>**Default:** `63`<br>**Values:** Any Number greater then 0 |
|
||||
| `font_color`<sup>1</sup> | **Description:** Choose the font color for the Overlay.<br>**Default:** `#FFFFFF`<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `stroke_width`<sup>1</sup> | **Description:** Font Stroke Width for the Text Overlay.<br>**Values:** Any Number greater then 0 |
|
||||
| `stroke_color`<sup>1</sup> | **Description:** Font Stroke Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `addon_offset`<sup>1</sup> | **Description:** Text Addon Image Offset from the text.<br>**Default:** `15`<br>**Values:** Any Number greater then 0 |
|
||||
| `addon_position`<sup>1</sup> | **Description:** Text Addon Image Alignment in relation to the text.<br>**Default:** `left`<br>**Values:** `left`, `right`, `top`, `bottom` |
|
||||
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `episode` |
|
||||
|
||||
1. These Variables can be appended by `rating1_`, `rating2_`, or `rating3_` to change that attribute on each rating individually.
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: ratings
|
||||
template_variables:
|
||||
rating1: critic
|
||||
rating2: audience
|
||||
rating3: user
|
||||
rating1_image: imdb
|
||||
rating2_image: rt_popcorn
|
||||
rating3_image: tmdb
|
||||
operations:
|
||||
mass_critic_rating_update: imdb
|
||||
mass_audience_rating_update: mdb_tomatoesaudience
|
||||
mass_user_rating_update: tmdb
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: ratings
|
||||
template_variables:
|
||||
rating1: critic
|
||||
rating2: audience
|
||||
rating3: user
|
||||
rating1_image: imdb
|
||||
rating2_image: rt_popcorn
|
||||
rating3_image: tmdb
|
||||
- pmm: ratings
|
||||
template_variables:
|
||||
overlay_level: episode
|
||||
rating1: critic
|
||||
rating2: audience
|
||||
rating1_image: imdb
|
||||
rating2_image: tmdb
|
||||
operations:
|
||||
mass_critic_rating_update: imdb
|
||||
mass_audience_rating_update: mdb_tomatoesaudience
|
||||
mass_user_rating_update: tmdb
|
||||
mass_episode_critic_rating_update: imdb
|
||||
mass_episode_audience_rating_update: tmdb
|
||||
```
|
@ -1,520 +0,0 @@
|
||||
#############################################################
|
||||
# Ratings Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
#############################################################
|
||||
# Call this from your config.yml (Movie or Show): #
|
||||
# If nothing is specified nothing will show up at least #
|
||||
# one rating# must be set #
|
||||
# #
|
||||
# overlay_path: #
|
||||
# - git: PMM/overlays/ratings #
|
||||
# template_variables: #
|
||||
# #
|
||||
# # Set rating type for rating1, rating2, and/or #
|
||||
# rating3 #
|
||||
# # Rating Types: critic, audience, user #
|
||||
# #
|
||||
# rating1: critic #
|
||||
# rating2: audience #
|
||||
# rating3: user #
|
||||
# #
|
||||
# # Set rating image for rating1, rating2, and/or #
|
||||
# rating3 #
|
||||
# # Rating Images: anidb, imdb, letterboxd, tmdb, #
|
||||
# metacritic, rt_popcorn, rt_tomato, trakt, #
|
||||
# mal #
|
||||
# #
|
||||
# rating1_image: imdb #
|
||||
# rating2_image: rt_popcorn #
|
||||
# rating3_image: tmdb #
|
||||
# #
|
||||
# # Sets the position to display the ratings #
|
||||
# # horizontal_position: left, right, center #
|
||||
# # vertical_position: top, bottom, center #
|
||||
# #
|
||||
# horizontal_position: left #
|
||||
# vertical_position: center #
|
||||
# #
|
||||
# # Sets the alignment to display the ratings #
|
||||
# # rating_alignment: horizontal, vertical #
|
||||
# #
|
||||
# rating_alignment: vertical #
|
||||
# #
|
||||
# # Set as 'episode' to overlay episodes #
|
||||
# #
|
||||
# overlay_level: #
|
||||
# #
|
||||
# Movies: #
|
||||
# overlay_path: #
|
||||
# - git: PMM/overlays/ratings #
|
||||
# template_variables: #
|
||||
# rating1: critic #
|
||||
# rating2: audience #
|
||||
# rating3: user #
|
||||
# rating1_image: imdb #
|
||||
# rating2_image: rt_popcorn #
|
||||
# rating3_image: tmdb #
|
||||
# operations: #
|
||||
# mass_critic_rating_update: imdb #
|
||||
# mass_audience_rating_update: mdb_tomatoesaudience #
|
||||
# mass_user_rating_update: tmdb #
|
||||
# TV Shows: #
|
||||
# overlay_path: #
|
||||
# - git: PMM/overlays/ratings #
|
||||
# template_variables: #
|
||||
# rating1: critic #
|
||||
# rating2: audience #
|
||||
# rating3: user #
|
||||
# rating1_image: imdb #
|
||||
# rating2_image: rt_popcorn #
|
||||
# rating3_image: tmdb #
|
||||
# - git: PMM/overlays/ratings #
|
||||
# template_variables: #
|
||||
# rating1: critic #
|
||||
# rating2: audience #
|
||||
# rating1_image: imdb #
|
||||
# rating2_image: tmdb #
|
||||
# operations: #
|
||||
# mass_critic_rating_update: imdb #
|
||||
# mass_audience_rating_update: mdb_tomatoesaudience #
|
||||
# mass_user_rating_update: tmdb #
|
||||
# mass_episode_critic_rating_update: imdb #
|
||||
# mass_episode_audience_rating_update: tmdb #
|
||||
#############################################################
|
||||
|
||||
templates:
|
||||
Rating:
|
||||
optional:
|
||||
- overlay_level
|
||||
default:
|
||||
font: fonts/Inter-Bold.ttf
|
||||
font_size: 63
|
||||
rating<<rating_num>>_font: <<font>>
|
||||
rating<<rating_num>>_font_size: <<font_size>>
|
||||
weight: 100
|
||||
side: left
|
||||
horizontal_position: left
|
||||
vertical_position: center
|
||||
rating_alignment: vertical
|
||||
rating1: none
|
||||
rating2: none
|
||||
rating3: none
|
||||
center_offset: 0
|
||||
standard_offset: 30
|
||||
v2_offset: 235
|
||||
v3_offset: 440
|
||||
cv2_offset: 105
|
||||
cv3_offset: 205
|
||||
h2_offset: 345
|
||||
h3_offset: 660
|
||||
ch2_offset: 160
|
||||
ch3_offset: 335
|
||||
conditionals:
|
||||
mdblist_top:
|
||||
conditions:
|
||||
- image_level: Top
|
||||
rating<<rating_num>>_image: rt_tomato
|
||||
value: https://mdblist.com/lists/plexmetamanager/certifiedfresh<<library_type>>s
|
||||
- image_level: Top
|
||||
rating<<rating_num>>_image: metacritic
|
||||
value: https://mdblist.com/lists/plexmetamanager/metacriticmustsee<<library_type>>s
|
||||
imdb_top:
|
||||
conditions:
|
||||
- image_level: Top
|
||||
rating<<rating_num>>_image: imdb
|
||||
value: top_<<library_type>>s
|
||||
run_this:
|
||||
default: true
|
||||
conditions:
|
||||
- image_level: Top
|
||||
rating<<rating_num>>_image: [anidb, letterboxd, rt_popcorn, mdblist, tmdb, trakt, mal]
|
||||
value: false
|
||||
- image_level: Top
|
||||
overlay_level: episode
|
||||
value: false
|
||||
- rating<<rating_num>>: none
|
||||
value: false
|
||||
rating<<rating_num>>_style:
|
||||
default: ""
|
||||
conditions:
|
||||
- rating<<rating_num>>_image: [rt_popcorn, rt_tomato, tmdb]
|
||||
value: "%"
|
||||
- rating<<rating_num>>_image: metacritic
|
||||
value: "0"
|
||||
image_extra:
|
||||
default: ""
|
||||
conditions:
|
||||
- rating<<rating_num>>_image: [imdb, rt_tomato, metacritic]
|
||||
image_level: Top
|
||||
value: Top
|
||||
- rating<<rating_num>>_image: [rt_popcorn, rt_tomato]
|
||||
value: <<image_level>>
|
||||
rating<<rating_num>>_image_url:
|
||||
conditions:
|
||||
- rating<<rating_num>>_image: anidb
|
||||
value: Anidb
|
||||
- rating<<rating_num>>_image: imdb
|
||||
value: IMDb
|
||||
- rating<<rating_num>>_image: letterboxd
|
||||
value: Letterboxd
|
||||
- rating<<rating_num>>_image: mdblist
|
||||
value: MDBList
|
||||
- rating<<rating_num>>_image: metacritic
|
||||
value: Metacritic
|
||||
- rating<<rating_num>>_image: rt_popcorn
|
||||
value: RT-Aud-
|
||||
- rating<<rating_num>>_image: rt_tomato
|
||||
value: RT-Crit-
|
||||
- rating<<rating_num>>_image: tmdb
|
||||
value: TMDb
|
||||
- rating<<rating_num>>_image: trakt
|
||||
value: Trakt
|
||||
- rating<<rating_num>>_image: mal
|
||||
value: MAL
|
||||
rating<<rating_num>>_horizontal_align:
|
||||
default: left
|
||||
conditions:
|
||||
- horizontal_position: right
|
||||
value: right
|
||||
- horizontal_position: center
|
||||
value: center
|
||||
rating<<rating_num>>_vertical_align:
|
||||
default: center
|
||||
conditions:
|
||||
- vertical_position: top
|
||||
value: top
|
||||
- vertical_position: bottom
|
||||
value: bottom
|
||||
rating1_horizontal_offset:
|
||||
default: <<standard_offset>>
|
||||
conditions:
|
||||
- rating_alignment: vertical
|
||||
horizontal_position: center
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
rating2: none
|
||||
rating3: none
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
rating2: none
|
||||
value: -<<ch2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
rating3: none
|
||||
value: -<<ch2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
value: -<<ch3_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: right
|
||||
rating2: none
|
||||
rating3: none
|
||||
value: <<standard_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: right
|
||||
rating2: none
|
||||
value: <<h2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: right
|
||||
rating3: none
|
||||
value: <<h2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: right
|
||||
value: <<h3_offset>>
|
||||
rating1_vertical_offset:
|
||||
default: <<standard_offset>>
|
||||
conditions:
|
||||
- rating_alignment: horizontal
|
||||
vertical_position: center
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
rating2: none
|
||||
rating3: none
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
rating2: none
|
||||
value: -<<cv2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
rating3: none
|
||||
value: -<<cv2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
value: -<<cv3_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: bottom
|
||||
rating2: none
|
||||
rating3: none
|
||||
value: <<standard_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: bottom
|
||||
rating2: none
|
||||
value: <<v2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: bottom
|
||||
rating3: none
|
||||
value: <<v2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: bottom
|
||||
value: <<v3_offset>>
|
||||
rating2_horizontal_offset:
|
||||
default: <<standard_offset>>
|
||||
conditions:
|
||||
- rating_alignment: vertical
|
||||
horizontal_position: center
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
rating1: none
|
||||
rating3: none
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
rating1: none
|
||||
value: -<<ch2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
rating3: none
|
||||
value: -<<ch2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
value: -<<ch3_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: right
|
||||
rating1: none
|
||||
rating3: none
|
||||
value: <<standard_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: right
|
||||
rating1: none
|
||||
value: <<h2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: right
|
||||
rating3: none
|
||||
value: <<h2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: right
|
||||
value: <<h3_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: left
|
||||
rating1: none
|
||||
value: <<standard_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: left
|
||||
value: <<h2_offset>>
|
||||
rating2_vertical_offset:
|
||||
default: <<standard_offset>>
|
||||
conditions:
|
||||
- rating_alignment: horizontal
|
||||
vertical_position: center
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
rating1: none
|
||||
rating3: none
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
rating1: none
|
||||
value: -<<cv2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
rating3: none
|
||||
value: <<cv2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: bottom
|
||||
rating1: none
|
||||
rating3: none
|
||||
value: <<standard_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: bottom
|
||||
rating1: none
|
||||
value: <<v2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: bottom
|
||||
rating3: none
|
||||
value: <<standard_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: bottom
|
||||
value: <<v2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: top
|
||||
rating1: none
|
||||
value: <<standard_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: top
|
||||
value: <<v2_offset>>
|
||||
rating3_horizontal_offset:
|
||||
default: <<standard_offset>>
|
||||
conditions:
|
||||
- rating_alignment: vertical
|
||||
horizontal_position: center
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
rating1: none
|
||||
rating2: none
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
rating1: none
|
||||
value: <<ch2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
rating2: none
|
||||
value: <<ch2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: center
|
||||
value: <<ch3_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: left
|
||||
rating1: none
|
||||
rating2: none
|
||||
value: <<standard_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: left
|
||||
rating1: none
|
||||
value: <<h2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: left
|
||||
rating2: none
|
||||
value: <<h2_offset>>
|
||||
- rating_alignment: horizontal
|
||||
horizontal_position: left
|
||||
value: <<h3_offset>>
|
||||
rating3_vertical_offset:
|
||||
default: <<standard_offset>>
|
||||
conditions:
|
||||
- rating_alignment: horizontal
|
||||
vertical_position: center
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
rating1: none
|
||||
rating2: none
|
||||
value: <<center_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
rating1: none
|
||||
value: <<cv2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
rating2: none
|
||||
value: <<cv2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: center
|
||||
value: <<cv3_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: top
|
||||
rating1: none
|
||||
rating2: none
|
||||
value: <<standard_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: top
|
||||
rating1: none
|
||||
value: <<v2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: top
|
||||
rating2: none
|
||||
value: <<v2_offset>>
|
||||
- rating_alignment: vertical
|
||||
vertical_position: top
|
||||
value: <<v3_offset>>
|
||||
back_width:
|
||||
default: 160
|
||||
conditions:
|
||||
- rating_alignment: horizontal
|
||||
value: 270
|
||||
back_height:
|
||||
default: 160
|
||||
conditions:
|
||||
- rating_alignment: horizontal
|
||||
value: 80
|
||||
addon_position:
|
||||
default: top
|
||||
conditions:
|
||||
- rating_alignment: horizontal
|
||||
value: left
|
||||
gte:
|
||||
default: 0.0
|
||||
conditions:
|
||||
- image_level: Fresh
|
||||
value: 6.0
|
||||
lte:
|
||||
default: 6.0
|
||||
conditions:
|
||||
- image_level: Fresh
|
||||
value: 10.0
|
||||
gsuffix:
|
||||
conditions:
|
||||
- rating<<rating_num>>: [critic, audience, user]
|
||||
image_level: [Fresh, Rotten]
|
||||
value: gte
|
||||
lsuffix:
|
||||
conditions:
|
||||
- rating<<rating_num>>: [critic, audience, user]
|
||||
image_level: Fresh
|
||||
value: lte
|
||||
- rating<<rating_num>>: [critic, audience, user]
|
||||
image_level: Rotten
|
||||
value: lt
|
||||
plex_search:
|
||||
all:
|
||||
<<rating<<rating_num>>>>_rating.<<gsuffix>>: <<gte>>
|
||||
<<rating<<rating_num>>>>_rating.<<lsuffix>>: <<lte>>
|
||||
mdblist_list: <<mdblist_top>>
|
||||
imdb_chart: <<imdb_top>>
|
||||
collection_level: <<overlay_level>>
|
||||
allowed_library_types: <<run_this>>
|
||||
ignore_blank_results: true
|
||||
overlay:
|
||||
name: text(<<rating<<rating_num>>>>_rating<<rating<<rating_num>>_style>>)
|
||||
horizontal_offset: <<rating<<rating_num>>_horizontal_offset>>
|
||||
horizontal_align: <<rating<<rating_num>>_horizontal_align>>
|
||||
vertical_offset: <<rating<<rating_num>>_vertical_offset>>
|
||||
vertical_align: <<rating<<rating_num>>_vertical_align>>
|
||||
group: rating<<rating_num>>_group
|
||||
weight: <<weight>>
|
||||
font: <<rating<<rating_num>>_font>>
|
||||
font_size: <<rating<<rating_num>>_font_size>>
|
||||
font_color: "#FFFFFF"
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
back_align: center
|
||||
back_padding: 15
|
||||
pmm: rating/<<rating<<rating_num>>_image_url>><<image_extra>>
|
||||
addon_position: <<addon_position>>
|
||||
addon_offset: 15
|
||||
|
||||
overlays:
|
||||
|
||||
Rating1Rotten:
|
||||
template: {name: Rating, rating_num: "1", image_level: Rotten}
|
||||
Rating1Fresh:
|
||||
template: {name: Rating, rating_num: "1", image_level: Fresh}
|
||||
Rating1Top:
|
||||
template: {name: Rating, weight: 110, rating_num: "1", image_level: Top}
|
||||
|
||||
Rating2Rotten:
|
||||
template: {name: Rating, rating_num: "2", image_level: Rotten}
|
||||
Rating2Fresh:
|
||||
template: {name: Rating, rating_num: "2", image_level: Fresh}
|
||||
Rating2Top:
|
||||
template: {name: Rating, weight: 110, rating_num: "2", image_level: Top}
|
||||
|
||||
Rating3Rotten:
|
||||
template: {name: Rating, rating_num: "3", image_level: Rotten}
|
||||
Rating3Fresh:
|
||||
template: {name: Rating, rating_num: "3", image_level: Fresh}
|
||||
Rating3Top:
|
||||
template: {name: Rating, weight: 110, rating_num: "3", image_level: Top}
|
@ -0,0 +1,103 @@
|
||||
# Resolution/Edition Overlay
|
||||
|
||||
The `resolution` Default Overlay File is used to create an overlay based on the resolutions and editions available on each item within your library.
|
||||
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
**Designed for [TRaSH Guides](https://trash-guides.info/) filename naming scheme**
|
||||
|
||||
![](images/resolution.png)
|
||||
|
||||
## Supported Resolutions
|
||||
|
||||
| Resolution | Key |
|
||||
|:---------------|:---------:|
|
||||
| 4K | `4k` |
|
||||
| 1080P | `1080p` |
|
||||
| 720P | `720p` |
|
||||
| 576P | `576p` |
|
||||
| 480P | `480p` |
|
||||
| DV | `dv` |
|
||||
| HDR | `hdr` |
|
||||
|
||||
## Supported Editions
|
||||
|
||||
| Edition | Key | Weight |
|
||||
|:--------------------|:---------------:|:------:|
|
||||
| Director's Cut | `directorscut` | `150` |
|
||||
| Extended Edition | `extended` | `140` |
|
||||
| Uncut Edition | `uncut` | `130` |
|
||||
| Unrated Edition | `unrated` | `120` |
|
||||
| Special Edition | `special` | `110` |
|
||||
| Final Cut | `finalcut` | `100` |
|
||||
| Anniversary Edition | `anniversary` | `90` |
|
||||
| Collector's Edition | `collector` | `80` |
|
||||
| International Cut | `international` | `70` |
|
||||
| Theatrical Cut | `theatrical` | `60` |
|
||||
| Ultimate Cut | `ultimate` | `50` |
|
||||
| IMAX Enhanced | `enhanced` | `40` |
|
||||
| IMAX | `imax` | `30` |
|
||||
| Remastered | `remastered` | `20` |
|
||||
| Criterion | `criterion` | `10` |
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: resolution
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: resolution
|
||||
- pmm: resolution
|
||||
template_variables:
|
||||
overlay_level: season
|
||||
- pmm: resolution
|
||||
template_variables:
|
||||
overlay_level: episode
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `15` |
|
||||
| `horizontal_align` | `left` |
|
||||
| `vertical_offset` | `15` |
|
||||
| `vertical_align` | `top` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `305` |
|
||||
| `back_height` | `105`/`189` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:-----------------|:-----------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `use_resolution` | **Description:** Turns off all Resolution Overlays in the Defaults file.<br>**Values:** `false` to turn off the overlays |
|
||||
| `use_edition` | **Description:** Turns off all Edition Overlays in the Defaults file.<br>**Values:** `false` to turn off the overlays |
|
||||
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
|
||||
| `weight_<<key>>` | **Description:** Controls the weight of the Overlay. Higher numbers have priority. **Only works with Edition keys.**<br>**Values:** Any Number |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: resolution
|
||||
template_variables:
|
||||
use_dv: false
|
||||
use_hdr: false
|
||||
use_1080p: false
|
||||
use_720p: false
|
||||
use_576p: false
|
||||
use_480p: false
|
||||
```
|
@ -1,192 +0,0 @@
|
||||
#############################################################
|
||||
# Resolution Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
# https://metamanager.wiki/en/latest/defaults/overlays/resolution.html #
|
||||
#############################################################
|
||||
|
||||
templates:
|
||||
Resolution:
|
||||
conditionals:
|
||||
res:
|
||||
conditions:
|
||||
- resolution: 4k
|
||||
value: "(?i)2160|4k"
|
||||
- resolution: 1080p
|
||||
value: "(?i)1080|2k"
|
||||
- resolution: 720p
|
||||
value: "(?i)720|hd"
|
||||
- resolution: 576p
|
||||
value: "(?i)576"
|
||||
- resolution: 480p
|
||||
value: "(?i)480|sd"
|
||||
dolby_vision:
|
||||
conditions:
|
||||
- alt: dv
|
||||
value: true
|
||||
hdr:
|
||||
conditions:
|
||||
- alt: hdr
|
||||
value: true
|
||||
back_align:
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value: top
|
||||
back_height:
|
||||
default: 105
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value: 189
|
||||
suppress_overlays:
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value:
|
||||
- Directors-Cut
|
||||
- Extended-Edition
|
||||
- Uncut-Edition
|
||||
- Unrated-Edition
|
||||
- Special-Edition
|
||||
- Final-Cut
|
||||
- Anniversary-Edition
|
||||
- Collectors-Edition
|
||||
- International-Cut
|
||||
- Theatrical-Cut
|
||||
- Ultimate-Cut
|
||||
- IMAX-E
|
||||
- IMAX
|
||||
- Remastered
|
||||
- Criterion
|
||||
- dovetail: false
|
||||
value:
|
||||
- <<overlay_name>>-Dovetail
|
||||
optional:
|
||||
- overlay_level
|
||||
- use_<<resolution>>
|
||||
- use_<<alt>>
|
||||
- all
|
||||
default:
|
||||
resolution: ""
|
||||
alt: ""
|
||||
horizontal_offset: 15
|
||||
horizontal_align: left
|
||||
vertical_offset: 15
|
||||
vertical_align: top
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
back_width: 305
|
||||
collection_level: <<overlay_level>>
|
||||
ignore_blank_results: true
|
||||
allowed_library_types:
|
||||
- <<use_<<resolution>>>>
|
||||
- <<use_<<alt>>>>
|
||||
suppress_overlays: <<suppress_overlays>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: resolution/<<resolution>><<alt>>
|
||||
group: res
|
||||
weight: <<weight>>
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
back_align: <<back_align>>
|
||||
plex_all: <<all>>
|
||||
plex_search:
|
||||
all:
|
||||
resolution.regex: <<res>>
|
||||
hdr: <<hdr>>
|
||||
filters:
|
||||
has_dolby_vision: <<dolby_vision>>
|
||||
|
||||
overlays:
|
||||
|
||||
4K-DV:
|
||||
template: {name: Resolution, weight: 150, resolution: 4k, alt: dv, dovetail: false}
|
||||
4K-DV-Dovetail:
|
||||
template: {name: Resolution, weight: 150, resolution: 4k, alt: dv, dovetail: true}
|
||||
|
||||
4K-HDR:
|
||||
template: {name: Resolution, weight: 140, resolution: 4k, alt: hdr, dovetail: false}
|
||||
4K-HDR-Dovetail:
|
||||
template: {name: Resolution, weight: 140, resolution: 4k, alt: hdr, dovetail: true}
|
||||
|
||||
4K:
|
||||
template: {name: Resolution, weight: 130, resolution: 4k, dovetail: false}
|
||||
4K-Dovetail:
|
||||
template: {name: Resolution, weight: 130, resolution: 4k, dovetail: true}
|
||||
|
||||
1080P-DV:
|
||||
template: {name: Resolution, weight: 120, resolution: 1080p, alt: dv, dovetail: false}
|
||||
1080P-DV-Dovetail:
|
||||
template: {name: Resolution, weight: 120, resolution: 1080p, alt: dv, dovetail: true}
|
||||
|
||||
1080P-HDR:
|
||||
template: {name: Resolution, weight: 110, resolution: 1080p, alt: hdr, dovetail: false}
|
||||
1080P-HDR-Dovetail:
|
||||
template: {name: Resolution, weight: 110, resolution: 1080p, alt: hdr, dovetail: true}
|
||||
|
||||
1080P:
|
||||
template: {name: Resolution, weight: 100, resolution: 1080p, dovetail: false}
|
||||
1080P-Dovetail:
|
||||
template: {name: Resolution, weight: 100, resolution: 1080p, dovetail: true}
|
||||
|
||||
720P-DV:
|
||||
template: {name: Resolution, weight: 90, resolution: 720p, alt: dv, dovetail: false}
|
||||
720P-DV-Dovetail:
|
||||
template: {name: Resolution, weight: 90, resolution: 720p, alt: dv, dovetail: true}
|
||||
|
||||
720P-HDR:
|
||||
template: {name: Resolution, weight: 80, resolution: 720p, alt: hdr, dovetail: false}
|
||||
720P-HDR-Dovetail:
|
||||
template: {name: Resolution, weight: 80, resolution: 720p, alt: hdr, dovetail: true}
|
||||
|
||||
720P:
|
||||
template: {name: Resolution, weight: 70, resolution: 720p, dovetail: false}
|
||||
720P-Dovetail:
|
||||
template: {name: Resolution, weight: 70, resolution: 720p, dovetail: true}
|
||||
|
||||
576P-DV:
|
||||
template: {name: Resolution, weight: 60, resolution: 576p, alt: dv, dovetail: false}
|
||||
576P-DV-Dovetail:
|
||||
template: {name: Resolution, weight: 60, resolution: 576p, alt: dv, dovetail: true}
|
||||
|
||||
576P-HDR:
|
||||
template: {name: Resolution, weight: 50, resolution: 576p, alt: hdr, dovetail: false}
|
||||
576P-HDR-Dovetail:
|
||||
template: {name: Resolution, weight: 50, resolution: 576p, alt: hdr, dovetail: true}
|
||||
|
||||
576P:
|
||||
template: {name: Resolution, weight: 40, resolution: 576p, dovetail: false}
|
||||
576P-Dovetail:
|
||||
template: {name: Resolution, weight: 40, resolution: 576p, dovetail: true}
|
||||
|
||||
480P-DV:
|
||||
template: {name: Resolution, weight: 30, resolution: 480p, alt: dv, dovetail: false}
|
||||
480P-DV-Dovetail:
|
||||
template: {name: Resolution, weight: 30, resolution: 480p, alt: dv, dovetail: true}
|
||||
|
||||
480P-HDR:
|
||||
template: {name: Resolution, weight: 20, resolution: 480p, alt: hdr, dovetail: false}
|
||||
480P-HDR-Dovetail:
|
||||
template: {name: Resolution, weight: 20, resolution: 480p, alt: hdr, dovetail: true}
|
||||
|
||||
480P:
|
||||
template: {name: Resolution, weight: 10, resolution: 480p, dovetail: false}
|
||||
480P-Dovetail:
|
||||
template: {name: Resolution, weight: 10, resolution: 480p, dovetail: true}
|
||||
|
||||
DV:
|
||||
template: {name: Resolution, weight: 5, alt: dv, all: true, dovetail: false}
|
||||
DV-Dovetail:
|
||||
template: {name: Resolution, weight: 5, alt: dv, all: true, dovetail: true}
|
||||
|
||||
HDR:
|
||||
template: {name: Resolution, weight: 1, alt: hdr, dovetail: false}
|
||||
HDR-Dovetail:
|
||||
template: {name: Resolution, weight: 1, alt: hdr, dovetail: true}
|
||||
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Ribbon Overlays
|
||||
|
||||
The `ribbon` Default Overlay File is used to create a ribbon overlay based on the Top Lists of various sites on each item within your library.
|
||||
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
![](images/ribbon.png)
|
||||
|
||||
## Supported Ribbon
|
||||
|
||||
| Ribbon | Key | Weight |
|
||||
|:--------------------------------|:------------:|:------:|
|
||||
| Oscars Best Picture | `oscars` | `50` |
|
||||
| IMDb Top 250 | `imdb` | `40` |
|
||||
| Rotten Tomatoes Certified Fresh | `rotten` | `30` |
|
||||
| Metacritic Must See | `metacritic` | `20` |
|
||||
| Commonsense Selection | `common` | `10` |
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: ribbon
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: ribbon
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:--------:|
|
||||
| `horizontal_offset` | `0` |
|
||||
| `horizontal_align` | `right` |
|
||||
| `vertical_offset` | `0` |
|
||||
| `vertical_align` | `bottom` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:-----------------|:-------------------------------------------------------------------------------------------------------------|
|
||||
| `weight_<<key>>` | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: ribbon
|
||||
template_variables:
|
||||
weight_metacritic: 35
|
||||
use_common: false
|
||||
```
|
@ -1,70 +0,0 @@
|
||||
#############################################################
|
||||
# Ribbon Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
#############################################################
|
||||
# Call this from your config.yml (Movie or Show): #
|
||||
# - pmm: ribbon #
|
||||
# template_variables: #
|
||||
# #
|
||||
# # For each overlay use the "key" to set #
|
||||
# # the options. #
|
||||
# # Available overlays #
|
||||
# # KEY COLLECTION #
|
||||
# # oscars Academy Awards (Oscars) #
|
||||
# # imdb IMDb Top 250 #
|
||||
# # rotten Rotten Tomatoes Certified Fresh#
|
||||
# # metacritic Metacritic Must See #
|
||||
# # common Commonsense Selection #
|
||||
# #
|
||||
# # Available options. Replace "key" with the #
|
||||
# # desired collection's key from the chart above. #
|
||||
# #
|
||||
# # Turn the collection on/off #
|
||||
# use_key: true #
|
||||
# # Determines collection order in its section #
|
||||
# # Sets the weight for that overlay #
|
||||
# weight_key: #
|
||||
#############################################################
|
||||
|
||||
templates:
|
||||
Ribbon:
|
||||
default:
|
||||
weight_<<key>>: <<weight>>
|
||||
optional:
|
||||
- mdb_key
|
||||
- imdb_key
|
||||
- allowed_libraries
|
||||
- use_<<key>>
|
||||
mdblist_list: https://mdblist.com/lists/plexmetamanager/<<mdb_key>><<library_type>>s
|
||||
imdb_chart: <<imdb_key>>_<<library_type>>s
|
||||
allowed_library_types:
|
||||
- <<use_<<key>>>>
|
||||
- <<allowed_libraries>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: ribbon/<<key>>
|
||||
group: ribbon
|
||||
weight: <<weight_<<key>>>>
|
||||
horizontal_offset: 0
|
||||
horizontal_align: right
|
||||
vertical_offset: 0
|
||||
vertical_align: bottom
|
||||
|
||||
overlays:
|
||||
|
||||
Oscars Best Picture:
|
||||
imdb_list: https://www.imdb.com/search/title/?groups=best_picture_winner
|
||||
template: {name: Ribbon, key: oscars, weight: 40, allowed_libraries: movie}
|
||||
|
||||
IMDb Top 250:
|
||||
template: {name: Ribbon, imdb_key: top, key: imdb, weight: 30}
|
||||
|
||||
Rotten Tomatoes Certified Fresh:
|
||||
template: {name: Ribbon, mdb_key: certifiedfresh, key: rotten, weight: 20}
|
||||
|
||||
Metacritic Must See:
|
||||
template: {name: Ribbon, mdb_key: metacriticmustsee, key: metacritic, weight: 10}
|
||||
|
||||
Commonsense Selection:
|
||||
template: {name: Ribbon, mdb_key: cssfamilies, key: common, weight: 5}
|
@ -0,0 +1,59 @@
|
||||
# Runtimes Overlay
|
||||
|
||||
The `runtimes` Default Overlay File is used to create an overlay on of the movie or episodes runtime for all items in your library.
|
||||
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
![](images/runtimes.png)
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: runtimes
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: runtimes
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `15` |
|
||||
| `horizontal_align` | `right` |
|
||||
| `vertical_offset` | `30` |
|
||||
| `vertical_align` | `bottom` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `600` |
|
||||
| `back_height` | `105` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:---------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `font` | **Description:** Choose the font for the Overlay.<br>**Default:** `fonts/Inter-Medium.ttf`<br>**Values:** Path to font file |
|
||||
| `font_style` | **Description:** Font style for Variable Fonts.<br>**Values:** Variable Font Style |
|
||||
| `font_size` | **Description:** Choose the font size for the Overlay.<br>**Default:** `55`<br>**Values:** Any Number greater then 0 |
|
||||
| `font_color` | **Description:** Choose the font color for the Overlay.<br>**Default:** `#FFFFFF`<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `stroke_width` | **Description:** Font Stroke Width for the Text Overlay.<br>**Values:** Any Number greater then 0 |
|
||||
| `stroke_color` | **Description:** Font Stroke Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: runtimes
|
||||
font: fonts/Inter-Bold.ttf
|
||||
```
|
@ -1,72 +0,0 @@
|
||||
#############################################################
|
||||
# Episodes Runtime Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
#############################################################
|
||||
# Call this from your config.yml (Show): #
|
||||
# overlay_path: #
|
||||
# - pmm: runtimes #
|
||||
# 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: right #
|
||||
# # 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: 600 #
|
||||
# # Set the back height for the overlay #
|
||||
# back_height: 105 #
|
||||
#############################################################
|
||||
|
||||
templates:
|
||||
text_runtime_info:
|
||||
optional:
|
||||
- overlay_level
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
horizontal_offset: 15
|
||||
horizontal_align: right
|
||||
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: 600
|
||||
back_height: 105
|
||||
collection_level: <<overlay_level>>
|
||||
overlay:
|
||||
name: "text(Runtime: <<runtimeH>>h <<runtimeM>>m)"
|
||||
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>>
|
||||
|
||||
overlays:
|
||||
runtime_info:
|
||||
template:
|
||||
- name: text_runtime_info
|
||||
plex_all: true
|
@ -1,208 +0,0 @@
|
||||
#############################################################
|
||||
# Special Release Overlay #
|
||||
# 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: #
|
||||
# - pmm: special_release #
|
||||
# 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: 99 #
|
||||
# # Set the vertical align for the overlay #
|
||||
# vertical_align: top #
|
||||
# #
|
||||
# # Use the Director's Cut overlay #
|
||||
# use_directorscut: true #
|
||||
# # Use the Extended overlay #
|
||||
# use_extended: true #
|
||||
# # Use the Uncut overlay #
|
||||
# use_uncut: true #
|
||||
# # Use the Unrated overlay #
|
||||
# use_unrated: true #
|
||||
# # Use the Special overlay #
|
||||
# use_special: true #
|
||||
# # Use the Final Cut overlay #
|
||||
# use_finalcut: true #
|
||||
# # Use the Anniversary overlay #
|
||||
# use_anniversary: true #
|
||||
# # Use the Collectors overlay #
|
||||
# use_collector: true #
|
||||
# # Use the International overlay #
|
||||
# use_international: true #
|
||||
# # Use the Theatrical overlay #
|
||||
# use_theatrical: true #
|
||||
# # Use the Ultimate overlay #
|
||||
# use_ultimate: true #
|
||||
# # Use the IMAX-E overlay #
|
||||
# use_enhanced: true #
|
||||
# # Use the IMAX overlay #
|
||||
# use_imax: true #
|
||||
# # Use the Remastered overlay #
|
||||
# use_remastered: true #
|
||||
# # Use the Criterion overlay #
|
||||
# use_criterion: true #
|
||||
#############################################################
|
||||
|
||||
templates:
|
||||
Edition:
|
||||
conditionals:
|
||||
vertical_offset:
|
||||
default: 15
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value: 99
|
||||
suppress_overlays:
|
||||
conditions:
|
||||
- dovetail: true
|
||||
value:
|
||||
- 4K-DV
|
||||
- 4K-HDR
|
||||
- 4K
|
||||
- 1080P-DV
|
||||
- 1080P-HDR
|
||||
- 1080P
|
||||
- 720P-DV
|
||||
- 720P-HDR
|
||||
- 720P
|
||||
- 576P-DV
|
||||
- 576P-HDR
|
||||
- 576P
|
||||
- 480P-DV
|
||||
- 480P-HDR
|
||||
- 480P
|
||||
- DV
|
||||
- HDR
|
||||
- dovetail: false
|
||||
value:
|
||||
- <<overlay_name>>-Dovetail
|
||||
back_width:
|
||||
conditions:
|
||||
- dovetail: false
|
||||
value: 305
|
||||
back_height:
|
||||
conditions:
|
||||
- dovetail: false
|
||||
value: 105
|
||||
optional:
|
||||
- overlay_level
|
||||
- use_<<slug>>
|
||||
- search
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
horizontal_offset: 15
|
||||
horizontal_align: left
|
||||
vertical_align: top
|
||||
back_color: "#00000099"
|
||||
back_radius: 30
|
||||
collection_level: <<overlay_level>>
|
||||
allowed_library_types: <<use_<<slug>>>>
|
||||
ignore_blank_results: true
|
||||
suppress_overlays: <<suppress_overlays>>
|
||||
overlay:
|
||||
name: <<overlay_name>>
|
||||
pmm: edition/<<slug>>
|
||||
group: edition
|
||||
weight: <<weight>>
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
plex_all: true
|
||||
filters:
|
||||
filepath.regex:
|
||||
- <<regex1>>
|
||||
- <<regex2>>
|
||||
- 'edition-(?i)\b<<search>>\b' # New TRaSH naming
|
||||
- '(?<=[0-9]{4}[)}>\]]\s)\b<<search>>\b' # Original TRaSH naming
|
||||
|
||||
overlays:
|
||||
Directors-Cut:
|
||||
template: {name: Edition, weight: 150, slug: directorscut, search: (Director|Directors), dovetail: false}
|
||||
Directors-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 150, slug: directorscut, search: (Director|Directors), dovetail: true}
|
||||
|
||||
Extended-Edition:
|
||||
template: {name: Edition, weight: 140, slug: extended, search: Extended, dovetail: false}
|
||||
Extended-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 140, slug: extended, search: Extended, dovetail: true}
|
||||
|
||||
Uncut-Edition:
|
||||
template: {name: Edition, weight: 130, slug: uncut, search: Uncut, dovetail: false}
|
||||
Uncut-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 130, slug: uncut, search: Uncut, dovetail: true}
|
||||
|
||||
Unrated-Edition:
|
||||
template: {name: Edition, weight: 120, slug: unrated, search: Unrated, dovetail: false}
|
||||
Unrated-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 120, slug: unrated, search: Unrated, dovetail: true}
|
||||
|
||||
Special-Edition:
|
||||
template: {name: Edition, weight: 110, slug: special, search: Special, dovetail: false}
|
||||
Special-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 110, slug: special, search: Special, dovetail: true}
|
||||
|
||||
Final-Cut:
|
||||
template: {name: Edition, weight: 100, slug: finalcut, search: Final, dovetail: false}
|
||||
Final-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 100, slug: finalcut, search: Final, dovetail: true}
|
||||
|
||||
Anniversary-Edition:
|
||||
template: {name: Edition, weight: 90, slug: anniversary, search: Anniversary, dovetail: false}
|
||||
Anniversary-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 90, slug: anniversary, search: Anniversary, dovetail: true}
|
||||
|
||||
Collectors-Edition:
|
||||
template: {name: Edition, weight: 80, slug: collector, search: (Collector|Collectors), dovetail: false}
|
||||
Collectors-Edition-Dovetail:
|
||||
template: {name: Edition, weight: 80, slug: collector, search: (Collector|Collectors), dovetail: true}
|
||||
|
||||
International-Cut:
|
||||
template: {name: Edition, weight: 70, slug: international, search: International, dovetail: false}
|
||||
International-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 70, slug: international, search: International, dovetail: true}
|
||||
|
||||
Theatrical-Cut:
|
||||
template: {name: Edition, weight: 60, slug: theatrical, search: Theatrical, dovetail: false}
|
||||
Theatrical-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 60, slug: theatrical, search: Theatrical, dovetail: true}
|
||||
|
||||
Ultimate-Cut:
|
||||
template: {name: Edition, weight: 50, slug: ultimate, search: Ultimate, dovetail: false}
|
||||
Ultimate-Cut-Dovetail:
|
||||
template: {name: Edition, weight: 50, slug: ultimate, search: Ultimate, dovetail: true}
|
||||
|
||||
IMAX-E:
|
||||
template: {name: Edition, weight: 40, slug: enhanced, dovetail: false, regex1: '(?i)\bIMAX Enhanced\b|^(?=.*(DSNP|Disney\+|CORE(?=[ ._-]web[ ._-]?(dl|rip)\b)|\bBC(?=[ ._-]web[ ._-]?(dl|rip)\b)|IMAX[- .]Enhanced)\b)(?=.*\b(IMAX|IMAX[- .]Enhanced)\b).*'}
|
||||
IMAX-E-Dovetail:
|
||||
template: {name: Edition, weight: 40, slug: enhanced, dovetail: true, regex1: '(?i)\bIMAX Enhanced\b|^(?=.*(DSNP|Disney\+|CORE(?=[ ._-]web[ ._-]?(dl|rip)\b)|\bBC(?=[ ._-]web[ ._-]?(dl|rip)\b)|IMAX[- .]Enhanced)\b)(?=.*\b(IMAX|IMAX[- .]Enhanced)\b).*'}
|
||||
|
||||
IMAX:
|
||||
template: {name: Edition, weight: 30, slug: imax, dovetail: false, regex1: '(?i)\bIMAX\b'}
|
||||
IMAX-Dovetail:
|
||||
template: {name: Edition, weight: 30, slug: imax, dovetail: true, regex1: '(?i)\bIMAX\b'}
|
||||
|
||||
Remastered:
|
||||
template: {name: Edition, weight: 20, slug: remastered, search: (Remaster|Remastered|4k Remaster|4k Remastered), dovetail: false}
|
||||
Remastered-Dovetail:
|
||||
template: {name: Edition, weight: 20, slug: remastered, search: (Remaster|Remastered|4k Remaster|4k Remastered), dovetail: true}
|
||||
|
||||
Criterion:
|
||||
template: {name: Edition, weight: 10, slug: criterion, dovetail: false, regex1: '(?i)Criterion', regex2: '(?i)\[CC\]'}
|
||||
Criterion-Dovetail:
|
||||
template: {name: Edition, weight: 10, slug: criterion, dovetail: true, regex1: '(?i)Criterion', regex2: '(?i)\[CC\]'}
|
@ -0,0 +1,71 @@
|
||||
# Status Overlay
|
||||
|
||||
The `status` Default Overlay File is used to create an overlay on a show detailing its Current Airing Status for all shows in your library.
|
||||
|
||||
**This file only works with TV Libraries.**
|
||||
|
||||
![](images/status.png)
|
||||
|
||||
## Supported Status
|
||||
|
||||
| Audio Codec | Key | Weight |
|
||||
|:------------|:-----------:|:------:|
|
||||
| AIRING | `airing` | `40` |
|
||||
| RETURNING | `returning` | `30` |
|
||||
| CANCELED | `canceled` | `20` |
|
||||
| ENDED | `ended` | `10` |
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: status
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: status
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `15` |
|
||||
| `horizontal_align` | `left` |
|
||||
| `vertical_offset` | `330` |
|
||||
| `vertical_align` | `top` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `305` |
|
||||
| `back_height` | `105` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:-----------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `last` | **Description:** Episode Air Date in the last number of days for the AIRING Overlay.<br>**Default:** `14`<br>**Values:** Any Number greater then 0 |
|
||||
| `text_<<key>>` | **Description:** Choose the text for the Overlay.<br>**Default:** <table class="clearTable"><tr><th>Key</th><th>Default</th></tr><tr><td>`airing`</td><td>`AIRING`</td></tr><tr><td>`returning`</td><td>`RETURNING`</td></tr><tr><td>`canceled`</td><td>`CANCELED`</td></tr><tr><td>`ended`</td><td>`ENDED`</td></tr></table><br>**Values:** Any String |
|
||||
| `weight_<<key>>` | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
|
||||
| `font` | **Description:** Choose the font for the Overlay.<br>**Default:** `fonts/Inter-Medium.ttf`<br>**Values:** Path to font file |
|
||||
| `font_style` | **Description:** Font style for Variable Fonts.<br>**Values:** Variable Font Style |
|
||||
| `font_size` | **Description:** Choose the font size for the Overlay.<br>**Default:** `50`<br>**Values:** Any Number greater then 0 |
|
||||
| `font_color` | **Description:** Choose the font color for the Overlay.<br>**Default:** `#FFFFFF`<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `stroke_width` | **Description:** Font Stroke Width for the Text Overlay.<br>**Values:** Any Number greater then 0 |
|
||||
| `stroke_color` | **Description:** Font Stroke Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: status
|
||||
text_canceled: CANCELLED
|
||||
```
|
@ -0,0 +1,71 @@
|
||||
# Streaming Services Overlay
|
||||
|
||||
The `streaming` Default Overlay File is used to create an overlay based on the streaming service the file is found on for each item within your library.
|
||||
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
![](images/streaming.png)
|
||||
|
||||
## Supported Streaming Services
|
||||
|
||||
| Streaming Service | Key | Weight |
|
||||
|:------------------|:-----------:|:------:|
|
||||
| Netflix | `netflix` | `90` |
|
||||
| Prime Video | `amazon` | `80` |
|
||||
| Disney+ | `disney` | `70` |
|
||||
| HBO Max | `hbomax` | `60` |
|
||||
| YouTube | `youtube` | `50` |
|
||||
| Hulu | `hulu` | `40` |
|
||||
| Paramount+ | `paramount` | `30` |
|
||||
| AppleTV | `appletv` | `20` |
|
||||
| Peacock | `peacock` | `10` |
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: streaming
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: streaming
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `15` |
|
||||
| `horizontal_align` | `left` |
|
||||
| `vertical_offset` | `150` |
|
||||
| `vertical_align` | `bottom` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `305` |
|
||||
| `back_height` | `105` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:-----------------|:-------------------------------------------------------------------------------------------------------------|
|
||||
| `weight_<<key>>` | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: streaming
|
||||
template_variables:
|
||||
use_peacock: false
|
||||
use_youtube: false
|
||||
weight_youtube: 5
|
||||
```
|
@ -1,109 +0,0 @@
|
||||
#############################################################
|
||||
# Streaming Overlay #
|
||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||
# Credit to Magic815 for base images #
|
||||
#############################################################
|
||||
# Call this from your config.yml (Movie or Show): #
|
||||
# If nothing is specified these are the defaults #
|
||||
# #
|
||||
# overlay_path: #
|
||||
# - git: PMM/overlays/streaming #
|
||||
# template_variables: #
|
||||
# # 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: 150 #
|
||||
# # Set the vertical align for the overlay #
|
||||
# vertical_align: bottom #
|
||||
# # 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 Amazon overlay #
|
||||
# use_amazon: true #
|
||||
# # Use the AppleTV overlay #
|
||||
# use_appletv: true #
|
||||
# # Use the Disney overlay #
|
||||
# use_disney: true #
|
||||
# # Use the HBO-Max overlay #
|
||||
# use_hbomax: true #
|
||||
# # Use the Hulu overlay #
|
||||
# use_hulu: true #
|
||||
# # Use the Netflix overlay #
|
||||
# use_netflix: true #
|
||||
# # Use the Paramount overlay #
|
||||
# use_paramount: true #
|
||||
# # Use the Peacock overlay #
|
||||
# use_peacock: true #
|
||||
# # Use the YouTube overlay #
|
||||
# use_youtube: true #
|
||||
#############################################################
|
||||
|
||||
templates:
|
||||
Streaming:
|
||||
optional:
|
||||
- overlay_level
|
||||
- use_<<slug>>
|
||||
default:
|
||||
overlay: <<overlay_name>>
|
||||
horizontal_offset: 15
|
||||
horizontal_align: left
|
||||
vertical_offset: 150
|
||||
vertical_align: bottom
|
||||
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: <<overlay_name>>
|
||||
pmm: streaming/<<overlay>>
|
||||
group: streaming
|
||||
weight: <<weight>>
|
||||
horizontal_offset: <<horizontal_offset>>
|
||||
horizontal_align: <<horizontal_align>>
|
||||
vertical_offset: <<vertical_offset>>
|
||||
vertical_align: <<vertical_align>>
|
||||
back_color: <<back_color>>
|
||||
back_radius: <<back_radius>>
|
||||
back_width: <<back_width>>
|
||||
back_height: <<back_height>>
|
||||
mdblist_list: https://mdblist.com/lists/plexmetamanager/<<slug>>-<<library_type>>s
|
||||
|
||||
overlays:
|
||||
|
||||
Netflix:
|
||||
template: {name: Streaming, weight: 200, slug: netflix}
|
||||
|
||||
Prime:
|
||||
template: {name: Streaming, weight: 190, slug: amazon}
|
||||
|
||||
Disney:
|
||||
template: {name: Streaming, weight: 180, slug: disney}
|
||||
|
||||
HBO-Max:
|
||||
template: {name: Streaming, weight: 170, slug: hbomax}
|
||||
|
||||
YouTube:
|
||||
template: {name: Streaming, weight: 160, slug: youtube}
|
||||
|
||||
Hulu:
|
||||
template: {name: Streaming, weight: 150, slug: hulu}
|
||||
|
||||
Paramount:
|
||||
template: {name: Streaming, weight: 140, slug: paramount}
|
||||
|
||||
AppleTV:
|
||||
template: {name: Streaming, weight: 130, slug: appletv}
|
||||
|
||||
Peacock:
|
||||
template: {name: Streaming, weight: 120, slug: peacock}
|
@ -0,0 +1,30 @@
|
||||
# Shared Overlay Template Variables
|
||||
|
||||
There are some `templates_variables` that all the PMM Defaults expect `franchise` can use to manipulate the file from the default settings which are provided.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
Below are the available variables which can be used to customize the file.
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:--------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `use_<<key>>`<sup>1</sup> | **Description:** Turns off individual Overlays in a Defaults file.<br>**Values:** `false` to turn off the overlay |
|
||||
| `file` | **Description:** Controls the image associated with the Overlay to a local file. Use `pmm: null` with this to no use the default image.<br>**Values:** Filepath to Overlay Image |
|
||||
| `url` | **Description:** Controls the image associated with the Overlay to a url. Use `pmm: null` with this to no use the default image.<br>**Values:** URL to Overlay Image |
|
||||
| `git` | **Description:** Controls the image associated with the Overlay to the git repo. Use `pmm: null` with this to no use the default image.<br>**Values:** Git Path to Overlay Image |
|
||||
| `repo` | **Description:** Controls the image associated with the Overlay to a custom repo. Use `pmm: null` with this to no use the default image.<br>**Values:** Repo Path to Overlay Image |
|
||||
| `pmm` | **Description:** Controls the image associated with the Overlay to a pmm file.<br>**Values:** PMM Overlay Image |
|
||||
| `horizontal_offset` | **Description:** Controls the Horizontal Offset of this overlay. Can be a %.<br>**Values:** Number 0 or greater or 0%-100% |
|
||||
| `horizontal_align` | **Description:** Controls the Horizontal Alignment of the overlay.<br>**Values:** `left`, `center`, or `right` |
|
||||
| `vertical_offset` | **Description:** Controls the Vertical Offset of this overlay. Can be a %.<br>**Values:** Number 0 or greater or 0%-100% |
|
||||
| `vertical_align` | **Description:** Controls the Vertical Alignment of the overlay.<br>**Values:** `top`, `center`, or `bottom` |
|
||||
| `back_color` | **Description:** Controls the Backdrop Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `back_width` | **Description:** Controls the Backdrop Width for the Text Overlay. If `back_width` is not specified the Backdrop Sizes to the text<br>**Values:** Any Number greater then 0 |
|
||||
| `back_height` | **Description:** Controls the Backdrop Height for the Text Overlay. If `back_height` is not specified the Backdrop Sizes to the text<br>**Values:** Any Number greater then 0 |
|
||||
| `back_align` | **Description:** Controls the Alignment for the Text Overlay inside the backdrop. If `back_align` is not specified the Backdrop Centers the text.<br>**Values:** `left`, `right`, `center`, `top`, or `bottom` |
|
||||
| `back_padding` | **Description:** Controls the Backdrop Padding for the Text Overlay.<br>**Values:** Any Number greater then 0 |
|
||||
| `back_radius` | **Description:** Controls the Backdrop Radius for the Text Overlay.<br>**Values:** Any Number greater then 0 |
|
||||
| `back_line_color` | **Description:** Controls the Backdrop Line Color for the Text Overlay.<br>**Values:** Color Hex Code in format `#RGB`, `#RGBA`, `#RRGGBB` or `#RRGGBBAA` |
|
||||
| `back_line_width` | **Description:** Controls the Backdrop Line Width for the Text Overlay.<br>**Values:** Any Number greater then 0 |
|
||||
|
||||
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.
|
@ -0,0 +1,61 @@
|
||||
# Versions Overlay
|
||||
|
||||
The `versions` Default Overlay File is used to create an overlay based on if there's multiple versions on each item within your library.
|
||||
|
||||
**This file works with Movie and TV Libraries.**
|
||||
|
||||
![](images/versions.png)
|
||||
|
||||
## Config
|
||||
|
||||
The below YAML in your config.yml will create the overlays:
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: versions
|
||||
TV Shows:
|
||||
overlay_path:
|
||||
- pmm: versions
|
||||
- pmm: versions
|
||||
template_variables:
|
||||
overlay_level: season
|
||||
- pmm: versions
|
||||
template_variables:
|
||||
overlay_level: episode
|
||||
```
|
||||
|
||||
## Template Variables
|
||||
|
||||
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
|
||||
|
||||
Note that the `templates_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
|
||||
|
||||
All [Shared Overlay Variables](variables) are available with the default values below as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Default |
|
||||
|:--------------------|:-----------:|
|
||||
| `horizontal_offset` | `15` |
|
||||
| `horizontal_align` | `right` |
|
||||
| `vertical_offset` | `150` |
|
||||
| `vertical_align` | `top` |
|
||||
| `back_color` | `#00000099` |
|
||||
| `back_radius` | `30` |
|
||||
| `back_width` | `105` |
|
||||
| `back_height` | `105` |
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:-----------------|:-------------------------------------------------------------------------------------------------------------|
|
||||
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
```yaml
|
||||
libraries:
|
||||
Movies:
|
||||
overlay_path:
|
||||
- pmm: versions
|
||||
template_variables:
|
||||
font_color: "#FFFFFF99"
|
||||
```
|