From dd9e5b323454f8e4499916622b6ae5e322384550 Mon Sep 17 00:00:00 2001 From: TrueTechy Date: Sun, 8 Sep 2019 02:59:24 +0100 Subject: [PATCH] client.py - remove "websocket" and __getitem__ & ws_client.py - remove __shortcuts__ --- resources/lib/jellyfin/core/ws_client.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/resources/lib/jellyfin/core/ws_client.py b/resources/lib/jellyfin/core/ws_client.py index 8eaa7973..beeb4598 100644 --- a/resources/lib/jellyfin/core/ws_client.py +++ b/resources/lib/jellyfin/core/ws_client.py @@ -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: