mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 19:31:46 +00:00
feat(api-server): send shuffle state over websocket (#3837)
This commit is contained in:
@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user