Skip to content

fix(queue): do not turn Repeat off after one loop - #7

Closed
lawrence-millard wants to merge 1 commit into
mainfrom
cursor/fix-repeat-stays-on-6515
Closed

lawrence-millard wants to merge 1 commit into
mainfrom
cursor/fix-repeat-stays-on-6515

Conversation

@lawrence-millard

Copy link
Copy Markdown
Owner

Problem

NowPlaying.repeatCurrent() (EOF while Repeat is on) set isRepeatOn = false after the reload. The control is a sticky toggle in the player; one loop turned it off, so the next EOF advanced the queue.

Fix

Clear only isResolvingNext. Repeat stays on until the user disables it. Queue persistence already stores the flag.

How to verify

  1. Enable Repeat on a song, let it reach EOF (or seek near the end).
  2. The same song must start again and Repeat must still be on.
  3. A second EOF must loop again.

No device run here. No Last.fm/Discord RPC.

Open in Web Open in Cursor 

repeatCurrent cleared isRepeatOn after one EOF, so Repeat behaved
as repeat-once. Leave the toggle on until the user turns it off.

Co-authored-by: Lawrence <lawrence-millard@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@lawrence-millard

Copy link
Copy Markdown
Owner Author

Closed: Lawrence said no auto-PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants