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());
},
getLyrics() {
return []
_lyrics.GetLyrics(1, false)
ipcRenderer.send('wsapi-returnLyrics',JSON.stringify(app.lyrics));
},
getQueue() {
ipcRenderer.send('wsapi-returnQueue', JSON.stringify(MusicKit.getInstance().queue))