Skip to content

Commit

Permalink
Fix socket close signature
Browse files Browse the repository at this point in the history
  • Loading branch information
badaix committed Jan 31, 2023
1 parent a3cd985 commit c9bdceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/etc/plug-ins/meta_librespot-java.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,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):
Expand Down

0 comments on commit c9bdceb

Please sign in to comment.