mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-25 23:45:52 +03:00
[PR #551] Update PlaylistItem API to new API #534
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#534
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?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/551
Author: @Manishearth
Created: 2/23/2026
Status: 🔄 Open
Base:
master← Head:new-api📝 Commits (2)
6347a30Update PlaylistItem API to new APIfdc7b4bfix some of the writeable APIs📊 Changes
4 files changed (+9 additions, -3 deletions)
View changed files
📝
rspotify-model/src/playlist.rs(+2 -0)📝
rspotify-model/src/track.rs(+4 -0)📝
src/clients/base.rs(+1 -1)📝
src/clients/oauth.rs(+2 -2)📄 Description
Description
Makes progress on https://github.com/ramsayleung/rspotify/issues/550 .
This is an example of a way to upgrade the API. Note that some fields have also been deprecated; I have marked them as such and added
serde(default)where needed. It may be worth removing all of them in a breaking change.Motivation and Context
The code doesn't work; this makes it work. See the linked issue, Spotify dropped a major API change in the last moment.
Dependencies
List any dependencies that are required for this change.
Type of change
How has this been tested?
After this change I'm able to successfully call
playlist_itemson a playlist full of tracks and have it work. I have not tried this with playlists containing episodes.A holistic approach is probably best here, but I'm content fixing the APIs that I need for now.
Is this change properly documented?
shrug
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.