Change Image cache key format

This commit is contained in:
Deluan 2022-12-22 14:13:01 -05:00 committed by Joe Stump
parent f973be99a8
commit b39b820448
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

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 {