mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Merge pull request #530 from venomousZealot/patch-1
Fix impossibility of choosing the first subtitle
This commit is contained in:
commit
59eafe5192
1 changed files with 2 additions and 2 deletions
|
@ -633,8 +633,8 @@ class PlayUtils(object):
|
|||
selection = list(['No subtitles']) + list(map(get_track_title, subs_streams))
|
||||
resp = dialog("select", translate(33014), selection) - 1
|
||||
|
||||
if resp:
|
||||
index = subs_streams[resp] if resp > -1 else source.get('DefaultSubtitleStreamIndex')
|
||||
if resp > -1:
|
||||
index = subs_streams[resp]
|
||||
|
||||
if index is not None:
|
||||
|
||||
|
|
Loading…
Reference in a new issue