fix(loopyLoop): loop between markers when repeat-one is active#3832
fix(loopyLoop): loop between markers when repeat-one is active#38323xyy wants to merge 1 commit intospicetify:mainfrom
Conversation
Previously, reaching the ] end marker always called Player.next(), which bypassed Spotify's repeat-one mode and advanced to the next track. Now check getRepeat() === 2 at ] and seek back to [ instead, so repeat-one properly loops between the custom markers.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe end-marker enforcement in loopyLoop.js now conditionally branches based on Spotify's repeat mode. When repeat-one is active, the script seeks to the configured start position instead of advancing to the next track, while other repeat modes preserve existing behavior. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
No description provided.