Fix typo: SetSubtitles websocket

This commit is contained in:
angelblue05 2016-10-08 21:05:00 -05:00
parent 11e5de378b
commit 24042d2906
1 changed files with 1 additions and 1 deletions

View File

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