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

327 lines
8.9 KiB
YAML
Raw Normal View History

2022-10-24 21:01:58 +00:00
##############################################################################
2022-10-27 06:39:30 +00:00
# Audio/Subtitle Language Flags Overlays #
2022-10-24 21:01:58 +00:00
# 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:
2022-10-27 06:39:30 +00:00
conditionals:
2022-10-27 15:58:29 +00:00
final_align:
default: left
conditions:
- align: right
value: right
2022-10-27 06:39:30 +00:00
final_text:
default: <<text>>
conditions:
- use_lowercase: true
value: <<key>>
final_style:
default: round
conditions:
- style: [square, half]
value: square
back_radius:
conditions:
- style: [round, half]
value: 26
- style: square
value:
default:
style: round
country: <<key>>
country_<<key>>: <<country>>
offset: 10
2022-10-24 21:01:58 +00:00
queue: position
2022-10-27 15:58:29 +00:00
pmm: flag/<<final_style>>/<<country_<<key>>>>
addon_position: <<final_align>>
2022-10-27 06:39:30 +00:00
addon_offset: <<offset>>
2022-10-26 21:14:08 +00:00
back_color: "#00000099"
back_width: 190
2022-10-27 06:39:30 +00:00
back_radius: <<back_radius>>
2022-10-27 15:58:29 +00:00
back_align: <<final_align>>
2022-10-26 21:14:08 +00:00
font: fonts/Inter-Bold.ttf
font_size: 50
2022-10-27 06:39:30 +00:00
final_name: text(<<final_text>>)
2022-10-24 21:01:58 +00:00
queues:
position:
2022-10-27 06:39:30 +00:00
default:
vertical_align: top
horizontal_offset: 15
vertical_offset: 15
2022-10-24 21:01:58 +00:00
left:
2022-10-27 15:58:29 +00:00
- horizontal_align: left
2022-10-27 06:39:30 +00:00
- vertical_offset: 75
- vertical_offset: 137
- vertical_offset: 199
- vertical_offset: 261
2022-10-24 21:01:58 +00:00
right:
- horizontal_align: right
2022-10-27 06:39:30 +00:00
- vertical_offset: 75
- vertical_offset: 137
- vertical_offset: 199
- vertical_offset: 261
2022-10-24 21:01:58 +00:00
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:
2022-10-27 15:58:29 +00:00
english:
variables: {key: en, text: EN, weight: 610, country: us}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
2022-10-27 15:58:29 +00:00
german:
variables: {key: de, text: DE, weight: 600}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
french:
2022-10-26 21:14:08 +00:00
variables: {key: fr, text: FR, weight: 590}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
japanese:
2022-10-26 21:14:08 +00:00
variables: {key: ja, text: JA, weight: 580, country: jp}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
korean:
2022-10-26 21:14:08 +00:00
variables: {key: ko, text: KO, weight: 570, country: kr}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
chinese:
2022-10-26 21:14:08 +00:00
variables: {key: zh, text: ZH, weight: 560, country: cn}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
danish:
2022-10-26 21:14:08 +00:00
variables: {key: da, text: DA, weight: 550, country: dk}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
russian:
2022-10-26 21:14:08 +00:00
variables: {key: ru, text: RU, weight: 540}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
spanish:
2022-10-26 21:14:08 +00:00
variables: {key: es, text: ES, weight: 530}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
italian:
2022-10-26 21:14:08 +00:00
variables: {key: it, text: IT, weight: 520}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
portuguese:
2022-10-26 21:14:08 +00:00
variables: {key: pt, text: PT, weight: 510}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
hindi:
2022-10-26 21:14:08 +00:00
variables: {key: hi, text: HI, weight: 500, country: in}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
telugu:
2022-10-26 21:14:08 +00:00
variables: {key: te, text: TE, weight: 490, country: in}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
farsi:
2022-10-26 21:14:08 +00:00
variables: {key: fa, text: FA, weight: 480, country: ir}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
thai:
2022-10-26 21:14:08 +00:00
variables: {key: th, text: TH, weight: 470}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
dutch:
2022-10-26 21:14:08 +00:00
variables: {key: nl, text: NL, weight: 460}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
norwegian:
2022-10-26 21:14:08 +00:00
variables: {key: no, text: NO, weight: 450}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
icelandic:
2022-10-26 21:14:08 +00:00
variables: {key: is, text: IS, weight: 440}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
swedish:
2022-10-26 21:14:08 +00:00
variables: {key: sv, text: SV, weight: 430, country: se}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
turkish:
2022-10-26 21:14:08 +00:00
variables: {key: tr, text: TR, weight: 420}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
polish:
2022-10-26 21:14:08 +00:00
variables: {key: pl, text: PL, weight: 410}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
czech:
2022-10-26 21:14:08 +00:00
variables: {key: cs, text: CS, weight: 400, country: cz}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
ukrainian:
2022-10-26 21:14:08 +00:00
variables: {key: uk, text: UK, weight: 390, country: ua}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
hungarian:
2022-10-26 21:14:08 +00:00
variables: {key: hu, text: HU, weight: 380}
2022-10-24 21:01:58 +00:00
template: [name: standard, name: flags]
arabic:
2022-10-26 21:14:08 +00:00
variables: {key: ar, text: AR, weight: 370, country: eg}
template: [name: standard, name: flags]
bulgarian:
2022-10-26 21:14:08 +00:00
variables: {key: bg, text: BG, weight: 360}
template: [name: standard, name: flags]
bengali:
2022-10-26 21:14:08 +00:00
variables: {key: bn, text: BN, weight: 350, country: bd}
template: [name: standard, name: flags]
bosnian:
2022-10-26 21:14:08 +00:00
variables: {key: bs, text: BS, weight: 340, country: ba}
template: [name: standard, name: flags]
catalan:
2022-10-26 21:14:08 +00:00
variables: {key: ca, text: CA, weight: 330, country: es}
template: [name: standard, name: flags]
welsh:
2022-10-26 21:14:08 +00:00
variables: {key: cy, text: CY, weight: 320, country: uk}
template: [name: standard, name: flags]
greek:
2022-10-26 21:14:08 +00:00
variables: {key: el, text: EL, weight: 310, country: gr}
template: [name: standard, name: flags]
estonian:
2022-10-26 21:14:08 +00:00
variables: {key: et, text: ET, weight: 300, country: ee}
template: [name: standard, name: flags]
basque:
2022-10-26 21:14:08 +00:00
variables: {key: eu, text: EU, weight: 290, country: es}
template: [name: standard, name: flags]
finnish:
2022-10-26 21:14:08 +00:00
variables: {key: fi, text: FI, weight: 280}
template: [name: standard, name: flags]
filipino:
2022-10-27 15:58:29 +00:00
variables: {key: fl, text: FL, weight: 270, country: ph}
template: [name: standard, name: flags]
galician:
2022-10-26 21:14:08 +00:00
variables: {key: gl, text: GL, weight: 260, country: es}
template: [name: standard, name: flags]
hebrew:
2022-10-26 21:14:08 +00:00
variables: {key: he, text: HE, weight: 250, country: il}
template: [name: standard, name: flags]
croatian:
2022-10-26 21:14:08 +00:00
variables: {key: hr, text: HR, weight: 240}
template: [name: standard, name: flags]
indonesian:
2022-10-26 21:14:08 +00:00
variables: {key: id, text: ID, weight: 230}
template: [name: standard, name: flags]
georgian:
2022-10-26 21:14:08 +00:00
variables: {key: ka, text: KA, weight: 220, country: ge}
template: [name: standard, name: flags]
kazakh:
2022-10-26 21:14:08 +00:00
variables: {key: kk, text: KK, weight: 210, country: kz}
template: [name: standard, name: flags]
kannada:
2022-10-26 21:14:08 +00:00
variables: {key: kn, text: KN, weight: 200, country: in}
template: [name: standard, name: flags]
latin:
2022-10-26 21:14:08 +00:00
variables: {key: la, text: LA, weight: 190, country: it}
template: [name: standard, name: flags]
lithuanian:
2022-10-26 21:14:08 +00:00
variables: {key: lt, text: LT, weight: 180}
template: [name: standard, name: flags]
latvian:
2022-10-26 21:14:08 +00:00
variables: {key: lv, text: LV, weight: 170}
template: [name: standard, name: flags]
macedonian:
2022-10-26 21:14:08 +00:00
variables: {key: mk, text: MK, weight: 160}
template: [name: standard, name: flags]
malayalam:
2022-10-26 21:14:08 +00:00
variables: {key: ml, text: ML, weight: 150, country: in}
template: [name: standard, name: flags]
marathi:
2022-10-26 21:14:08 +00:00
variables: {key: mr, text: MR, weight: 140, country: in}
template: [name: standard, name: flags]
malay:
2022-10-26 21:14:08 +00:00
variables: {key: ms, text: MS, weight: 130, country: my}
template: [name: standard, name: flags]
norwegian bokmål:
2022-10-26 21:14:08 +00:00
variables: {key: nb, text: NB, weight: 120, country: no}
template: [name: standard, name: flags]
norwegian nynorsk:
2022-10-26 21:14:08 +00:00
variables: {key: nn, text: NN, weight: 110, country: no}
template: [name: standard, name: flags]
punjabi:
2022-10-26 21:14:08 +00:00
variables: {key: pa, text: PA, weight: 100, country: in}
template: [name: standard, name: flags]
romanian:
2022-10-26 21:14:08 +00:00
variables: {key: ro, text: RO, weight: 90}
template: [name: standard, name: flags]
slovak:
2022-10-26 21:14:08 +00:00
variables: {key: sk, text: SK, weight: 80}
template: [name: standard, name: flags]
slovenian:
2022-10-26 21:14:08 +00:00
variables: {key: sv, text: SV, weight: 70, country: si}
template: [name: standard, name: flags]
albanian:
2022-10-26 21:14:08 +00:00
variables: {key: sq, text: SQ, weight: 60, country: al}
template: [name: standard, name: flags]
serbian:
2022-10-26 21:14:08 +00:00
variables: {key: sr, text: SR, weight: 50, country: rs}
template: [name: standard, name: flags]
swahili:
2022-10-26 21:14:08 +00:00
variables: {key: sw, text: SW, weight: 40, country: tz}
template: [name: standard, name: flags]
tamil:
2022-10-26 21:14:08 +00:00
variables: {key: ta, text: TA, weight: 30, country: in}
template: [name: standard, name: flags]
urdu:
2022-10-26 21:14:08 +00:00
variables: {key: ur, text: UR, weight: 20, country: pk}
template: [name: standard, name: flags]
vietnamese:
2022-10-26 21:14:08 +00:00
variables: {key: vi, text: VI, weight: 10, country: vn}
template: [name: standard, name: flags]