You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
json client would not read any responses from mopidy 3.2
Running mopidy -v shows that requests are being received and processed OK, but the json client is not interpreting the result correctly.
I added websocket.enableTrace(True) to Client.py inside def _ws_connect(self): (just before line 112) to see the error which indicated the call to _server_response was missing a parameter.
Since this was a class method the fix was to change the method signature on Line 195
from: def _server_response(self, message):
to: def _server_response(self, ws, message):
The text was updated successfully, but these errors were encountered:
json client would not read any responses from mopidy 3.2
Running mopidy -v shows that requests are being received and processed OK, but the json client is not interpreting the result correctly.
I added websocket.enableTrace(True) to Client.py inside def _ws_connect(self): (just before line 112) to see the error which indicated the call to _server_response was missing a parameter.
Since this was a class method the fix was to change the method signature on Line 195
from: def _server_response(self, message):
to: def _server_response(self, ws, message):
The text was updated successfully, but these errors were encountered: