Fix Plex Companion not able to switch streams

This commit is contained in:
croneter 2021-12-21 16:01:45 +01:00
parent 72b6a3fb7c
commit e275d1bbe9

View file

@ -232,7 +232,7 @@ def process_command(cmd=None, path=None, params=None):
elif path == '/player/navigation/back': elif path == '/player/navigation/back':
js.input_back() js.input_back()
elif path == '/player/playback/setStreams': elif path == '/player/playback/setStreams':
process_streams(params.get('queryType'), process_streams(params.get('type'),
cast(int, params.get('videoStreamID')), cast(int, params.get('videoStreamID')),
cast(int, params.get('audioStreamID')), cast(int, params.get('audioStreamID')),
cast(int, params.get('subtitleStreamID'))) cast(int, params.get('subtitleStreamID')))