fix now playing artwork error

This commit is contained in:
vapormusic 2022-01-04 11:07:16 +07:00
parent 23fb0db161
commit b4ab3c19f3
2 changed files with 1 additions and 2 deletions

View file

@ -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 {

View file

@ -682,7 +682,7 @@ input[type=range].web-slider::-webkit-slider-runnable-track {
}
.app-chrome-item.volume-icon {
filter: contrast(0);
opacity: 0.7;
background-image: url(http://localhost:9000/assets/volume-up.svg);
height: 15px;
width: 30px;