fix now playing artwork error
This commit is contained in:
parent
23fb0db161
commit
b4ab3c19f3
2 changed files with 1 additions and 2 deletions
|
@ -2478,7 +2478,6 @@ const app = new Vue({
|
|||
if (document.querySelector('.app-playback-controls .artwork') != null) {
|
||||
clearInterval(interval);
|
||||
}
|
||||
document.querySelector('.app-playback-controls .artwork').style.setProperty('--artwork', '');
|
||||
if (this.mk["nowPlayingItem"]["attributes"]["artwork"]["url"]) {
|
||||
document.querySelector('.app-playback-controls .artwork').style.setProperty('--artwork', `url("${decodeURI((this.mk["nowPlayingItem"]["attributes"]["artwork"]["url"])).replace('{w}', size).replace('{h}', size)}")`);
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue