Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error reading responses mopidy 3.2 #28

Open
timhi57 opened this issue Nov 9, 2021 · 0 comments
Open

Error reading responses mopidy 3.2 #28

timhi57 opened this issue Nov 9, 2021 · 0 comments

Comments

@timhi57
Copy link

timhi57 commented Nov 9, 2021

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):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant