use higher quality artwork for radio

This commit is contained in:
booploops 2022-06-15 22:40:40 -07:00
parent bfbfa81eb9
commit a5e6b64f24

View file

@ -927,8 +927,13 @@ const app = new Vue({
app.mk.nowPlayingItem.attributes.name = e.title app.mk.nowPlayingItem.attributes.name = e.title
app.mk.nowPlayingItem.attributes.artistName = e.performer app.mk.nowPlayingItem.attributes.artistName = e.performer
app.mk.nowPlayingItem.attributes.albumName = e.album app.mk.nowPlayingItem.attributes.albumName = e.album
if(e.links[1]) {
app.currentArtUrl = e.links[1].url
app.currentArtUrlRaw = e.links[1].url
}else{
app.currentArtUrl = e.links[0].url app.currentArtUrl = e.links[0].url
app.currentArtUrlRaw = e.links[0].url app.currentArtUrlRaw = e.links[0].url
}
app.mk.nowPlayingItem._songId = e._adamId ? e._adamId : -1 app.mk.nowPlayingItem._songId = e._adamId ? e._adamId : -1
app.mk.nowPlayingItem.id = e._adamId ? e._adamId : -1 app.mk.nowPlayingItem.id = e._adamId ? e._adamId : -1
}) })