fix lyrics (yes it's good now)
This commit is contained in:
parent
092c33648b
commit
eac054fd99
1 changed files with 2 additions and 2 deletions
|
@ -260,6 +260,7 @@ const app = new Vue({
|
||||||
this.mk.authorize()
|
this.mk.authorize()
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
this.mk.privateEnabled = true
|
this.mk.privateEnabled = true
|
||||||
|
this.mk._services.timing.mode = 0
|
||||||
this.platform = ipcRenderer.sendSync('cider-platform');
|
this.platform = ipcRenderer.sendSync('cider-platform');
|
||||||
// Set profile name
|
// Set profile name
|
||||||
this.chrome.userinfo = await this.mkapi("personalSocialProfile", false, "")
|
this.chrome.userinfo = await this.mkapi("personalSocialProfile", false, "")
|
||||||
|
@ -304,7 +305,7 @@ const app = new Vue({
|
||||||
if (document.getElementById("apple-music-player")) {
|
if (document.getElementById("apple-music-player")) {
|
||||||
self.playerReady = true;
|
self.playerReady = true;
|
||||||
document.getElementById("apple-music-player").addEventListener('timeupdate', function () {
|
document.getElementById("apple-music-player").addEventListener('timeupdate', function () {
|
||||||
self.lyriccurrenttime = this.currentTime;
|
self.lyriccurrenttime = self.mk.currentPlaybackTime
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -316,7 +317,6 @@ const app = new Vue({
|
||||||
self.$refs.queue.updateQueue();
|
self.$refs.queue.updateQueue();
|
||||||
}
|
}
|
||||||
this.currentSongInfo = a
|
this.currentSongInfo = a
|
||||||
self.lyriccurrenttime = 0
|
|
||||||
try {
|
try {
|
||||||
a = a.item.attributes;
|
a = a.item.attributes;
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue