[91] update languages

This commit is contained in:
meisnate12 2023-08-14 15:00:14 -04:00
parent 1abba1e963
commit b7ade94249
4 changed files with 86 additions and 81 deletions

View file

@ -1 +1 @@
1.19.0-develop90
1.19.0-develop91

View file

@ -44,11 +44,12 @@ external_templates:
country: <<key>>
country_<<key>>: <<country>>
offset: 10
width: 190
queue: flags
addon_position: <<final_align>>
addon_offset: <<offset>>
back_color: "#00000099"
back_width: 190
back_width: <<width>>
back_align: <<final_align>>
font: fonts/Inter-Bold.ttf
font_size: 50
@ -441,7 +442,7 @@ overlays:
template: [name: flags, name: standard]
filipino:
variables: {key: fil, text: FIL, weight: 265, country: ph}
variables: {key: fil, text: FIL, weight: 265, country: ph, width: 230}
template: [name: flags, name: standard]
galician:
@ -564,8 +565,8 @@ overlays:
variables: {key: iu, text: IK, weight: 7, country: ca}
template: [name: flags, name: standard]
romany:
variables: {key: rom, text: ROM, weight: 6, country: ro}
romani:
variables: {key: rom, text: ROM, weight: 6, country: ro, width: 230}
template: [name: flags, name: standard]
amharic:

View file

@ -10,78 +10,78 @@ Supported library types: Movie & Show
## Supported Audio/Subtitle Language Flags
| Audio/Subtitle Languages | Key | Weight | Default Flag | Default Use |
|:-------------------------|:-----|:-------|:-------------|:-----------:|
| English | `en` | `610` | `us` | &#9989; |
| German | `de` | `600` | `de` | &#9989; |
| French | `fr` | `590` | `fr` | &#9989; |
| Spanish | `es` | `580` | `es` | &#9989; |
| Portuguese | `pt` | `570` | `pt` | &#9989; |
| Japanese | `ja` | `560` | `jp` | &#9989; |
| Korean | `ko` | `550` | `kr` | &#10060; |
| Chinese | `zh` | `540` | `cn` | &#10060; |
| Danish | `da` | `530` | `dk` | &#10060; |
| Russian | `ru` | `520` | `ru` | &#10060; |
| Italian | `it` | `510` | `it` | &#10060; |
| Hindi | `hi` | `500` | `in` | &#10060; |
| Telugu | `te` | `490` | `in` | &#10060; |
| Farsi | `fa` | `480` | `ir` | &#10060; |
| Thai | `th` | `470` | `th` | &#10060; |
| Dutch | `nl` | `460` | `nl` | &#10060; |
| Norwegian | `no` | `450` | `no` | &#10060; |
| Icelandic | `is` | `440` | `is` | &#10060; |
| Swedish | `sv` | `430` | `se` | &#10060; |
| Turkish | `tr` | `420` | `tr` | &#10060; |
| Polish | `pl` | `410` | `pl` | &#10060; |
| Czech | `cs` | `400` | `cz` | &#10060; |
| Ukrainian | `uk` | `390` | `ua` | &#10060; |
| Hungarian | `hu` | `380` | `hu` | &#10060; |
| Arabic | `ar` | `370` | `eg` | &#10060; |
| Bulgarian | `bg` | `360` | `bg` | &#10060; |
| Bengali | `bn` | `350` | `bd` | &#10060; |
| Bosnian | `bs` | `340` | `ba` | &#10060; |
| Catalan | `ca` | `330` | `es` | &#10060; |
| Welsh | `cy` | `320` | `uk` | &#10060; |
| Greek | `el` | `310` | `gr` | &#10060; |
| Estonian | `et` | `300` | `ee` | &#10060; |
| Basque | `eu` | `290` | `es` | &#10060; |
| Finnish | `fi` | `280` | `fi` | &#10060; |
| Tagalog | `tl` | `270` | `ph` | &#10060; |
| Filipino | `fil`| `265` | `ph` | &#10060; |
| Galician | `gl` | `260` | `es` | &#10060; |
| Hebrew | `he` | `250` | `il` | &#10060; |
| Croatian | `hr` | `240` | `hr` | &#10060; |
| Indonesian | `id` | `230` | `id` | &#10060; |
| Georgian | `ka` | `220` | `ge` | &#10060; |
| Kazakh | `kk` | `210` | `kz` | &#10060; |
| Kannada | `kn` | `200` | `in` | &#10060; |
| Latin | `la` | `190` | `it` | &#10060; |
| Lithuanian | `lt` | `180` | `lt` | &#10060; |
| Latvian | `lv` | `170` | `lv` | &#10060; |
| Macedonian | `mk` | `160` | `mk` | &#10060; |
| Malayalam | `ml` | `150` | `in` | &#10060; |
| Marathi | `mr` | `140` | `in` | &#10060; |
| Malay | `ms` | `130` | `my` | &#10060; |
| Norwegian Nokmål | `nb` | `120` | `no` | &#10060; |
| Norwegian Nynorsk | `nn` | `110` | `no` | &#10060; |
| Punjabi | `pa` | `100` | `in` | &#10060; |
| Romanian | `ro` | `90` | `ro` | &#10060; |
| Slovak | `sk` | `80` | `sk` | &#10060; |
| Slovenian | `sl` | `70` | `si` | &#10060; |
| Albanian | `sq` | `60` | `al` | &#10060; |
| Serbian | `sr` | `50` | `rs` | &#10060; |
| Somali | `so` | `45` | `so` | &#10060; |
| Swahili | `sw` | `40` | `tz` | &#10060; |
| Tamil | `ta` | `30` | `in` | &#10060; |
| Urdu | `ur` | `20` | `pk` | &#10060; |
| Vietnamese | `vi` | `15` | `vn` | &#10060; |
| Wolof | `wo` | `10` | `sn` | &#10060; |
| Mayan | `myn`| `8` | `mx` | &#10060; |
| Inuktitut | `iu` | `7` | `ca` | &#10060; |
| Romany | `rom`| `6` | `ro` | &#10060; |
| Amharic | `am` | `5` | `et` | &#10060; |
| Sundanese | `su` | `4` | `id` | &#10060; |
| Zulu | `zu` | `3` | `za` | &#10060; |
| Audio/Subtitle Languages | Key | Weight | Default Flag | Default Use |
|:-------------------------|:------|:-------|:-------------|:-----------:|
| English | `en` | `610` | `us` | &#9989; |
| German | `de` | `600` | `de` | &#9989; |
| French | `fr` | `590` | `fr` | &#9989; |
| Spanish | `es` | `580` | `es` | &#9989; |
| Portuguese | `pt` | `570` | `pt` | &#9989; |
| Japanese | `ja` | `560` | `jp` | &#9989; |
| Korean | `ko` | `550` | `kr` | &#10060; |
| Chinese | `zh` | `540` | `cn` | &#10060; |
| Danish | `da` | `530` | `dk` | &#10060; |
| Russian | `ru` | `520` | `ru` | &#10060; |
| Italian | `it` | `510` | `it` | &#10060; |
| Hindi | `hi` | `500` | `in` | &#10060; |
| Telugu | `te` | `490` | `in` | &#10060; |
| Farsi | `fa` | `480` | `ir` | &#10060; |
| Thai | `th` | `470` | `th` | &#10060; |
| Dutch | `nl` | `460` | `nl` | &#10060; |
| Norwegian | `no` | `450` | `no` | &#10060; |
| Icelandic | `is` | `440` | `is` | &#10060; |
| Swedish | `sv` | `430` | `se` | &#10060; |
| Turkish | `tr` | `420` | `tr` | &#10060; |
| Polish | `pl` | `410` | `pl` | &#10060; |
| Czech | `cs` | `400` | `cz` | &#10060; |
| Ukrainian | `uk` | `390` | `ua` | &#10060; |
| Hungarian | `hu` | `380` | `hu` | &#10060; |
| Arabic | `ar` | `370` | `eg` | &#10060; |
| Bulgarian | `bg` | `360` | `bg` | &#10060; |
| Bengali | `bn` | `350` | `bd` | &#10060; |
| Bosnian | `bs` | `340` | `ba` | &#10060; |
| Catalan | `ca` | `330` | `es` | &#10060; |
| Welsh | `cy` | `320` | `uk` | &#10060; |
| Greek | `el` | `310` | `gr` | &#10060; |
| Estonian | `et` | `300` | `ee` | &#10060; |
| Basque | `eu` | `290` | `es` | &#10060; |
| Finnish | `fi` | `280` | `fi` | &#10060; |
| Tagalog | `tl` | `270` | `ph` | &#10060; |
| Filipino | `fil` | `265` | `ph` | &#10060; |
| Galician | `gl` | `260` | `es` | &#10060; |
| Hebrew | `he` | `250` | `il` | &#10060; |
| Croatian | `hr` | `240` | `hr` | &#10060; |
| Indonesian | `id` | `230` | `id` | &#10060; |
| Georgian | `ka` | `220` | `ge` | &#10060; |
| Kazakh | `kk` | `210` | `kz` | &#10060; |
| Kannada | `kn` | `200` | `in` | &#10060; |
| Latin | `la` | `190` | `it` | &#10060; |
| Lithuanian | `lt` | `180` | `lt` | &#10060; |
| Latvian | `lv` | `170` | `lv` | &#10060; |
| Macedonian | `mk` | `160` | `mk` | &#10060; |
| Malayalam | `ml` | `150` | `in` | &#10060; |
| Marathi | `mr` | `140` | `in` | &#10060; |
| Malay | `ms` | `130` | `my` | &#10060; |
| Norwegian Nokmål | `nb` | `120` | `no` | &#10060; |
| Norwegian Nynorsk | `nn` | `110` | `no` | &#10060; |
| Punjabi | `pa` | `100` | `in` | &#10060; |
| Romanian | `ro` | `90` | `ro` | &#10060; |
| Slovak | `sk` | `80` | `sk` | &#10060; |
| Slovenian | `sl` | `70` | `si` | &#10060; |
| Albanian | `sq` | `60` | `al` | &#10060; |
| Serbian | `sr` | `50` | `rs` | &#10060; |
| Somali | `so` | `45` | `so` | &#10060; |
| Swahili | `sw` | `40` | `tz` | &#10060; |
| Tamil | `ta` | `30` | `in` | &#10060; |
| Urdu | `ur` | `20` | `pk` | &#10060; |
| Vietnamese | `vi` | `15` | `vn` | &#10060; |
| Wolof | `wo` | `10` | `sn` | &#10060; |
| Mayan | `myn` | `8` | `mx` | &#10060; |
| Inuktitut | `iu` | `7` | `ca` | &#10060; |
| Romani | `rom` | `6` | `ro` | &#10060; |
| Amharic | `am` | `5` | `et` | &#10060; |
| Sundanese | `su` | `4` | `id` | &#10060; |
| Zulu | `zu` | `3` | `za` | &#10060; |
### Square Style

View file

@ -517,8 +517,10 @@ class Operations:
self.library.background_update(item, new_background, tmdb=tmdb_item.backdrop_url if tmdb_item else None)
if self.library.is_show and (
self.library.mass_poster_update["seasons"] or self.library.mass_poster_update["episodes"] or
self.library.mass_background_update["seasons"] or self.library.mass_background_update["episodes"]
(self.library.mass_poster_update and
(self.library.mass_poster_update["seasons"] or self.library.mass_poster_update["episodes"])) or
(self.library.mass_background_update and
(self.library.mass_background_update["seasons"] or self.library.mass_background_update["episodes"]))
):
real_show = None
try:
@ -527,7 +529,8 @@ class Operations:
logger.error(e)
tmdb_seasons = {s.season_number: s for s in real_show.seasons} if real_show else {}
for season in self.library.query(item.seasons):
if self.library.mass_poster_update["seasons"] or self.library.mass_background_update["seasons"]:
if (self.library.mass_poster_update and self.library.mass_poster_update["seasons"]) or \
(self.library.mass_background_update and self.library.mass_background_update["seasons"]):
try:
season_poster, season_background, _, _ = self.library.find_item_assets(season, item_asset_directory=item_dir, folder_name=name)
except Failed:
@ -539,7 +542,8 @@ class Operations:
if self.library.mass_background_update:
self.library.background_update(season, season_background, title=season.title if season else None)
if self.library.mass_poster_update["episodes"] or self.library.mass_background_update["episodes"]:
if (self.library.mass_poster_update and self.library.mass_poster_update["episodes"]) or \
(self.library.mass_background_update and self.library.mass_background_update["episodes"]):
tmdb_episodes = {}
if season.seasonNumber in tmdb_seasons:
for episode in tmdb_seasons[season.seasonNumber].episodes: