mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 09:37:25 +00:00
Fix for history logging label of synced subtitles based on unknown language audio track.
This commit is contained in:
parent
9a7766c851
commit
0448c9d262
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ class SubSyncer:
|
|||
self.reference_stream = "s:{}".format(i)
|
||||
break
|
||||
if not self.reference_stream:
|
||||
using_what = "{0} embedded subtitle track".format(language_from_alpha3(embedded_subs['language'].alpha3))
|
||||
using_what = "{0} embedded subtitle track".format(
|
||||
language_from_alpha3(embedded_subs['language'].alpha3) or 'unknown language audio track')
|
||||
self.reference_stream = "s:0"
|
||||
elif 'audio' in data:
|
||||
audio_tracks = data['audio']
|
||||
|
|
Loading…
Reference in a new issue