-
-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Yes. I often end up with multiple repeated tracks in the queue, especially when adding large playlists or re-adding the same playlist. It would be helpful to have a built-in way to clean up these duplicates quickly without manually removing each one.
Describe the solution you'd like
I'd like to propose adding a dedup() method to the queue logic.
Proposed behavior:
- Keeps only the first occurrence of each track in the queue (based on URI).
- Adjusts the current track index if it shifts due to removals.
- Regenerates the shuffle order if shuffle mode is active, to ensure consistency.
Optionally:
- If the
notifyfeature is enabled, send a notification indicating how many duplicate tracks were removed.
Describe alternatives you've considered
Additional context
I've already implemented this feature locally and would be happy to contribute it as a pull request if it's a good fit for the project.
Thanks for considering the request and for maintaining such a great project!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request