mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5165] [Issue]: Music DJ queue turns off enabled Spotify repeat #2861
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2861
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Aug 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5165
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When Spotify repeat is enabled, starting a multi-song queue through Music DJ can switch repeat off and leave it off. The queue plays once and then stops instead of repeating.
Expected behavior
contextrepeat so the complete selection loops.trackrepeat for single-track playback where appropriate.Actual behavior
The
spotify_playimplementation reads the current repeat state and, for a repeatable multi-track selection, deliberately callsclearSpotifyRepeatBeforePlayback()before replacing Spotify's playback context.Repeat is restored to
contextonly inside this condition:If Spotify accepts playback but verification is delayed or fails once, repeat remains off. A fallback or retry then takes a fresh playback snapshot, sees
repeatState === "off", loses the original repeat intent, and starts the queue through the non-repeating path. This matches the reported behavior: playback begins, the repeat control turns off, and the songs never loop.Steps to reproduce
Environment
Logs, screenshots, or video
No logs were provided.
Additional context
The affected host-integration path is
spotifyPlay()inpackages/server/src/services/tools/tool-executor.ts, so this belongs in Marinara Engine rather than the downloadable Marinara-Agents package.Regression coverage should include:
track, the first playback verification is delayed or fails, and the final multi-track selection still ends incontextrepeat.contextwith the same delayed/retry path.offand remains off.spotify_playcall inherits the original repeat intent rather than re-inferring it from the temporarily cleared Spotify state.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: