mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-25 23:45:52 +03:00
[GH-ISSUE #398] Context type "collectionyourepisodes" throws an error when retrieved using the current_playback function #127
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ndoolan360 on GitHub (Apr 10, 2023).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/398
Describe the bug
The context type "collectionyourepisodes" throws an error when retrieved using the
current_playbackfunction.To Reproduce
Steps to reproduce the behavior:
current_playbackfunction.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.
@ramsayleung commented on GitHub (Apr 10, 2023):
From your error message, it looks like that Spotify has added a new variant
collectionyourepisodesfor theTypeEnum.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
@ndoolan360 commented on GitHub (May 12, 2023):
This is the state returned when playing an episode from the "Your Episodes" playlist
(truncated some info for both privacy and brevity).
@ramsayleung commented on GitHub (May 14, 2023):
This problem has been fixed, you could give v0.11.7 a try.
PlaylistItemto contain episodes. #303