############################################################################## # Audio/Subtitle Language Flags 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: conditionals: final_align: default: left conditions: - align: right value: right final_text: default: <> conditions: - use_lowercase: true value: <> 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: <> country_<>: <> offset: 10 queue: flags pmm: flag/<>/<>>> addon_position: <> addon_offset: <> back_color: "#00000099" back_width: 190 back_align: <> font: fonts/Inter-Bold.ttf font_size: 50 final_name: text(<>) vars: c: &c 0 v1: &v1 15 v2: &v2 76 v3: &v3 137 v4: &v4 198 v5: &v5 259 vo1: &vo1 200 vo2: &vo2 261 vo3: &vo3 322 vo4: &vo4 383 vo5: &vo5 444 vc1: &vc1 -122 vc2: &vc2 -61 vc3: &vc3 0 vc4: &vc4 61 vc5: &vc5 122 vhc1: &vhc1 -95 vhc2: &vhc2 95 h1: &h1 15 h2: &h2 206 h3: &h3 397 h4: &h4 588 h5: &h5 779 hc1: &hc1 0 hc2: &hc2 191 hc3: &hc3 -191 hc4: &hc4 382 hc5: &hc5 -382 hvc1: &hvc1 -30 hvc2: &hvc2 30 queues: flags: default: position: <>_<>_<>_<> horizontal_position: left vertical_position: top flag_alignment: vertical flag_position: 1 horizontal_offset: *h1 vertical_offset: *v1 vertical_top_left_1: - vertical_align: top horizontal_align: left - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_top_left_2: - vertical_align: top horizontal_align: left horizontal_offset: *h2 - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_top_left_3: - vertical_align: top horizontal_align: left vertical_offset: *vo1 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_top_left_4: - vertical_align: top horizontal_align: left vertical_offset: *vo1 horizontal_offset: *h2 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_center_left_1: - vertical_align: center horizontal_align: left vertical_offset: *vc1 - vertical_offset: *vc2 - vertical_offset: *vc3 - vertical_offset: *vc4 - vertical_offset: *vc5 vertical_center_left_2: - vertical_align: center horizontal_align: left vertical_offset: *vc1 horizontal_offset: *h2 - vertical_offset: *vc2 - vertical_offset: *vc3 - vertical_offset: *vc4 - vertical_offset: *vc5 vertical_bottom_left_1: - vertical_align: bottom horizontal_align: left - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_bottom_left_2: - vertical_align: bottom horizontal_align: left horizontal_offset: *h2 - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_bottom_left_3: - vertical_align: bottom horizontal_align: left vertical_offset: *vo1 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_bottom_left_4: - vertical_align: bottom horizontal_align: left vertical_offset: *vo1 horizontal_offset: *h2 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_top_center_0: - vertical_align: top horizontal_align: center horizontal_offset: *c - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_top_center_1: - vertical_align: top horizontal_align: center horizontal_offset: *vhc1 - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_top_center_2: - vertical_align: top horizontal_align: center horizontal_offset: *vhc2 - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_top_center_3: - vertical_align: top horizontal_align: center vertical_offset: *vo1 horizontal_offset: *vhc1 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_top_center_4: - vertical_align: top horizontal_align: center vertical_offset: *vo1 horizontal_offset: *vhc2 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_center_center_0: - vertical_align: center horizontal_align: center vertical_offset: *vc1 horizontal_offset: *c - vertical_offset: *vc2 - vertical_offset: *vc3 - vertical_offset: *vc4 - vertical_offset: *vc5 vertical_center_center_1: - vertical_align: center horizontal_align: center vertical_offset: *vc1 horizontal_offset: *vhc1 - vertical_offset: *vc2 - vertical_offset: *vc3 - vertical_offset: *vc4 - vertical_offset: *vc5 vertical_center_center_2: - vertical_align: center horizontal_align: center vertical_offset: *vc1 horizontal_offset: *vhc2 - vertical_offset: *vc2 - vertical_offset: *vc3 - vertical_offset: *vc4 - vertical_offset: *vc5 vertical_bottom_center_0: - vertical_align: bottom horizontal_align: center horizontal_offset: *c - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_bottom_center_1: - vertical_align: bottom horizontal_align: center horizontal_offset: *vhc1 - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_bottom_center_2: - vertical_align: bottom horizontal_align: center horizontal_offset: *vhc2 - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_bottom_center_3: - vertical_align: bottom horizontal_align: center vertical_offset: *vo1 horizontal_offset: *vhc1 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_bottom_center_4: - vertical_align: bottom horizontal_align: center vertical_offset: *vo1 horizontal_offset: *vhc2 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_top_right_1: - vertical_align: top horizontal_align: right - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_top_right_2: - vertical_align: top horizontal_align: right horizontal_offset: *h2 - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_top_right_3: - vertical_align: top horizontal_align: right vertical_offset: *vo1 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_top_right_4: - vertical_align: top horizontal_align: right vertical_offset: *vo1 horizontal_offset: *h2 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_center_right_1: - vertical_align: center horizontal_align: right vertical_offset: *vc1 - vertical_offset: *vc2 - vertical_offset: *vc3 - vertical_offset: *vc4 - vertical_offset: *vc5 vertical_center_right_2: - vertical_align: center horizontal_align: right vertical_offset: *vc1 horizontal_offset: *h2 - vertical_offset: *vc2 - vertical_offset: *vc3 - vertical_offset: *vc4 - vertical_offset: *vc5 vertical_bottom_right_1: - vertical_align: bottom horizontal_align: right - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_bottom_right_2: - vertical_align: bottom horizontal_align: right horizontal_offset: *h2 - vertical_offset: *v2 - vertical_offset: *v3 - vertical_offset: *v4 - vertical_offset: *v5 vertical_bottom_right_3: - vertical_align: bottom horizontal_align: right vertical_offset: *vo1 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 vertical_bottom_right_4: - vertical_align: bottom horizontal_align: right vertical_offset: *vo1 horizontal_offset: *h2 - vertical_offset: *vo2 - vertical_offset: *vo3 - vertical_offset: *vo4 - vertical_offset: *vo5 horizontal_top_left_1: - vertical_align: top horizontal_align: left - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_top_left_2: - vertical_align: top horizontal_align: left vertical_offset: *v2 - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_center_left_0: - vertical_align: center horizontal_align: left vertical_offset: *c - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_center_left_1: - vertical_align: center horizontal_align: left vertical_offset: *hvc1 - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_center_left_2: - vertical_align: center horizontal_align: left vertical_offset: *hvc2 - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_bottom_left_1: - vertical_align: bottom horizontal_align: left - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_bottom_left_2: - vertical_align: bottom horizontal_align: left vertical_offset: *v2 - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_top_center_1: - vertical_align: top horizontal_align: center horizontal_offset: *hc1 - horizontal_offset: *hc2 - horizontal_offset: *hc3 - horizontal_offset: *hc4 - horizontal_offset: *hc5 horizontal_top_center_2: - vertical_align: top horizontal_align: center vertical_offset: *v2 horizontal_offset: *hc1 - horizontal_offset: *hc2 - horizontal_offset: *hc3 - horizontal_offset: *hc4 - horizontal_offset: *hc5 horizontal_center_center_0: - vertical_align: center horizontal_align: center vertical_offset: *c horizontal_offset: *hc1 - horizontal_offset: *hc2 - horizontal_offset: *hc3 - horizontal_offset: *hc4 - horizontal_offset: *hc5 horizontal_center_center_1: - vertical_align: center horizontal_align: center vertical_offset: *hvc1 horizontal_offset: *hc1 - horizontal_offset: *hc2 - horizontal_offset: *hc3 - horizontal_offset: *hc4 - horizontal_offset: *hc5 horizontal_center_center_2: - vertical_align: center horizontal_align: center vertical_offset: *hvc2 horizontal_offset: *hc1 - horizontal_offset: *hc2 - horizontal_offset: *hc3 - horizontal_offset: *hc4 - horizontal_offset: *hc5 horizontal_bottom_center_1: - vertical_align: bottom horizontal_align: center horizontal_offset: *hc1 - horizontal_offset: *hc2 - horizontal_offset: *hc3 - horizontal_offset: *hc4 - horizontal_offset: *hc5 horizontal_bottom_center_2: - vertical_align: bottom horizontal_align: center vertical_offset: *v2 horizontal_offset: *hc1 - horizontal_offset: *hc2 - horizontal_offset: *hc3 - horizontal_offset: *hc4 - horizontal_offset: *hc5 horizontal_top_right_1: - vertical_align: top horizontal_align: right - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_top_right_2: - vertical_align: top horizontal_align: right vertical_offset: *v2 - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_center_right_0: - vertical_align: center horizontal_align: right vertical_offset: *c - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_center_right_1: - vertical_align: center horizontal_align: right vertical_offset: *hvc1 - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_center_right_2: - vertical_align: center horizontal_align: right vertical_offset: *hvc2 - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_bottom_right_1: - vertical_align: bottom horizontal_align: right - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 horizontal_bottom_right_2: - vertical_align: bottom horizontal_align: right vertical_offset: *v2 - horizontal_offset: *h2 - horizontal_offset: *h3 - horizontal_offset: *h4 - horizontal_offset: *h5 templates: flags: conditionals: search_attribute: default: audio_language conditions: - use_subtitles: true value: subtitle_language ignore_blank_results: true plex_search: all: <>: <> overlays: english: variables: {key: en, text: EN, weight: 610, country: us} template: [name: standard, name: flags] german: variables: {key: de, text: DE, weight: 600} template: [name: standard, name: flags] french: variables: {key: fr, text: FR, weight: 590} template: [name: standard, name: flags] japanese: variables: {key: ja, text: JA, weight: 580, country: jp} template: [name: standard, name: flags] korean: variables: {key: ko, text: KO, weight: 570, country: kr} template: [name: standard, name: flags] chinese: variables: {key: zh, text: ZH, weight: 560, country: cn} template: [name: standard, name: flags] danish: variables: {key: da, text: DA, weight: 550, country: dk} template: [name: standard, name: flags] russian: variables: {key: ru, text: RU, weight: 540} template: [name: standard, name: flags] spanish: variables: {key: es, text: ES, weight: 530} template: [name: standard, name: flags] italian: variables: {key: it, text: IT, weight: 520} template: [name: standard, name: flags] portuguese: variables: {key: pt, text: PT, weight: 510} template: [name: standard, name: flags] hindi: variables: {key: hi, text: HI, weight: 500, country: in} template: [name: standard, name: flags] telugu: variables: {key: te, text: TE, weight: 490, country: in} template: [name: standard, name: flags] farsi: variables: {key: fa, text: FA, weight: 480, country: ir} template: [name: standard, name: flags] thai: variables: {key: th, text: TH, weight: 470} template: [name: standard, name: flags] dutch: variables: {key: nl, text: NL, weight: 460} template: [name: standard, name: flags] norwegian: variables: {key: no, text: NO, weight: 450} template: [name: standard, name: flags] icelandic: variables: {key: is, text: IS, weight: 440} template: [name: standard, name: flags] swedish: variables: {key: sv, text: SV, weight: 430, country: se} template: [name: standard, name: flags] turkish: variables: {key: tr, text: TR, weight: 420} template: [name: standard, name: flags] polish: variables: {key: pl, text: PL, weight: 410} template: [name: standard, name: flags] czech: variables: {key: cs, text: CS, weight: 400, country: cz} template: [name: standard, name: flags] ukrainian: variables: {key: uk, text: UK, weight: 390, country: ua} template: [name: standard, name: flags] hungarian: variables: {key: hu, text: HU, weight: 380} template: [name: standard, name: flags] arabic: variables: {key: ar, text: AR, weight: 370, country: eg} template: [name: standard, name: flags] bulgarian: variables: {key: bg, text: BG, weight: 360} template: [name: standard, name: flags] bengali: variables: {key: bn, text: BN, weight: 350, country: bd} template: [name: standard, name: flags] bosnian: variables: {key: bs, text: BS, weight: 340, country: ba} template: [name: standard, name: flags] catalan: variables: {key: ca, text: CA, weight: 330, country: es} template: [name: standard, name: flags] welsh: variables: {key: cy, text: CY, weight: 320, country: uk} template: [name: standard, name: flags] greek: variables: {key: el, text: EL, weight: 310, country: gr} template: [name: standard, name: flags] estonian: variables: {key: et, text: ET, weight: 300, country: ee} template: [name: standard, name: flags] basque: variables: {key: eu, text: EU, weight: 290, country: es} template: [name: standard, name: flags] finnish: variables: {key: fi, text: FI, weight: 280} template: [name: standard, name: flags] filipino: variables: {key: fl, text: FL, weight: 270, country: ph} template: [name: standard, name: flags] galician: variables: {key: gl, text: GL, weight: 260, country: es} template: [name: standard, name: flags] hebrew: variables: {key: he, text: HE, weight: 250, country: il} template: [name: standard, name: flags] croatian: variables: {key: hr, text: HR, weight: 240} template: [name: standard, name: flags] indonesian: variables: {key: id, text: ID, weight: 230} template: [name: standard, name: flags] georgian: variables: {key: ka, text: KA, weight: 220, country: ge} template: [name: standard, name: flags] kazakh: variables: {key: kk, text: KK, weight: 210, country: kz} template: [name: standard, name: flags] kannada: variables: {key: kn, text: KN, weight: 200, country: in} template: [name: standard, name: flags] latin: variables: {key: la, text: LA, weight: 190, country: it} template: [name: standard, name: flags] lithuanian: variables: {key: lt, text: LT, weight: 180} template: [name: standard, name: flags] latvian: variables: {key: lv, text: LV, weight: 170} template: [name: standard, name: flags] macedonian: variables: {key: mk, text: MK, weight: 160} template: [name: standard, name: flags] malayalam: variables: {key: ml, text: ML, weight: 150, country: in} template: [name: standard, name: flags] marathi: variables: {key: mr, text: MR, weight: 140, country: in} template: [name: standard, name: flags] malay: variables: {key: ms, text: MS, weight: 130, country: my} template: [name: standard, name: flags] norwegian bokmål: variables: {key: nb, text: NB, weight: 120, country: no} template: [name: standard, name: flags] norwegian nynorsk: variables: {key: nn, text: NN, weight: 110, country: no} template: [name: standard, name: flags] punjabi: variables: {key: pa, text: PA, weight: 100, country: in} template: [name: standard, name: flags] romanian: variables: {key: ro, text: RO, weight: 90} template: [name: standard, name: flags] slovak: variables: {key: sk, text: SK, weight: 80} template: [name: standard, name: flags] slovenian: variables: {key: sv, text: SV, weight: 70, country: si} template: [name: standard, name: flags] albanian: variables: {key: sq, text: SQ, weight: 60, country: al} template: [name: standard, name: flags] serbian: variables: {key: sr, text: SR, weight: 50, country: rs} template: [name: standard, name: flags] swahili: variables: {key: sw, text: SW, weight: 40, country: tz} template: [name: standard, name: flags] tamil: variables: {key: ta, text: TA, weight: 30, country: in} template: [name: standard, name: flags] urdu: variables: {key: ur, text: UR, weight: 20, country: pk} template: [name: standard, name: flags] vietnamese: variables: {key: vi, text: VI, weight: 10, country: vn} template: [name: standard, name: flags]