mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Support local navidrome album artist image (#116)
This commit is contained in:
@@ -140,6 +140,15 @@ const getAlbumArtistDetail = async (
|
|||||||
...res.body.data,
|
...res.body.data,
|
||||||
...(artistInfoRes.status === 200 && {
|
...(artistInfoRes.status === 200 && {
|
||||||
similarArtists: artistInfoRes.body.artistInfo.similarArtist,
|
similarArtists: artistInfoRes.body.artistInfo.similarArtist,
|
||||||
|
...(!res.body.data.largeImageUrl && {
|
||||||
|
largeImageUrl: artistInfoRes.body.artistInfo.largeImageUrl,
|
||||||
|
}),
|
||||||
|
...(!res.body.data.mediumImageUrl && {
|
||||||
|
largeImageUrl: artistInfoRes.body.artistInfo.mediumImageUrl,
|
||||||
|
}),
|
||||||
|
...(!res.body.data.smallImageUrl && {
|
||||||
|
largeImageUrl: artistInfoRes.body.artistInfo.smallImageUrl,
|
||||||
|
}),
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
apiClientProps.server,
|
apiClientProps.server,
|
||||||
|
|||||||
Reference in New Issue
Block a user