Plex-Meta-Manager/defaults/overlays/language_count.yml

80 lines
2.2 KiB
YAML
Raw Normal View History

##############################################################################
2022-10-27 02:39:30 -04:00
# 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 #
2024-01-05 16:06:39 -05:00
# https://metamanager.wiki/en/latest/defaults/overlays/language_count #
##############################################################################
external_templates:
pmm: templates
template_variables:
default:
horizontal_align: center
vertical_align: bottom
2022-10-27 02:39:30 -04:00
conditionals:
image_key:
default: audio
conditions:
- use_subtitles: true
value: subs
vertical_offset:
default: 15
conditions:
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
2023-02-21 15:30:26 -05:00
pmm:
conditions:
- file.exists: false
2023-08-14 11:36:54 -04:00
file_<<key>>.exists: false
2023-02-21 15:30:26 -05:00
url.exists: false
2023-08-14 11:36:54 -04:00
url_<<key>>.exists: false
2023-02-21 15:30:26 -05:00
git.exists: false
2023-08-14 11:36:54 -04:00
git_<<key>>.exists: false
2023-02-21 15:30:26 -05:00
repo.exists: false
2023-08-14 11:36:54 -04:00
repo_<<key>>.exists: false
2023-02-21 15:30:26 -05:00
value: <<key>>_<<image_key>>
2022-10-24 17:01:58 -04:00
group: language
2022-10-17 16:55:42 -04:00
back_color: "#00000099"
back_width: 188
back_height: 105
2022-09-27 02:19:29 -04:00
templates:
2022-10-24 17:01:58 -04:00
language:
2022-10-27 02:39:30 -04:00
conditionals:
search_attribute:
default: audio_language
conditions:
- use_subtitles: true
value: subtitle_language
default:
minimum: 2
2022-09-27 02:19:29 -04:00
optional:
2022-10-01 03:45:58 -04:00
- lt
2022-09-27 02:19:29 -04:00
ignore_blank_results: true
2022-10-01 03:45:58 -04:00
plex_all: true
filters:
2022-10-27 02:39:30 -04:00
<<search_attribute>>.count_gte: <<minimum>>
<<search_attribute>>.count_lt: <<lt>>
2022-09-27 02:19:29 -04:00
overlays:
2022-10-27 02:39:30 -04:00
Dual:
variables: {key: dual, weight: 20, lt: 3}
2022-10-24 17:01:58 -04:00
template: [name: standard, name: language]
2022-09-27 02:19:29 -04:00
2022-10-27 02:39:30 -04:00
Multi:
variables: {key: multi, weight: 10}
2022-10-24 17:01:58 -04:00
template: [name: standard, name: language]