more web remote fixes

This commit is contained in:
vapormusic 2022-01-21 11:02:45 +07:00
parent b197d3cafe
commit a632dbd165
2 changed files with 741 additions and 689 deletions

View file

@ -56,8 +56,7 @@ const wsapi = {
ipcRenderer.send('wsapi-updatePlaybackState', MusicKitInterop.getAttributes()); ipcRenderer.send('wsapi-updatePlaybackState', MusicKitInterop.getAttributes());
}, },
getLyrics() { getLyrics() {
return [] ipcRenderer.send('wsapi-returnLyrics',JSON.stringify(app.lyrics));
_lyrics.GetLyrics(1, false)
}, },
getQueue() { getQueue() {
ipcRenderer.send('wsapi-returnQueue', JSON.stringify(MusicKit.getInstance().queue)) ipcRenderer.send('wsapi-returnQueue', JSON.stringify(MusicKit.getInstance().queue))

File diff suppressed because it is too large Load diff