mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-26 14:30:25 +00:00
54 lines
1.5 KiB
YAML
54 lines
1.5 KiB
YAML
##############################################################################
|
|
# Audio/Subtitle Language Count Overlay #
|
|
# Created by Yozora, Bullmoose20, & Sohjiro #
|
|
# Credit to Magic815 for base images #
|
|
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
|
# https://metamanager.wiki/en/latest/defaults/overlays/language_count.html #
|
|
##############################################################################
|
|
|
|
external_templates:
|
|
pmm: templates
|
|
template_variables:
|
|
conditionals:
|
|
image_key:
|
|
default: audio
|
|
conditions:
|
|
- use_subtitles: true
|
|
value: subs
|
|
group: language
|
|
horizontal_offset: 0
|
|
horizontal_align: center
|
|
vertical_offset: 30
|
|
vertical_align: bottom
|
|
back_color: "#00000099"
|
|
back_width: 188
|
|
back_height: 105
|
|
pmm: <<key>>_<<image_key>>
|
|
|
|
templates:
|
|
language:
|
|
conditionals:
|
|
search_attribute:
|
|
default: audio_language
|
|
conditions:
|
|
- use_subtitles: true
|
|
value: subtitle_language
|
|
default:
|
|
minimum: 2
|
|
optional:
|
|
- lt
|
|
ignore_blank_results: true
|
|
plex_all: true
|
|
filters:
|
|
<<search_attribute>>.count_gte: <<minimum>>
|
|
<<search_attribute>>.count_lt: <<lt>>
|
|
|
|
overlays:
|
|
|
|
Dual:
|
|
variables: {key: dual, weight: 20, lt: 3}
|
|
template: [name: standard, name: language]
|
|
|
|
Multi:
|
|
variables: {key: multi, weight: 10}
|
|
template: [name: standard, name: language]
|