We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
current_playback
Describe the bug The context type "collectionyourepisodes" throws an error when retrieved using the current_playback function.
To Reproduce Steps to reproduce the behavior:
Expected behavior The model is able to handle all types that it could receive for the context type.
Log/Output data
ParseJson( Error("unknown variant `collectionyourepisodes`, expected one of `artist`, `album`, `track`, `playlist`, `user`, `show`, `episode`, `collection`", line: 19, column: 37), )
Additional context Not sure if this is an issue with rspotify or with the Spotify API.
The text was updated successfully, but these errors were encountered:
From your error message, it looks like that Spotify has added a new variant collectionyourepisodes for the Type Enum.
collectionyourepisodes
Type
Would you like to give me the response of your request with web console, so I could write a test case for this issue?
https://developer.spotify.com/documentation/web-api/reference/get-information-about-the-users-current-playback
Sorry, something went wrong.
This is the state returned when playing an episode from the "Your Episodes" playlist (truncated some info for both privacy and brevity).
"actions": { "disallows": { "resuming": true } }, "context": { "external_urls": { "spotify": "https://open.spotify.com/collection/episodes" }, "href": "https://api.spotify.com/v1/me/episodes", "type": "collectionyourepisodes", "uri": "spotify:user:<username>:collection:your-episodes" }, "currently_playing_type": "episode", "device": { ... }, "is_playing": true, "item": { "is_externally_hosted": false, "is_playable": true, "type": "episode", ... }, "progress_ms": 3515556, "repeat_state": "context", "shuffle_state": true, "timestamp": 1683852851109 }```
This problem has been fixed, you could give v0.11.7 a try.
No branches or pull requests
Describe the bug
The context type "collectionyourepisodes" throws an error when retrieved using the
current_playback
function.To Reproduce
Steps to reproduce the behavior:
current_playback
function.Expected behavior
The model is able to handle all types that it could receive for the context type.
Log/Output data
Additional context
Not sure if this is an issue with rspotify or with the Spotify API.
The text was updated successfully, but these errors were encountered: