Skip to content

🎧 Your Personal Streaming Service

Use the highest resolution artist image from Spotify

Deluan9590b3c25d40
diff --git a/model/artist.go b/model/artist.go
index 5159e6dce..1a3ba4968 100644
--- a/model/artist.go
+++ b/model/artist.go
@@ -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
}