[GH-ISSUE #477] Removes multiple songs if there are duplicates #299

Closed
opened 2026-02-28 14:31:59 +03:00 by kerem · 2 comments
Owner

Originally created by @SO9010 on GitHub (Jun 10, 2024).
Original GitHub issue: https://github.com/jpochyla/psst/issues/477

Describe the bug
When having a song added more than once in a playlist, then you remove one, it removed every single song which is the same. This makes it annoying to then re-add the song, especially if you forget which song this is.

To Reproduce
Add a song multiple times to a playlist, then right click onto the song, and then observe all of the songs that are the same disappearing.

Expected behavior
Remove just the one song.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • OS: Arch linux
Originally created by @SO9010 on GitHub (Jun 10, 2024). Original GitHub issue: https://github.com/jpochyla/psst/issues/477 **Describe the bug** When having a song added more than once in a playlist, then you remove one, it removed every single song which is the same. This makes it annoying to then re-add the song, especially if you forget which song this is. **To Reproduce** Add a song multiple times to a playlist, then right click onto the song, and then observe all of the songs that are the same disappearing. **Expected behavior** Remove just the one song. **Screenshots** If applicable, add screenshots to help explain your problem. **Environment** - OS: Arch linux
kerem 2026-02-28 14:31:59 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jacksongoode commented on GitHub (Jun 15, 2024):

This is definitely a bug. We should identify the song key not just by the song itself but also perhaps its position in the playlist.

<!-- gh-comment-id:2169552540 --> @jacksongoode commented on GitHub (Jun 15, 2024): This is definitely a bug. We should identify the song key not just by the song itself but also perhaps its position in the playlist.
Author
Owner

@jacksongoode commented on GitHub (Jul 22, 2024):

Figured it out. It's actually undocumented but you can remove tracks by index.

github.com/JMPerez/spotify-dedup@d0493aa0b7

<!-- gh-comment-id:2243745412 --> @jacksongoode commented on GitHub (Jul 22, 2024): Figured it out. It's actually undocumented but you can remove tracks by index. https://github.com/JMPerez/spotify-dedup/commit/d0493aa0b760a3e4dd5d747b7cae605fbec60c9c
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/psst#299
No description provided.