Update badge status immediately when playback starts
Add effect that reloads audio settings and status when playback begins, ensuring DAC/EXC badges show correct state without requiring hover interaction.
This commit is contained in:
1 parent
ff64e9e56a
commit
311a2a7be1
1 file changed
+7
@@ -147,6 +147,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Reload status when playback starts
|
||||
$effect(() => {
|
||||
if (outputStatus?.is_playing) {
|
||||
loadStatus();
|
||||
}
|
||||
});
|
||||
|
||||
onMount(() => {
|
||||
loadStatus();
|
||||
|
||||
|
||||
Reference in new issue
Block a user