🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Add quality to image cache key
Deluan7a9b848f38e0
diff --git a/engine/cover.go b/engine/cover.goindex 53f010d62..c42216cc1 100644--- a/engine/cover.go+++ b/engine/cover.go@@ -119,7 +119,7 @@ func (c *cover) getCoverPath(ctx context.Context, id string) (path string, lastU}func imageCacheKey(path string, size int, lastUpdate time.Time) string {- return fmt.Sprintf("%s.%d.%s", path, size, lastUpdate.Format(time.RFC3339Nano))+ return fmt.Sprintf("%s.%d.%s.%d", path, size, lastUpdate.Format(time.RFC3339Nano), conf.Server.CoverJpegQuality)}func (c *cover) getCover(ctx context.Context, path string, size int) (reader io.Reader, err error) {