add checkmode func to webremote

This commit is contained in:
Amaru8 2022-07-16 15:15:37 +02:00
parent 8780ff771f
commit 8031e790bf

View file

@ -142,6 +142,10 @@ var app = new Vue({
}
}
},
checkMode() {
urlParams = new URLSearchParams(window.location.search);
return urlParams.has('mode') ? urlParams.get('mode') : "default";
},
artworkPlaying() {
if (this.player.currentMediaItem.status) {
return