You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plex-Meta-Manager/defaults/overlays/language_count.yml

43 lines
1.2 KiB

##############################################################################
# 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:
group: language
horizontal_offset: 0
horizontal_align: center
vertical_offset: 30
vertical_align: bottom
back_color: "#00000099"
back_width: 188
back_height: 105
pmm: <<overlay_name>>
templates:
language:
default:
minimum: 2
optional:
- lt
ignore_blank_results: true
plex_all: true
filters:
audio_language.count_gte: <<minimum>>
audio_language.count_lt: <<lt>>
overlays:
Dual-Audio:
variables: {key: dual, weight: 20, lt: 3}
template: [name: standard, name: language]
Multi-Audio:
variables: {key: multi, weight: 10}
template: [name: standard, name: language]