fix the top view of browse

This commit is contained in:
vapormusic 2021-12-25 09:12:45 +07:00
parent 2fca495a5d
commit b49c079a21
4 changed files with 21 additions and 17 deletions

View file

@ -1992,8 +1992,8 @@ const app = new Vue({
return false
}
},
getMediaItemArtwork(url, size = 64) {
var newurl = `${url.replace('{w}', size).replace('{h}', size).replace('{f}', "webp").replace('{c}', "cc")}`;
getMediaItemArtwork(url, height = 64, width) {
var newurl = `${url.replace('{w}', width ?? height).replace('{h}', height).replace('{f}', "webp").replace('{c}',(height == '516')? "sr" :"cc")}`;
return newurl
},
getNowPlayingArtworkBG(size = 600) {