mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-11-10 18:36:33 +00:00
client.py - remove "websocket" and __getitem__ & ws_client.py - remove __shortcuts__
This commit is contained in:
parent
86e44c6a8a
commit
dd9e5b3234
1 changed files with 0 additions and 10 deletions
|
|
@ -30,16 +30,6 @@ class WSClient(threading.Thread):
|
|||
self.client = client
|
||||
threading.Thread.__init__(self)
|
||||
|
||||
def __shortcuts__(self, key):
|
||||
LOG.debug("__shortcuts__(%r)", key)
|
||||
|
||||
if key == "send":
|
||||
return self.send
|
||||
elif key == "stop":
|
||||
return self.stop_client()
|
||||
|
||||
return
|
||||
|
||||
def send(self, message, data=""):
|
||||
|
||||
if self.wsc is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue