Skip to content

Commit

Permalink
Fix socket close event
Browse files Browse the repository at this point in the history
  • Loading branch information
badaix committed Jan 24, 2023
1 parent 787d071 commit 7c83e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/etc/plug-ins/meta_mopidy.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def on_ws_open(self, ws):
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):
Expand Down

0 comments on commit 7c83e3f

Please sign in to comment.