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 04:14:34 -06:00
1 parent 5d74dad63f
commit b786fe06e3
1 file changed
+7
@@ -140,6 +140,13 @@
}
}
// Reload status when playback starts
$effect(() => {
if (outputStatus?.is_playing) {
loadStatus();
}
});
onMount(() => {
loadStatus();