sigma67 / ytmusicapi

Unofficial API for YouTube Music
https://ytmusicapi.readthedocs.io
MIT License
1.76k stars 209 forks source link

playlist_replace_items method #639

Closed Loukious closed 3 months ago

Loukious commented 3 months ago

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

sigma67 commented 3 months ago

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