mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 16:48:52 +02:00
Fix socket close event
This commit is contained in:
parent
787d0714c0
commit
7c83e3f656
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ class MopidyControl(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, callback=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue