mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 17:57:05 +02:00
Fix socket close signature
This commit is contained in:
parent
a3cd985e22
commit
c9bdceb134
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class LibrespotControl(object):
|
|||
logger.info("Snapcast RPC websocket opened")
|
||||
send({"jsonrpc": "2.0", "method": "Plugin.Stream.Ready"})
|
||||
|
||||
def on_ws_close(self, ws):
|
||||
def on_ws_close(self, ws, close_status_code, close_msg):
|
||||
logger.info("Snapcast RPC websocket closed")
|
||||
|
||||
def send_request(self, method, params=None):
|
||||
|
|
Loading…
Add table
Reference in a new issue