🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Change resized image cache key
Deluane434ca937255
diff --git a/core/artwork/reader_resized.go b/core/artwork/reader_resized.goindex 2754d2770..d89c83d5c 100644--- a/core/artwork/reader_resized.go+++ b/core/artwork/reader_resized.go@@ -42,13 +42,11 @@ func resizedFromOriginal(ctx context.Context, a *artwork, artID model.ArtworkID,}func (a *resizedArtworkReader) Key() string {- return fmt.Sprintf(- "%s.%d.%t.%d",- a.cacheKey,- a.size,- a.square,- conf.Server.CoverJpegQuality,- )+ baseKey := fmt.Sprintf("%s.%d", a.cacheKey, a.size)+ if a.square {+ return baseKey + ".square"+ }+ return fmt.Sprintf("%s.%d", baseKey, conf.Server.CoverJpegQuality)}func (a *resizedArtworkReader) LastUpdated() time.Time {