[166] update languages

pull/1145/head
meisnate12 2 years ago
parent a81c473b1f
commit 42a67e6a08

@ -1 +1 @@
1.17.3-develop165 1.17.3-develop166

@ -27,11 +27,10 @@ queues:
position: position:
default: default:
horizontal_offset: 30 horizontal_offset: 30
horizontal_align: right
vertical_offset: 465 vertical_offset: 465
vertical_align: top vertical_align: top
right: right:
- - horizontal_align: right
- vertical_offset: 670 - vertical_offset: 670
- vertical_offset: 875 - vertical_offset: 875
left: left:

@ -9,6 +9,11 @@ external_templates:
pmm: templates pmm: templates
template_variables: template_variables:
conditionals: conditionals:
final_align:
default: left
conditions:
- align: right
value: right
final_text: final_text:
default: <<text>> default: <<text>>
conditions: conditions:
@ -27,15 +32,16 @@ external_templates:
value: value:
style: round style: round
country: <<key>> country: <<key>>
country_<<key>>: <<country>>
queue: position queue: position
pmm: flag/<<final_style>>/<<country>> pmm: flag/<<final_style>>/<<country_<<key>>>>
addon_position: left addon_position: <<final_align>>
offset: 10 offset: 10
addon_offset: <<offset>> addon_offset: <<offset>>
back_color: "#00000099" back_color: "#00000099"
back_width: 190 back_width: 190
back_radius: <<back_radius>> back_radius: <<back_radius>>
back_align: left back_align: <<final_align>>
font: fonts/Inter-Bold.ttf font: fonts/Inter-Bold.ttf
font_size: 50 font_size: 50
final_name: text(<<final_text>>) final_name: text(<<final_text>>)
@ -43,22 +49,21 @@ external_templates:
queues: queues:
position: position:
default: default:
horizontal_align: left
vertical_align: top vertical_align: top
horizontal_offset: 15 horizontal_offset: 15
vertical_offset: 15 vertical_offset: 15
left: left:
- - horizontal_align: left
- vertical_offset: 75 - vertical_offset: 75
- vertical_offset: 135 - vertical_offset: 136
- vertical_offset: 195 - vertical_offset: 197
- vertical_offset: 255 - vertical_offset: 258
right: right:
- horizontal_align: right - horizontal_align: right
- vertical_offset: 75 - vertical_offset: 75
- vertical_offset: 135 - vertical_offset: 136
- vertical_offset: 195 - vertical_offset: 197
- vertical_offset: 255 - vertical_offset: 258
templates: templates:
flags: flags:
@ -75,12 +80,12 @@ templates:
overlays: overlays:
german: english:
variables: {key: de, text: DE, weight: 610} variables: {key: en, text: EN, weight: 610, country: us}
template: [name: standard, name: flags] template: [name: standard, name: flags]
english: german:
variables: {key: en, text: EN, weight: 600, country: us} variables: {key: de, text: DE, weight: 600}
template: [name: standard, name: flags] template: [name: standard, name: flags]
french: french:
@ -212,7 +217,7 @@ overlays:
template: [name: standard, name: flags] template: [name: standard, name: flags]
filipino: filipino:
variables: {key: fil, text: FL, weight: 270, country: ph} variables: {key: fl, text: FL, weight: 270, country: ph}
template: [name: standard, name: flags] template: [name: standard, name: flags]
galician: galician:

@ -1,4 +1,4 @@
version: 1.18.0.4 version: 1.18.0.7
variables: variables:
library_translation: library_translation:
# For Movie Libraries # For Movie Libraries
@ -23,221 +23,221 @@ variables:
# For Playlists # For Playlists
item: Itens item: Itens
key_names: key_names:
# Action: Action Action: Ação
# Action & Adventure: Action & Adventure Action & Adventure: Ação e Aventura
# Actors: Actors Actors: Atores
# Adult: Adult Adult: Adulto
# Adventure: Adventure Adventure: Aventura
# Albanian: Albanian Albanian: Albanês
# Animation: Animation Animation: Animação
# Anime: Anime # Anime: Anime
# Arabic: Arabic Arabic: Árabe
# Argentina: Argentina # Argentina: Argentina
# Audio Language: Audio Language Audio Language: Idioma de áudio
# Australia: Australia Australia: Austrália
# Austria: Austria Austria: Áustria
# Award: Award Award: Prêmio
# Bahamas: Bahamas # Bahamas: Bahamas
# Basque: Basque Basque: Basco
# Belgium: Belgium Belgium: Bélgica
# Bengali: Bengali # Bengali: Bengali
# Biography: Biography Biography: Biografia
# Biopic: Biopic Biopic: Filme biográfico
# Bosnian: Bosnian Bosnian: Bósnia
# Brazil: Brazil Brazil: Brasil
# Bulgaria: Bulgaria Bulgaria: Bulgária
# Bulgarian: Bulgarian Bulgarian: Búlgaro
# Canada: Canada Canada: Canadá
# Catalan: Catalan Catalan: Catalão
# Chart: Chart Chart: Lista
# Children: Children Children: Crianças
# Chile: Chile # Chile: Chile
# China: China # China: China
# Chinese: Chinese Chinese: chinês
Christmas: Natal Christmas: Natal
# Comedy: Comedy Comedy: Comédia
# Competition: Competition Competition: Competição
# Costa Rica: Costa Rica # Costa Rica: Costa Rica
# Country: Country Country: País
# Crime: Crime # Crime: Crime
# Croatia: Croatia Croatia: Croácia
# Croatian: Croatian Croatian: Croata
# Czech: Czech Czech: Tcheco
# Czech Republic: Czech Republic Czech Republic: República Checa
# Danish: Danish Danish: Dinamarquês
# Decade: Decade Decade: Década
# Denmark: Denmark Denmark: Dinamarca
# Directors: Directors Directors: Diretores
# Documentary: Documentary Documentary: Documentário
# Dominican Republic: Dominican Republic Dominican Republic: República Dominicana
# Drama: Drama # Drama: Drama
# Dutch: Dutch Dutch: Holandês
Easter: Páscoa Easter: Páscoa
# Egypt: Egypt Egypt: Egito
# English: English English: Inglês
# Erotica: Erotica Erotica: Erótica
# Estonia: Estonia Estonia: Estônia
# Estonian: Estonian Estonian: Estoniano
# Family: Family Family: Família
# Fantasy: Fantasy Fantasy: Fantasia
Father's Day: Dia dos Pais Father's Day: Dia dos Pais
# Filipino: Filipino # Filipino: Filipino
# Film Noir: Film Noir # Film Noir: Film Noir
# Finland: Finland Finland: Finlândia
# Finnish: Finnish Finnish: Finlandês
# Food: Food Food: Comida
# France: France France: França
# French: French French: Francês
# Galician: Galician Galician: Galego
# Game Show: Game Show Game Show: Show de jogos
# Gangster: Gangster Gangster: ngster
# Genre: Genre Genre: Gênero
# Georgian: Georgian Georgian: Georgiano
# German: German German: Alemão
# Germany: Germany Germany: Alemanha
# Greece: Greece Greece: Grécia
# Greek: Greek Greek: Grego
# Halloween: Halloween # Halloween: Halloween
# Hebrew: Hebrew Hebrew: Hebraico
# Hindi: Hindi # Hindi: Hindi
# History: History History: História
# Home and Garden: Home and Garden Home and Garden: Casa e Jardim
# Hong Kong: Hong Kong # Hong Kong: Hong Kong
# Horror: Horror # Horror: Horror
# Hungarian: Hungarian Hungarian: Húngaro
# Hungary: Hungary Hungary: Hungria
# Iceland: Iceland Iceland: Islândia
# Icelandic: Icelandic Icelandic: Islandês
Independence Day: Dia da Independência Independence Day: Dia da Independência
# India: India India: Índia
# Indie: Indie # Indie: Indie
# Indonesia: Indonesia Indonesia: Indonésia
# Indonesian: Indonesian Indonesian: Indonésio
# Iran: Iran Iran: Irã
# Ireland: Ireland Ireland: Iraniano
# Israel: Israel # Israel: Israel
# Italian: Italian Italian: Italiano
# Italy: Italy Italy: Itália
# Japan: Japan Japan: Japão
# Japanese: Japanese Japanese: Japonês
# Kannada: Kannada Kannada: Canarês
# Kazakh: Kazakh Kazakh: Cazaque
# Kids: Kids Kids: Crianças
# Korea: Korea Korea: Coréia
# Korean: Korean Korean: Coreano
# LGBTQ+: LGBTQ+ # LGBTQ+: LGBTQ+
Labor Day: Dia do Trabalho Labor Day: Dia do Trabalho
# Latin: Latin Latin: latim
# Latvia: Latvia Latvia: Letônia
# Latvian: Latvian Latvian: Letão
# Luxembourg: Luxembourg Luxembourg: Luxemburgo
# Macedonian: Macedonian Macedonian: Macedônio
# Malay: Malay Malay: Malaio
# Malayalam: Malayalam Malayalam: Malaiala
# Malaysia: Malaysia Malaysia: Malásia
# Malaysian: Malaysian Malaysian: Malaio
# Marathi: Marathi # Marathi: Marathi
# Martial Arts: Martial Arts Martial Arts: Artes marciais
Memorial Day: Dia da Recordação Memorial Day: Dia da Recordação
# Mexico: Mexico # Mexico: Mexico
# Mind-Bend: Mind-Bend # Mind-Bend: Mind-Bend
# Mind-Fuck: Mind-Fuck # Mind-Fuck: Mind-Fuck
# Mini-Series: Mini-Series # Mini-Series: Mini-Series
# Morocco: Morocco Morocco: Marrocos
Mother's Day: Dia das Mães Mother's Day: Dia das Mães
# Music: Music Music: Música
# Musical: Musical # Musical: Musical
# Mystery: Mystery Mystery: Mistério
# Nepal: Nepal # Nepal: Nepal
# Netherlands: Netherlands Netherlands: Holanda
# Network: Network # Network: Network
New Year's Day: 1º dia do Ano New Year's Day: 1º dia do Ano
# New Zealand: New Zealand New Zealand: Nova Zelândia
# News: News News: Notícia
# News & Politics: News & Politics News & Politics: Notícias e política
# Norway: Norway Norway: Noruega
# Norwegian: Norwegian Norwegian: Norueguês
# Norwegian Bokmål: Norwegian Bokmål Norwegian Bokmål: Bokmål norueguês
# Norwegian Nynorsk: Norwegian Nynorsk Norwegian Nynorsk: Norueguês Nynorsk
# Pakistan: Pakistan Pakistan: Paquistão
# Panama: Panama Panama: Panamá
# Persian: Persian Persian: Persa
# Peru: Peru # Peru: Peru
# Philippines: Philippines Philippines: Filipinos
# Poland: Poland Poland: Polônia
# Polish: Polish Polish: Polonês
# Politics: Politics Politics: Político
# Portugal: Portugal # Portugal: Portugal
# Portugese: Portugese Portugese: Português
# Portuguese: Portuguese Portuguese: Português
# Producers: Producers Producers: Produtores
# Punjabi: Punjabi # Punjabi: Punjabi
# Qatar: Qatar Qatar: Catar
# Ratings: Ratings Ratings: Classificações
# Reality: Reality Reality: Realidade
# Resolution: Resolution Resolution: Resolução
# Romance: Romance # Romance: Romance
# Romania: Romania Romania: Romênia
# Romanian: Romanian Romanian: Romeno
# Romantic Comedy: Romantic Comedy Romantic Comedy: Comédia romântica
# Romantic Drama: Romantic Drama Romantic Drama: Drama romântico
# Russia: Russia Russia: ssia
# Russian: Russian Russian: Russo
# Saudi Arabia: Saudi Arabia Saudi Arabia: Arábia Saudita
# Sci-Fi & Fantasy: Sci-Fi & Fantasy Sci-Fi & Fantasy: Ficção científica e fantasia
# Science Fiction: Science Fiction Science Fiction: Ficção científica
# Seasonal: Seasonal Seasonal: Sazonal
# Serbia: Serbia Serbia: sérvia
# Serbian: Serbian Serbian: Sérvio
# Short: Short Short: Curto
# Singapore: Singapore Singapore: Cingapura
# Slasher: Slasher # Slasher: Slasher
# Slovak: Slovak Slovak: Eslovaco
# Slovenian: Slovenian Slovenian: esloveno
# Soap: Soap Soap: Sabão
# South Africa: South Africa South Africa: África do Sul
# Spain: Spain Spain: Espanha
# Spanish: Spanish Spanish: Espanhol
# Sport: Sport Sport: Esporte
# Sri Lanka: Sri Lanka # Sri Lanka: Sri Lanka
St. Patrick's Day: Dia de São Patrício St. Patrick's Day: Dia de São Patrício
# Stand-Up Comedy: Stand-Up Comedy Stand-Up Comedy: Comédia em Pé
# Streaming: Streaming # Streaming: Streaming
# Studio: Studio Studio: Estúdio
# Subtitle Language: Subtitle Language Subtitle Language: Idioma das legendas
# Superhero: Superhero Superhero: Super heroi
# Suspense: Suspense # Suspense: Suspense
# Swahili: Swahili Swahili: suaíli
# Sweden: Sweden Sweden: Suécia
# Swedish: Swedish Swedish: Sueco
# Switzerland: Switzerland Switzerland: Suíça
# Sword & Sorcery: Sword & Sorcery Sword & Sorcery: Espada e Feitiçaria
# TV Movie: TV Movie TV Movie: Filme para TV
# Talk Show: Talk Show Talk Show: Programa de entrevista
# Tamil: Tamil Tamil: mil
# Telugu: Telugu # Telugu: Telugu
# Thai: Thai Thai: Tailandês
# Thailand: Thailand Thailand: Tailândia
Thanksgiving: Ação de Graças Thanksgiving: Ação de Graças
# Thriller: Thriller Thriller: Filme de ação
# Travel: Travel Travel: Viagem
# Turkey: Turkey Turkey: Turquia
# Turkish: Turkish # Turkish: Turkish
# Ukraine: Ukraine Ukraine: Ucrânia
# Ukrainian: Ukrainian Ukrainian: Ucraniano
# United Arab Emirates: United Arab Emirates United Arab Emirates: Emirados Árabes Unidos
# United Kingdom: United Kingdom United Kingdom: Reino Unido
# United States of America: United States of America United States of America: Estados Unidos da América
# Universe: Universe Universe: Universo
# Urdu: Urdu # Urdu: Urdu
Valentine's Day: Dia de São Valentim Valentine's Day: Dia de São Valentim
# Vietnam: Vietnam Vietnam: Vietnã
# Vietnamese: Vietnamese Vietnamese: Vietnamita
# War & Politics: War & Politics War & Politics: Guerra e Política
# Welsh: Welsh Welsh: Galês
# Western: Western Western: Ocidental
# Writers: Writers Writers: Escritoras
# Year: Year Year: Ano
translations: translations:
############################################################# #############################################################
@ -409,7 +409,7 @@ translations:
# possible key_names: Seasonal, Chart, Universe, Streaming, Network, Genre, Studio, Country, Audio Language, Subtitle Language, Decade, Year, Ratings, Resolution, Award, Actors, Directors, Producers, Writers # possible key_names: Seasonal, Chart, Universe, Streaming, Network, Genre, Studio, Country, Audio Language, Subtitle Language, Decade, Year, Ratings, Resolution, Award, Actors, Directors, Producers, Writers
separator_name: <<translated_key_name>> Coleções separator_name: <<translated_key_name>> Coleções
separator_summary: Separador de seção para Coleções de <<key_name>>. separator_summary: Separador de seção para Coleções de <<translated_key_name>>.
# example key_name: Robin Williams # example key_name: Robin Williams
actor_name: <<translated_key_name>> actor_name: <<translated_key_name>>
@ -422,6 +422,9 @@ translations:
audio_language_other_name: Outros Áudios audio_language_other_name: Outros Áudios
audio_language_other_summary: <<library_translationU>>s filmado em outras línguas. audio_language_other_summary: <<library_translationU>>s filmado em outras línguas.
collectionless_name: Sem coleção
collectionless_summary: <<library_translationU>>s usado apenas para fazer com que o Plex exiba itens corretamente.
# example key_name: TV-MA # example key_name: TV-MA
content_rating_name: <<translated_key_name>> <<library_translationU>>s content_rating_name: <<translated_key_name>> <<library_translationU>>s
content_rating_summary: <<library_translationU>>s que são classificados <<translated_key_name>>. content_rating_summary: <<library_translationU>>s que são classificados <<translated_key_name>>.

@ -10,69 +10,69 @@ The `languages` Default Overlay File is used to create an overlay of a flag and
## Supported Audio/Subtitle Language Flags ## Supported Audio/Subtitle Language Flags
| Audio/Subtitle Languages | Key | Weight | | Audio/Subtitle Languages | Key | Weight | Default Flag |
|:-------------------------|:----:|:------:| |:-------------------------|:----:|:------:|:------------:|
| German | `de` | `610` | | English | `en` | `610` | `us` |
| English | `en` | `600` | | German | `de` | `600` | `de` |
| French | `fr` | `590` | | French | `fr` | `590` | `fr` |
| Japanese | `ja` | `580` | | Japanese | `ja` | `580` | `jp` |
| Korean | `ko` | `570` | | Korean | `ko` | `570` | `kr` |
| Chinese | `zh` | `560` | | Chinese | `zh` | `560` | `cn` |
| Danish | `da` | `550` | | Danish | `da` | `550` | `dk` |
| Russian | `ru` | `540` | | Russian | `ru` | `540` | `ru` |
| Spanish | `es` | `530` | | Spanish | `es` | `530` | `es` |
| Italian | `it` | `520` | | Italian | `it` | `520` | `it` |
| Portuguese | `pt` | `510` | | Portuguese | `pt` | `510` | `pt` |
| Hindi | `hi` | `500` | | Hindi | `hi` | `500` | `in` |
| Telugu | `te` | `490` | | Telugu | `te` | `490` | `in` |
| Farsi | `fa` | `480` | | Farsi | `fa` | `480` | `ir` |
| Thai | `th` | `470` | | Thai | `th` | `470` | `th` |
| Dutch | `nl` | `460` | | Dutch | `nl` | `460` | `nl` |
| Norwegian | `no` | `450` | | Norwegian | `no` | `450` | `no` |
| Icelandic | `is` | `440` | | Icelandic | `is` | `440` | `is` |
| Swedish | `sv` | `430` | | Swedish | `sv` | `430` | `se` |
| Turkish | `tr` | `420` | | Turkish | `tr` | `420` | `tr` |
| Polish | `pl` | `410` | | Polish | `pl` | `410` | `pl` |
| Czech | `cs` | `400` | | Czech | `cs` | `400` | `cz` |
| Ukrainian | `uk` | `390` | | Ukrainian | `uk` | `390` | `ua` |
| Hungarian | `hu` | `380` | | Hungarian | `hu` | `380` | `hu` |
| Arabic | `ar` | `370` | | Arabic | `ar` | `370` | `eg` |
| Bulgarian | `bg` | `360` | | Bulgarian | `bg` | `360` | `bg` |
| Bengali | `bn` | `350` | | Bengali | `bn` | `350` | `bd` |
| Bosnian | `bs` | `340` | | Bosnian | `bs` | `340` | `ba` |
| Catalan | `ca` | `330` | | Catalan | `ca` | `330` | `es` |
| Welsh | `cy` | `320` | | Welsh | `cy` | `320` | `uk` |
| Greek | `el` | `310` | | Greek | `el` | `310` | `gr` |
| Estonian | `et` | `300` | | Estonian | `et` | `300` | `ee` |
| Basque | `eu` | `290` | | Basque | `eu` | `290` | `es` |
| Finnish | `fi` | `280` | | Finnish | `fi` | `280` | `fi` |
| Filipino | `fi` | `270` | | Filipino | `fl` | `270` | `ph` |
| Galician | `gl` | `260` | | Galician | `gl` | `260` | `es` |
| Hebrew | `he` | `250` | | Hebrew | `he` | `250` | `il` |
| Croatian | `hr` | `240` | | Croatian | `hr` | `240` | `hr` |
| Indonesian | `id` | `230` | | Indonesian | `id` | `230` | `id` |
| Georgian | `ka` | `220` | | Georgian | `ka` | `220` | `ge` |
| Kazakh | `kk` | `210` | | Kazakh | `kk` | `210` | `kz` |
| Kannada | `kn` | `200` | | Kannada | `kn` | `200` | `in` |
| Latin | `la` | `190` | | Latin | `la` | `190` | `it` |
| Lithuanian | `lt` | `180` | | Lithuanian | `lt` | `180` | `lt` |
| Latvian | `lv` | `170` | | Latvian | `lv` | `170` | `lv` |
| Macedonian | `mk` | `160` | | Macedonian | `mk` | `160` | `mk` |
| Malayalam | `ml` | `150` | | Malayalam | `ml` | `150` | `in` |
| Marathi | `mr` | `140` | | Marathi | `mr` | `140` | `in` |
| Malay | `ms` | `130` | | Malay | `ms` | `130` | `my` |
| Norwegian Nokmål | `nb` | `120` | | Norwegian Nokmål | `nb` | `120` | `no` |
| Norwegian Nynorsk | `nn` | `110` | | Norwegian Nynorsk | `nn` | `110` | `no` |
| Punjabi | `pa` | `100` | | Punjabi | `pa` | `100` | `in` |
| Romanian | `ro` | `90` | | Romanian | `ro` | `90` | `ro` |
| Slovak | `sk` | `80` | | Slovak | `sk` | `80` | `sk` |
| Slovenian | `sv` | `70` | | Slovenian | `sv` | `70` | `si` |
| Albanian | `sq` | `60` | | Albanian | `sq` | `60` | `al` |
| Serbian | `sr` | `50` | | Serbian | `sr` | `50` | `rs` |
| Swahili | `sw` | `40` | | Swahili | `sw` | `40` | `tz` |
| Tamil | `ta` | `30` | | Tamil | `ta` | `30` | `in` |
| Urdu | `ur` | `20` | | Urdu | `ur` | `20` | `pk` |
| Vietnamese | `vi` | `10` | | Vietnamese | `vi` | `10` | `vn` |
#### Square Style #### Square Style
@ -121,22 +121,24 @@ All [Shared Overlay Variables](variables) are available with the default values
| `vertical_offset` | `15`/`75`/`135`/`195`/`255` | | `vertical_offset` | `15`/`75`/`135`/`195`/`255` |
| `vertical_align` | `top` | | `vertical_align` | `top` |
| `back_color` | `#00000099` | | `back_color` | `#00000099` |
| `back_radius` | `26`/`` | | `back_radius` | `26`/` ` |
| `back_width` | `190` | | `back_width` | `190` |
| `back_height` | `105` | | `back_height` | `105` |
| `back_align` | `left` | | `back_align` | `left` |
| `font` | `fonts/Inter-Bold.ttf` | | `font` | `fonts/Inter-Bold.ttf` |
| `font_size` | `50` | | `font_size` | `50` |
| Variable | Description & Values | | Variable | Description & Values |
|:-----------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |:------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `position` | **Description:** Changes the position of the Overlays.<br>**Default:** `left`<br>**Values:** `left`, `right`, `half`, or List of Coordinates | | `position` | **Description:** Changes the position of the Overlays.<br>**Default:** `left`<br>**Values:** `left`, `right`, `half`, or List of Coordinates |
| `style` | **Description:** Controls the visual theme of the overlays created.<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>round</code></td><td>Round Theme</td></tr><tr><td><code>square</code></td><td>Square Theme</td></tr><tr><td><code>half</code></td><td>Square Flag with Round Background</td></tr></table> | | `style` | **Description:** Controls the visual theme of the overlays created.<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>round</code></td><td>Round Theme</td></tr><tr><td><code>square</code></td><td>Square Theme</td></tr><tr><td><code>half</code></td><td>Square Flag with Round Background</td></tr></table> |
| `offset` | **Description:** Controls the offset between the flag and the text.<br>**Default:** `10`<br>**Values:** Any Integer 0 or greater | | `offset` | **Description:** Controls the offset between the flag and the text.<br>**Default:** `10`<br>**Values:** Any Integer 0 or greater |
| `use_lowercase` | **Description:** Controls if the overlay display is in lowercase.<br>**Values:** `true` to use lowercase text | | `align` | **Description:** Controls the flag alignment in the backdrop.<br>**Default:** `left`<br>**Values:** `left` or `right` |
| `use_subtitles` | **Description:** Controls if the overlay is based on subtitle language instead of audio language.<br>**Values:** `true` to look at subtitle language instead of audio language | | `country_<<key>>`<sup>1</sup> | **Description:** Controls the country image for the Overlay.<br>**Default:** Listed in the [Table](#supported-audio-subtitle-language-flags) above<br>**Values:** [ISO 3166-1 Country Code](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) for the flag desired |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` | | `use_lowercase` | **Description:** Controls if the overlay display is in lowercase.<br>**Values:** `true` to use lowercase text |
| `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number | | `use_subtitles` | **Description:** Controls if the overlay is based on subtitle language instead of audio language.<br>**Values:** `true` to look at subtitle language instead of audio language |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |
| `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
1. Each default overlay has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling. 1. Each default overlay has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.

@ -1527,11 +1527,13 @@ class OverlayFile(DataFile):
for pos in initial_queue: for pos in initial_queue:
if not pos: if not pos:
pos = {} pos = {}
horizontal_align = pos["horizontal_align"] if "horizontal_align" in pos else horizontal_align
vertical_align = pos["vertical_align"] if "vertical_align" in pos else vertical_align
horizontal_offset = pos["horizontal_offset"] if "horizontal_offset" in pos else horizontal_offset
vertical_offset = pos["vertical_offset"] if "vertical_offset" in pos else vertical_offset
new_pos = { new_pos = {
"horizontal_align": pos["horizontal_align"] if "horizontal_align" in pos else horizontal_align, "horizontal_align": horizontal_align, "vertical_align": vertical_align,
"vertical_align": pos["vertical_align"] if "vertical_align" in pos else vertical_align, "horizontal_offset": horizontal_offset, "vertical_offset": vertical_offset
"horizontal_offset": pos["horizontal_offset"] if "horizontal_offset" in pos else horizontal_offset,
"vertical_offset": pos["vertical_offset"] if "vertical_offset" in pos else vertical_offset
} }
for pk, pv in new_pos.items(): for pk, pv in new_pos.items():
if pv is None: if pv is None:

Loading…
Cancel
Save