This commit is contained in:
vapormusic 2022-09-15 23:20:09 +07:00
commit 448dcba67a
2 changed files with 10 additions and 10 deletions

View file

@ -59,9 +59,9 @@ const Events = {
app.mk._services.mediaItemPlayback._currentPlayer.destroy(); app.mk._services.mediaItemPlayback._currentPlayer.destroy();
} catch (e) {} } catch (e) {}
try { try {
this.radiohls.destroy() this.radiohls.destroy();
this.radiohls = null; this.radiohls = null;
} catch (_){} } catch (_) {}
try { try {
let searchInt = setInterval(function () { let searchInt = setInterval(function () {
if (document.getElementById("apple-music-player")) { if (document.getElementById("apple-music-player")) {

View file

@ -1022,9 +1022,9 @@ const app = new Vue({
} // EVIL EMPTY OBJECTS BE GONE } // EVIL EMPTY OBJECTS BE GONE
try { try {
this.radiohls.destroy() this.radiohls.destroy();
this.radiohls = null; this.radiohls = null;
} catch (_){} } catch (_) {}
try { try {
if ((MusicKit.getInstance().nowPlayingItem["type"] ?? "").includes("ideo")) { if ((MusicKit.getInstance().nowPlayingItem["type"] ?? "").includes("ideo")) {