mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-11-11 02:46:34 +00:00
client.py - remove "callback"
This commit is contained in:
parent
66622f0195
commit
09b1118574
2 changed files with 1 additions and 4 deletions
|
|
@ -88,7 +88,4 @@ class JellyfinClient(object):
|
||||||
if key.startswith('websocket'):
|
if key.startswith('websocket'):
|
||||||
return self.wsc.__shortcuts__(key.replace('websocket/', "", 1))
|
return self.wsc.__shortcuts__(key.replace('websocket/', "", 1))
|
||||||
|
|
||||||
elif key.startswith('callback'):
|
|
||||||
return self.callback_ws if 'ws' in key else self.callback
|
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ class WSClient(threading.Thread):
|
||||||
if not self.client.config.data['app.default']:
|
if not self.client.config.data['app.default']:
|
||||||
data['ServerId'] = self.client.auth.server_id
|
data['ServerId'] = self.client.auth.server_id
|
||||||
|
|
||||||
self.client['callback_ws'](message['MessageType'], data)
|
self.client.callback(message['MessageType'], data)
|
||||||
|
|
||||||
def stop_client(self):
|
def stop_client(self):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue