Change Image cache key format

This commit is contained in:
Deluan
2022-12-22 14:13:01 -05:00
committed by Deluan Quintão
parent 04eab5666a
commit 26a7adae5f
+1 -1
View File
@@ -291,7 +291,7 @@ type artworkKey struct {
}
func (k *artworkKey) Key() string {
return fmt.Sprintf("%s.%d.%d.%d", k.artID.ID, k.size, k.artID.LastUpdate.UnixNano(), conf.Server.CoverJpegQuality)
return fmt.Sprintf("%s.%d.%d", k.artID, k.size, conf.Server.CoverJpegQuality)
}
func GetImageCache() cache.FileCache {