mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Update websocket path
This commit is contained in:
parent
4cb8506b81
commit
ab1dcca938
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class WSClient(threading.Thread):
|
||||||
device_id = self.client.config.data['app.device_id']
|
device_id = self.client.config.data['app.device_id']
|
||||||
server = self.client.config.data['auth.server']
|
server = self.client.config.data['auth.server']
|
||||||
server = server.replace('https', "wss") if server.startswith('https') else server.replace('http', "ws")
|
server = server.replace('https', "wss") if server.startswith('https') else server.replace('http', "ws")
|
||||||
wsc_url = "%s/embywebsocket?api_key=%s&device_id=%s" % (server, token, device_id)
|
wsc_url = "%s/socket?api_key=%s&device_id=%s" % (server, token, device_id)
|
||||||
|
|
||||||
LOG.info("Websocket url: %s", wsc_url)
|
LOG.info("Websocket url: %s", wsc_url)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue