[GH-ISSUE #639] playlist_replace_items method #432

Closed
opened 2026-02-27 23:00:45 +03:00 by kerem · 1 comment
Owner

Originally created by @Loukious on GitHub (Aug 8, 2024).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/639

Is your feature request related to a problem? Please describe.
When trying to keep a playlist synced, it's too much work to always fetch the playlist items then remove outdated tracks and add new ones (to save bandwidth and avoid being rate limited). Emptying the entire playlist and refilling isn't that efficient.

Describe the solution you'd like
I want a method that is similar to spotipy's playlist_replace_items. More details here

Originally created by @Loukious on GitHub (Aug 8, 2024). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/639 **Is your feature request related to a problem? Please describe.** When trying to keep a playlist synced, it's too much work to always fetch the playlist items then remove outdated tracks and add new ones (to save bandwidth and avoid being rate limited). Emptying the entire playlist and refilling isn't that efficient. **Describe the solution you'd like** I want a method that is similar to spotipy's playlist_replace_items. More details [here](https://spotipy.readthedocs.io/en/latest/#spotipy.client.Spotify.playlist_replace_items)
kerem closed this issue 2026-02-27 23:00:46 +03:00
Author
Owner

@sigma67 commented on GitHub (Aug 13, 2024):

We're limited by what the YouTube Music API provides. Unless there is an endpoint that does what you want, I doubt this is possible

<!-- gh-comment-id:2286760660 --> @sigma67 commented on GitHub (Aug 13, 2024): We're limited by what the YouTube Music API provides. Unless there is an endpoint that does what you want, I doubt this is possible
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#432
No description provided.