mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Additional cleanup
This commit is contained in:
parent
46d16293d2
commit
1ae54a3e20
1 changed files with 1 additions and 5 deletions
|
@ -580,8 +580,6 @@ class PlayUtils(object):
|
|||
|
||||
if stream_type == 'Audio':
|
||||
|
||||
track = stream['DisplayTitle']
|
||||
|
||||
audio_streams.append(index)
|
||||
|
||||
elif stream_type == 'Subtitle':
|
||||
|
@ -593,15 +591,13 @@ class PlayUtils(object):
|
|||
if not avail_for_extraction and not allow_burned_subs:
|
||||
continue
|
||||
|
||||
track = stream['DisplayTitle']
|
||||
|
||||
subs_streams.append(index)
|
||||
|
||||
skip_dialog = int(settings('skipDialogTranscode') or 0)
|
||||
audio_selected = None
|
||||
|
||||
def get_track_title(trackIndex):
|
||||
return streams[trackIndex]['DisplayTitle']
|
||||
return streams[trackIndex]['DisplayTitle'] or ("Track %s" % trackIndex)
|
||||
|
||||
if audio:
|
||||
audio_selected = audio
|
||||
|
|
Loading…
Reference in a new issue