############################################################################## # 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: style: round country: <> country_<>: <> queue: position pmm: flag/<>/<>>> addon_position: <> offset: 10 addon_offset: <> back_color: "#00000099" back_width: 190 back_radius: <> back_align: <> font: fonts/Inter-Bold.ttf font_size: 50 final_name: text(<>) queues: position: default: vertical_align: top horizontal_offset: 15 vertical_offset: 15 left: - horizontal_align: left - vertical_offset: 75 - vertical_offset: 136 - vertical_offset: 197 - vertical_offset: 258 right: - horizontal_align: right - vertical_offset: 75 - vertical_offset: 136 - vertical_offset: 197 - vertical_offset: 258 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]