diff --git a/resources/cider-ui/apple-hls.js b/resources/cider-ui/apple-hls.js index e4936dda..a3a3398a 100644 --- a/resources/cider-ui/apple-hls.js +++ b/resources/cider-ui/apple-hls.js @@ -23260,7 +23260,7 @@ } if (null != (l = "string" != typeof (h = g.pathwayID) ? im("invalid steering manifest PATHWAY-PRIORITY list item data type") : /^[\w\-\.]+$/.test(h) ? void 0 : im("steering manifest contains invalid pathway ID: " + h))) break; - if (g.hdcpLevel === "NONE"){ + if (g.hdcpLevel === "NONE" && (g.url.includes("gr230"))){ n.push(g)} } return { diff --git a/resources/cider-ui/index.js b/resources/cider-ui/index.js index 6af4b988..019b058b 100644 --- a/resources/cider-ui/index.js +++ b/resources/cider-ui/index.js @@ -290,17 +290,20 @@ const app = new Vue({ MusicKit.getInstance().videoContainerElement = document.getElementById("apple-music-video-player") - + document.getElementById("apple-music-video-player").addEventListener('timeupdate', function () { + self.lyriccurrenttime = this.currentTime; + }) this.mk.addEventListener(MusicKit.Events.playbackTimeDidChange, (a) => { this.currentSongInfo = a self.playerLCD.playbackDuration = (self.mk.currentPlaybackTime) - if (!self.playerReady){ - self.playerReady = true - document.getElementById("apple-music-player").addEventListener('timeupdate', function () { - self.lyriccurrenttime = this.currentTime; + if (!self.playerReady) { + if (document.getElementById("apple-music-player")) { + self.playerReady = true; + document.getElementById("apple-music-player").addEventListener('timeupdate', function () { + self.lyriccurrenttime = this.currentTime; + }) } - ) } // animated dot like AM - bad perf })