Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/commit/12e7bbfb01e846f95074705a111823eab72f5a7d You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed animetosho empty language fallback ()

pull/2575/head
Anderson Shindy Oki 9 months ago committed by GitHub
parent 96af60918e
commit 12e7bbfb01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -141,7 +141,8 @@ class AnimeToshoProvider(Provider, ProviderSubtitleArchiveMixin):
for subtitle_file in subtitle_files:
hex_id = format(subtitle_file['id'], '08x')
lang = Language.fromalpha3b(subtitle_file['info']['lang'])
# Animetosho assumes missing languages as english as fallback when not specified.
lang = Language.fromalpha3b(subtitle_file['info'].get('lang', 'eng'))
# For Portuguese and Portuguese Brazilian they both share the same code, the name is the only
# identifier AnimeTosho provides. Also, some subtitles does not have name, in this case it could

Loading…
Cancel
Save