mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-18 21:52:05 +00:00
feat(api-server): add endpoint to get shuffle state (#2792)
This commit is contained in:
@ -62,6 +62,9 @@ export default (win: BrowserWindow) => {
|
||||
win.webContents.send('ytmd:seek-by', seconds);
|
||||
}
|
||||
},
|
||||
requestShuffleInformation: () => {
|
||||
win.webContents.send('ytmd:get-shuffle');
|
||||
},
|
||||
shuffle: () => win.webContents.send('ytmd:shuffle'),
|
||||
switchRepeat: (n: ArgsType<number> = 1) => {
|
||||
const repeat = parseNumberFromArgsType(n);
|
||||
|
||||
Reference in New Issue
Block a user