Repository navigation
Bugfix/queue playback - #39
Merged
Merged
Conversation
Owner
|
Can you resolve the conflicts? |
Owner
|
This PR contains lyrics code from your other PR |
Maaagggi
force-pushed
the
bugfix/queue-playback
branch
from
March 5, 2026 08:33
575f2f9 to
22089b9
Compare
lacymorrow
pushed a commit
to lacymorrow/cliamp
that referenced
this pull request
Mar 7, 2026
* feat: Add built-in internet search streaming via yt-dlp ytsearch1 * feat: add dynamic find online and add-to-queue feature via 'f' key * fix: play queued track instead of replaying old song when player is idle
This was referenced Sep 14, 2026
hamdouni
pushed a commit
to CodeCadim/audio
that referenced
this pull request
Nov 26, 2026
* feat: Add built-in internet search streaming via yt-dlp ytsearch1 * feat: add dynamic find online and add-to-queue feature via 'f' key * fix: play queued track instead of replaying old song when player is idle
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.
Bug
When a song finishes and the player goes idle, adding a new track via Find Online (
f) or Navidrome queue (a) would replay the old finished song instead of the newly queued one.Root cause:
playCurrentTrack()callsplaylist.Current(), which returns the track at the current playlist position — not the queued track. The queue is only consumed byplaylist.Next().Fix
model.go(Find Online): Callm.playlist.Next()beforem.playCurrentTrack()when the player is idle, so the cursor advances to the freshly queued track.keys.go(Navidrome): Added an idle-player check with the sameNext()→playCurrentTrack()pattern, so Navidrome-queued tracks also auto-play immediately.