Fix typo: SetSubtitles websocket

This commit is contained in:
angelblue05 2016-10-08 21:05:00 -05:00
parent 11e5de378b
commit 24042d2906

View file

@ -218,7 +218,7 @@ class WebSocketClient(threading.Thread):
else:
# Emby merges audio and subtitle index together
audio_tracks = len(player.getAvailableAudioStreams())
player.setSubtitleStream(index - audio_tracks - 1)
player.setSubtitleStream(emby_index - audio_tracks - 1)
# Let service know
window('emby_command', value="true")