Merge pull request #1740 from croneter/py3-fix-streams

Fix Plex Companion not able to switch streams
This commit is contained in:
croneter 2021-12-22 14:48:04 +01:00 committed by GitHub
commit e1854d5ab0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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