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.
172 lines
4.4 KiB
172 lines
4.4 KiB
2 years ago
|
##############################################################################
|
||
|
# Languages Overlays #
|
||
|
# Created by Yozora, Bullmoose20, Cpt Kuesel, & Sohjiro #
|
||
|
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
|
||
|
# https://metamanager.wiki/en/latest/defaults/overlays/languages.html #
|
||
|
##############################################################################
|
||
|
|
||
|
external_templates:
|
||
|
pmm: templates
|
||
|
template_variables:
|
||
|
default:
|
||
|
style: round
|
||
|
country: <<key>>
|
||
|
queue: position
|
||
|
pmm: flag/<<style>>/<<country>>
|
||
|
|
||
|
queues:
|
||
|
position:
|
||
|
left:
|
||
|
- horizontal_align: left
|
||
|
vertical_align: top
|
||
|
horizontal_offset: 15
|
||
|
vertical_offset: 15
|
||
|
- horizontal_align: left
|
||
|
vertical_align: top
|
||
|
horizontal_offset: 15
|
||
|
vertical_offset: 75
|
||
|
- horizontal_align: left
|
||
|
vertical_align: top
|
||
|
horizontal_offset: 15
|
||
|
vertical_offset: 135
|
||
|
- horizontal_align: left
|
||
|
vertical_align: top
|
||
|
horizontal_offset: 15
|
||
|
vertical_offset: 195
|
||
|
- horizontal_align: left
|
||
|
vertical_align: top
|
||
|
horizontal_offset: 15
|
||
|
vertical_offset: 255
|
||
|
right:
|
||
|
- horizontal_align: right
|
||
|
vertical_align: top
|
||
|
horizontal_offset: 15
|
||
|
vertical_offset: 15
|
||
|
- horizontal_align: right
|
||
|
vertical_align: top
|
||
|
horizontal_offset: 15
|
||
|
vertical_offset: 75
|
||
|
- horizontal_align: right
|
||
|
vertical_align: top
|
||
|
horizontal_offset: 15
|
||
|
vertical_offset: 135
|
||
|
- horizontal_align: right
|
||
|
vertical_align: top
|
||
|
horizontal_offset: 15
|
||
|
vertical_offset: 195
|
||
|
- horizontal_align: right
|
||
|
vertical_align: top
|
||
|
horizontal_offset: 15
|
||
|
vertical_offset: 255
|
||
|
|
||
|
templates:
|
||
|
flags:
|
||
|
conditionals:
|
||
|
search_attribute:
|
||
|
default: audio_language
|
||
|
conditions:
|
||
|
- use_subtitles: true
|
||
|
value: subtitle_language
|
||
|
ignore_blank_results: true
|
||
|
plex_search:
|
||
|
all:
|
||
|
<<search_attribute>>: <<key>>
|
||
|
|
||
|
overlays:
|
||
|
|
||
|
german:
|
||
|
variables: {key: de, weight: 240}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
english:
|
||
|
variables: {key: en, weight: 230, country: us}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
french:
|
||
|
variables: {key: fr, weight: 220}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
japanese:
|
||
|
variables: {key: ja, weight: 210, country: jp}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
korean:
|
||
|
variables: {key: ko, weight: 200, country: kr}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
chinese:
|
||
|
variables: {key: zh, weight: 190, country: cn}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
danish:
|
||
|
variables: {key: da, weight: 180, country: dk}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
russian:
|
||
|
variables: {key: ru, weight: 170}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
spanish:
|
||
|
variables: {key: es, weight: 160}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
italian:
|
||
|
variables: {key: it, weight: 150}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
portuguese:
|
||
|
variables: {key: pt, weight: 140}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
hindi:
|
||
|
variables: {key: hi, weight: 130, country: in}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
telugu:
|
||
|
variables: {key: te, weight: 120, country: in}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
farsi:
|
||
|
variables: {key: fa, weight: 110, country: ir}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
thai:
|
||
|
variables: {key: th, weight: 100}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
dutch:
|
||
|
variables: {key: nl, weight: 90}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
norwegian:
|
||
|
variables: {key: no, weight: 80}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
icelandic:
|
||
|
variables: {key: is, weight: 70}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
swedish:
|
||
|
variables: {key: sv, weight: 60, country: se}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
turkish:
|
||
|
variables: {key: tr, weight: 50}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
polish:
|
||
|
variables: {key: pl, weight: 40}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
czech:
|
||
|
variables: {key: cs, weight: 30, country: cz}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
ukrainian:
|
||
|
variables: {key: uk, weight: 20, country: ua}
|
||
|
template: [name: standard, name: flags]
|
||
|
|
||
|
hungarian:
|
||
|
variables: {key: hu, weight: 10}
|
||
|
template: [name: standard, name: flags]
|