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:
vicrodh committed 2026-01-19 08:39:14 -06:00
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();