[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>>
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:

@ -11,7 +11,7 @@ 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; |
@ -78,7 +78,7 @@ Supported library types: Movie & Show
| Wolof | `wo` | `10` | `sn` | &#10060; |
| Mayan | `myn` | `8` | `mx` | &#10060; |
| Inuktitut | `iu` | `7` | `ca` | &#10060; |
| Romany | `rom`| `6` | `ro` | &#10060; |
| Romani | `rom` | `6` | `ro` | &#10060; |
| Amharic | `am` | `5` | `et` | &#10060; |
| Sundanese | `su` | `4` | `id` | &#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)
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:

Loading…
Cancel
Save