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…
Reference in New Issue