Fix subtiles detection

Darn copy paste...
This commit is contained in:
angelblue05 2018-02-11 18:53:45 -06:00
parent 6f31a33818
commit a33a9e3bac

View file

@ -435,7 +435,7 @@ class PlayUtils():
else: else:
prefs += "&SubtitleStreamIndex=%s" % index prefs += "&SubtitleStreamIndex=%s" % index
elif (skip_dialog in (0, 2) and len(subs_streams) > 1): elif skip_dialog in (0, 2) and len(subs_streams):
selection = list(['No subtitles']) + list(subs_streams.keys()) selection = list(['No subtitles']) + list(subs_streams.keys())
resp = dialog.select(lang(33014), selection) resp = dialog.select(lang(33014), selection)
if resp: if resp: