mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-12-14 11:03:17 +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
|
self.client = client
|
||||||
threading.Thread.__init__(self)
|
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=""):
|
def send(self, message, data=""):
|
||||||
|
|
||||||
if self.wsc is None:
|
if self.wsc is None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue