Add setting to hide already-played tracks in play queue - #893
Open
belzebub40k wants to merge 10 commits into
Open
Add setting to hide already-played tracks in play queue#893belzebub40k wants to merge 10 commits into
belzebub40k wants to merge 10 commits into
Conversation
belzebub40k
force-pushed
the
hide-played-tracks
branch
2 times, most recently
from
April 7, 2026 07:01
d81a416 to
818e461
Compare
belzebub40k
force-pushed
the
hide-played-tracks
branch
from
April 24, 2026 11:16
818e461 to
5359dc9
Compare
Contributor
Author
|
Updated to retain track number in queue. |
belzebub40k
force-pushed
the
hide-played-tracks
branch
2 times, most recently
from
May 12, 2026 06:54
92badd6 to
50a40b9
Compare
Contributor
Author
belzebub40k
force-pushed
the
hide-played-tracks
branch
2 times, most recently
from
June 10, 2026 05:19
48fe78d to
2c32d74
Compare
belzebub40k
force-pushed
the
hide-played-tracks
branch
from
June 23, 2026 08:30
2c32d74 to
751f677
Compare
belzebub40k
force-pushed
the
hide-played-tracks
branch
from
July 14, 2026 06:23
751f677 to
f93f5b2
Compare
belzebub40k
force-pushed
the
hide-played-tracks
branch
from
July 23, 2026 14:27
f93f5b2 to
5cd0669
Compare
belzebub40k
force-pushed
the
hide-played-tracks
branch
from
August 10, 2026 09:31
5cd0669 to
d6ea8c3
Compare
Contributor
Author
|
Rebased onto current
Cleanups:
Added The settings checkbox now reads "Hide played tracks from queue"; the popup keeps the shorter "Hide played tracks". Pushed on top of the existing commits, and I've updated the description above to match. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Changes
HidePlayedQueueTracksconfig optionPlayQueueListowns the play queue and the playing index:SetQueue,SetNowPlayingIndexandSetHidePlayedapply the filter internally, and the indexes reported toOnPlayItemAt,OnRemoveFromQueueandOnReorderItemsare translated back into full-queue indexes.Queue()exposes the unfiltered queue to the handlers that receive those indexesController.HidePlayedTracksChangedFunc, injected byMainWindowalongside its other view-level callbacksTests
ui/widgets/playqueuelist_test.gocovers the display/queue index translation, the displayed track numbers, the reorder contract, selection preservation across a track change, and the cases where nothing should be hidden (nothing playing, first track, playing index past the end of the queue, empty queue).Manual testing