From a5e6b64f244190326d961c9744e9b4b72c9ccb5d Mon Sep 17 00:00:00 2001 From: booploops <49113086+booploops@users.noreply.github.com> Date: Wed, 15 Jun 2022 22:40:40 -0700 Subject: [PATCH] use higher quality artwork for radio --- src/renderer/main/vueapp.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/renderer/main/vueapp.js b/src/renderer/main/vueapp.js index fbda5713..3fdba986 100644 --- a/src/renderer/main/vueapp.js +++ b/src/renderer/main/vueapp.js @@ -927,8 +927,13 @@ const app = new Vue({ app.mk.nowPlayingItem.attributes.name = e.title app.mk.nowPlayingItem.attributes.artistName = e.performer app.mk.nowPlayingItem.attributes.albumName = e.album - app.currentArtUrl = e.links[0].url - app.currentArtUrlRaw = e.links[0].url + if(e.links[1]) { + app.currentArtUrl = e.links[1].url + app.currentArtUrlRaw = e.links[1].url + }else{ + app.currentArtUrl = e.links[0].url + app.currentArtUrlRaw = e.links[0].url + } app.mk.nowPlayingItem._songId = e._adamId ? e._adamId : -1 app.mk.nowPlayingItem.id = e._adamId ? e._adamId : -1 })