mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-26 07:46:00 +03:00
[GH-ISSUE #771] Issues removing songs from library using edit_song_library_status #490
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#490
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 @pranavbhandari24 on GitHub (May 12, 2025).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/771
Originally assigned to: @sgvictorino on GitHub.
I'm using
edit_song_library_statusto remove certain songs from the library using feedbackTokens, but they aren't removedSteps to reproduce:
get_library_songs(limit=1000, validate_responses=True)to get songs in the library.track['feedbackTokens']['remove']for tracks you want to removeedit_song_library_status(feedback_tokens)to remove songs from the libraryget_library_songs()again => The removed songs will also be returnedThanks for looking into this. Let me know if I'm using the API incorrectly
@apastel commented on GitHub (Aug 31, 2025):
I created a discussion item on this earlier this year: https://github.com/sigma67/ytmusicapi/discussions/746
It no longer adds/removes songs from the library. Instead it pins/unpins them from "Listen Again", likely due to a change by Google. The name and documentation for that function should probably be updated.
Unfortunately this means that there is not currently a way to add or remove an individual song to/from your library using the API. Well, technically you can remove a song from your library by using
get_albumto get theaudioPlaylistIdand then callingrate_playlist(audioPlaylistId, LikeStatus.INDIFFERENT), but I've encountered a library song that somehow is not part of an album, and so it can't be removed.@sgvictorino commented on GitHub (Sep 2, 2025):
I'm working on a PR to distinguish the "Save to library" and "Pin to Listen again" feedback tokens.