-
Notifications
You must be signed in to change notification settings - Fork 8
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
SpotifyClient.play()/pause() raising JsonDecodeError #22
Comments
I think it's happening here cause the error it's trying to catch is incorrect, as we can see in traceback it's raised by simplejson and error is |
As far as I remember, some methods such as You're probably right, Thanks for filing this issue! |
Thanks! |
No problem :) |
I'm getting
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
everytime i callSpotifyClient.play/pause()
though they indeed work but the error after that is unexpected, right now I'm just doingBut i really hope this gets fixed soon, was also getting
JsonDecodeError
on some other methods aswell likeSpotifyClient.currently_playing()
if I'm not playing any track, i would rather hope for it to raiseApiError
or just returnNone
in that case instead of raisingJsonDecodeError
.Traceback
The text was updated successfully, but these errors were encountered: