mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6514] [Feature]: Add per-message TTS audio cache clearing #3650
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#3650
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 @menemorofaan on GitHub (Sep 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6514
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Currently, dialogue TTS audio is aggressively cached in browser IndexedDB.
If an audio clip has generation artifacts/glitches, or if the user modifies their local TTS backend or launch script (e.g. adding pre-translation, switching models, adjusting voice settings), there is no way to re-synthesize or invalidate the voiceover for a single message without wiping the entire browser database (
marinara-tts-audio-cache).Doing so wipes all cached voice lines across all other chats and characters, which is unnecessarily destructive for a single bad line.
Proposed solution
Add an action button (e.g. an Eraser icon) to the chat message toolbar next to the Speak button that purges the cached audio for that specific message (both memory cache and IndexedDB entries, including text aliases).
Clicking the button drops the clip from the cache, allowing the user to click the standard Speak button immediately afterwards to request a fresh generation from the provider.
Alternatives considered
Additional context
I already have a working implementation and a branch tested locally, and will link a PR targeting
stagingto this issue.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Sep 22, 2026):
Thank you, pookie! Left some requests under the PR.
@SpicyMarinara commented on GitHub (Sep 23, 2026):
Implemented in #6515 and merged to staging. The audio menu now clears cached voice for one message, without clearing the other messages.