Skip to content

Commit 2c9402f

Browse files
committed
Fix goToMedia
1 parent 7f80f8f commit 2c9402f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plexapi/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ def goToMedia(self, media, **params):
300300
'address': server_url[1].strip('/'),
301301
'port': server_url[-1],
302302
'key': media.key,
303+
'protocol': server_url[0],
304+
'token': media._server.createToken()
303305
}, **params))
304306

305307
# -------------------

0 commit comments

Comments
 (0)