mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[GH-ISSUE #320] Fetched playlist contains Track items for episodes #100
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#100
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 @hrkfdn on GitHub (May 28, 2022).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/320
Describe the bug
A playlist of tracks and podcast episodes only contains
PlayableItem::Trackitems.To Reproduce
Steps to reproduce the behavior:
playlist_items_manual()Expected behavior
The playlist should have items typed as
PlayableItem::TrackandPlayableItem::EpisodeLog/Output data
Here's one of the items that should have been a podcast episode but was typed as a track instead:
Note the URIs pointing to a show object.
@ramsayleung commented on GitHub (Jun 2, 2022):
Hi Henrik, thanks for your report, would you like to post your code to reproduce this problem?
@hrkfdn commented on GitHub (Jun 2, 2022):
Hey @ramsayleung, I would, but there really isn't much to it. Steps 1-3 I did using the Spotify desktop app, and then in step 4 I just fetched the playlist.
@ramsayleung commented on GitHub (Jun 3, 2022):
Oooh, I can reproduce this problem.
But I think Spotify explicitly treats the podcast
episodeastrackinstead ofRspotifydoing so. You could confirm this with Spotify Web Console: https://developer.spotify.com/console/get-playlist-tracks/@hrkfdn commented on GitHub (Jun 21, 2022):
Hey there, thanks for looking into this. Oh that's a shame. How could this be handled? Type it as a
PlayableItem::Episodein rspotify based on the URI?@ramsayleung commented on GitHub (Jun 22, 2022):
I think it's the inconsistency introduced by Spotify Web API should not be handled by
RSpotifyunless Spotify explicitly points out the rule that we should deduce the type ofPlayableItemby URI instead of Type.There is another bad case, the Type is correct (we could say
Episode), but the URI is incorrect(trackURI).@github-actions[bot] commented on GitHub (Jun 26, 2023):
Message to comment on stale issues. If none provided, will not mark issues stale
@github-actions[bot] commented on GitHub (Nov 28, 2025):
Message to comment on stale issues. If none provided, will not mark issues stale