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

Fix for invalid language in filename.

pull/614/head
Louis Vézina 6 years ago
parent 2a78008ecb
commit a4ed73b6fc

@ -33,7 +33,7 @@ class EmbeddedSubsReader:
with open(file, 'rb') as f:
mkv = enzyme.MKV(f)
for subtitle_track in mkv.subtitle_tracks:
subtitles_list.append([subtitle_track.language, subtitle_track.forced])
subtitles_list.append([subtitle_track.language, subtitle_track.forced, subtitle_track.codec_id])
return subtitles_list

@ -615,7 +615,7 @@ def _search_external_subtitles(path, languages=None, only_one=False, scandir_gen
try:
language_code = p_root.rsplit(".", 1)[1].replace('_', '-')
try:
language_code = Language.fromietf(language_code)
Language.fromietf(language_code)
except:
language_code = None
except IndexError:

Loading…
Cancel
Save