diff --git a/resources/lib/websocket_client.py b/resources/lib/websocket_client.py index 5ddf7890..84ed3a1e 100644 --- a/resources/lib/websocket_client.py +++ b/resources/lib/websocket_client.py @@ -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")