mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Merge pull request #504 from venomousZealot/patch-1
Fix transcoding of wrong audio channel
This commit is contained in:
commit
0a02ae69b1
1 changed files with 1 additions and 1 deletions
|
@ -642,7 +642,7 @@ class PlayUtils(object):
|
||||||
|
|
||||||
selection = list(audio_streams.keys())
|
selection = list(audio_streams.keys())
|
||||||
resp = dialog("select", translate(33013), selection)
|
resp = dialog("select", translate(33013), selection)
|
||||||
audio_selected = audio_streams[selection[resp]] if resp else source['DefaultAudioStreamIndex']
|
audio_selected = audio_streams[selection[resp]] if resp > -1 else source['DefaultAudioStreamIndex']
|
||||||
else: # Only one choice
|
else: # Only one choice
|
||||||
audio_selected = audio_streams[next(iter(audio_streams))]
|
audio_selected = audio_streams[next(iter(audio_streams))]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue