feat(api-server): send shuffle state over websocket (#3837)

This commit is contained in:
cxntered
2025-09-07 05:29:38 +10:00
committed by GitHub
parent eb50596961
commit 5ecd39f324
3 changed files with 15 additions and 0 deletions

View File

@ -145,6 +145,7 @@ export const setupShuffleChangedListener = singleton(() => {
observer.observe(playerBar, {
attributes: true,
attributeFilter: ['shuffle-on'],
childList: false,
subtree: false,
});
@ -168,6 +169,7 @@ export const setupFullScreenChangedListener = singleton(() => {
observer.observe(playerBar, {
attributes: true,
attributeFilter: ['player-fullscreened'],
childList: false,
subtree: false,
});