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
5d74dad63f
commit
b786fe06e3
1 file changed
+7
@@ -140,6 +140,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Reload status when playback starts
|
||||
$effect(() => {
|
||||
if (outputStatus?.is_playing) {
|
||||
loadStatus();
|
||||
}
|
||||
});
|
||||
|
||||
onMount(() => {
|
||||
loadStatus();
|
||||
|
||||
|
||||
Reference in new issue
Block a user