mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8618] [Issue]: Custom Music DJ shows persistent play() interruption warning after audio resumes #8426
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#8426
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 @psych0genesis on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8618
Originally assigned to: @SpicyMarinara on GitHub.
Summary
During Roleplay Custom/local Music DJ playback, the top-bar player showed an error title beginning "The play() request was interrupted by a c..." and subtitle "Playback needs attention", while music had resumed and the player was showing the pause control. The Music DJ agent's activity panel reported no agent failure.
This appears to be a browser media-playback interruption (possibly a
play()promise rejected by a subsequentpause()) being displayed as an ongoing failure after playback succeeds. The screenshot truncates the exact browser exception text, so the precise suffix and reproduction frequency remain unverified.Observation / likely sequence
.flacfiles.play()error and "Playback needs attention" despite playback continuing.The resulting UI makes a transient interruption look like a current failure, even though the agent itself succeeded.
Source-code findings
In
packages/client/src/components/chat/LocalMusicPlayer.tsx:audio.pause(), remove the existingsrc, callaudio.load(), and then start a new asynchronousaudio.play().sourceLoadIdbefore displaying a rejection, buttogglePlay()has an unconditional.catch((err) => setError(...)), even if a newer track has since started.setError(null)occurs when starting a new source selection, but the successfulaudio.play()completion does not clear a stale error.displayTitle = error ? error : ...anddisplaySubtitle = error ? "Playback needs attention" : ...keep showing the error as long aserrorremains set.Expected behavior
AbortErrorarising from deliberate audio pause/load/replacement as benign, when an old playback attempt was superseded.play()calls to overwrite a later, successful playback state.Environment
Desktop Chromium browser, Custom Music DJ source, local/shared-folder FLAC tracks; exact browser build and app version not supplied.
Scope
This is a client-side player error-state report, not a claim that FLAC, Unicode filenames, nested folders, or the DJ selection agent are broken.