mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-19 21:37:40 +03:00
Use the highest resolution artist image from Spotify
This commit is contained in:
parent
4887c33053
commit
9590b3c25d
@ -25,12 +25,12 @@ type Artist struct {
|
||||
}
|
||||
|
||||
func (a Artist) ArtistImageUrl() string {
|
||||
if a.MediumImageUrl != "" {
|
||||
return a.MediumImageUrl
|
||||
}
|
||||
if a.LargeImageUrl != "" {
|
||||
return a.LargeImageUrl
|
||||
}
|
||||
if a.MediumImageUrl != "" {
|
||||
return a.MediumImageUrl
|
||||
}
|
||||
return a.SmallImageUrl
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user