mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-06 06:52:07 +08:00
Fixed missing subtitles computation when there's an embedded forced subtitles track.
This commit is contained in:
parent
95a509cf23
commit
249437deb4
1 changed files with 2 additions and 2 deletions
|
@ -305,9 +305,9 @@ def list_missing_subtitles(no=None, epno=None, send_event=True):
|
||||||
if item not in actual_subtitles_list:
|
if item not in actual_subtitles_list:
|
||||||
missing_subtitles_list.append(item)
|
missing_subtitles_list.append(item)
|
||||||
|
|
||||||
# remove missing that have forced or hi subtitles for this language in existing
|
# remove missing that have hi subtitles for this language in existing
|
||||||
for item in actual_subtitles_list:
|
for item in actual_subtitles_list:
|
||||||
if item[1] == 'True' or item[2] == 'True':
|
if item[2] == 'True':
|
||||||
try:
|
try:
|
||||||
missing_subtitles_list.remove([item[0], 'False', 'False'])
|
missing_subtitles_list.remove([item[0], 'False', 'False'])
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|
Loading…
Reference in a new issue