[91] update languages

pull/1555/head
meisnate12 1 year ago
parent 1abba1e963
commit b7ade94249

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

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

@ -11,7 +11,7 @@ Supported library types: Movie & Show
## Supported Audio/Subtitle Language Flags ## Supported Audio/Subtitle Language Flags
| Audio/Subtitle Languages | Key | Weight | Default Flag | Default Use | | Audio/Subtitle Languages | Key | Weight | Default Flag | Default Use |
|:-------------------------|:-----|:-------|:-------------|:-----------:| |:-------------------------|:------|:-------|:-------------|:-----------:|
| English | `en` | `610` | `us` | &#9989; | | English | `en` | `610` | `us` | &#9989; |
| German | `de` | `600` | `de` | &#9989; | | German | `de` | `600` | `de` | &#9989; |
| French | `fr` | `590` | `fr` | &#9989; | | French | `fr` | `590` | `fr` | &#9989; |
@ -47,7 +47,7 @@ Supported library types: Movie & Show
| Basque | `eu` | `290` | `es` | &#10060; | | Basque | `eu` | `290` | `es` | &#10060; |
| Finnish | `fi` | `280` | `fi` | &#10060; | | Finnish | `fi` | `280` | `fi` | &#10060; |
| Tagalog | `tl` | `270` | `ph` | &#10060; | | Tagalog | `tl` | `270` | `ph` | &#10060; |
| Filipino | `fil`| `265` | `ph` | &#10060; | | Filipino | `fil` | `265` | `ph` | &#10060; |
| Galician | `gl` | `260` | `es` | &#10060; | | Galician | `gl` | `260` | `es` | &#10060; |
| Hebrew | `he` | `250` | `il` | &#10060; | | Hebrew | `he` | `250` | `il` | &#10060; |
| Croatian | `hr` | `240` | `hr` | &#10060; | | Croatian | `hr` | `240` | `hr` | &#10060; |
@ -76,9 +76,9 @@ Supported library types: Movie & Show
| Urdu | `ur` | `20` | `pk` | &#10060; | | Urdu | `ur` | `20` | `pk` | &#10060; |
| Vietnamese | `vi` | `15` | `vn` | &#10060; | | Vietnamese | `vi` | `15` | `vn` | &#10060; |
| Wolof | `wo` | `10` | `sn` | &#10060; | | Wolof | `wo` | `10` | `sn` | &#10060; |
| Mayan | `myn`| `8` | `mx` | &#10060; | | Mayan | `myn` | `8` | `mx` | &#10060; |
| Inuktitut | `iu` | `7` | `ca` | &#10060; | | Inuktitut | `iu` | `7` | `ca` | &#10060; |
| Romany | `rom`| `6` | `ro` | &#10060; | | Romani | `rom` | `6` | `ro` | &#10060; |
| Amharic | `am` | `5` | `et` | &#10060; | | Amharic | `am` | `5` | `et` | &#10060; |
| Sundanese | `su` | `4` | `id` | &#10060; | | Sundanese | `su` | `4` | `id` | &#10060; |
| Zulu | `zu` | `3` | `za` | &#10060; | | Zulu | `zu` | `3` | `za` | &#10060; |

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

Loading…
Cancel
Save