Merge pull request #504 from venomousZealot/patch-1

Fix transcoding of wrong audio channel
This commit is contained in:
mcarlton00 2021-04-27 19:48:27 -04:00 committed by GitHub
commit 0a02ae69b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ class PlayUtils(object):
selection = list(audio_streams.keys())
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
audio_selected = audio_streams[next(iter(audio_streams))]
else: