From a632dbd1653d659cb576233e97e42e68bdd2f4dc Mon Sep 17 00:00:00 2001 From: vapormusic Date: Fri, 21 Jan 2022 11:02:45 +0700 Subject: [PATCH] more web remote fixes --- src/renderer/WSAPI_Interop.js | 3 +- src/web-remote/index.html | 1427 +++++++++++++++++---------------- 2 files changed, 741 insertions(+), 689 deletions(-) diff --git a/src/renderer/WSAPI_Interop.js b/src/renderer/WSAPI_Interop.js index c7143b37..7cc0db9f 100644 --- a/src/renderer/WSAPI_Interop.js +++ b/src/renderer/WSAPI_Interop.js @@ -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)) diff --git a/src/web-remote/index.html b/src/web-remote/index.html index 6fc1e2d1..1b93e454 100644 --- a/src/web-remote/index.html +++ b/src/web-remote/index.html @@ -17,741 +17,794 @@
+ + +
+
+ +
+
+
+ Loading... +
+
+

Connection Interrupted

+ + -
-
-
-
- - -
-
+ -
- -
-
- +
+
+ + +
+
+ +
+
+ +
+ +
+