Implement better artwork cache keys
This commit is contained in:
@@ -21,12 +21,9 @@ type cacheKey struct {
|
||||
|
||||
func (k *cacheKey) Key() string {
|
||||
return fmt.Sprintf(
|
||||
"%s.%d.%d.%d.%t",
|
||||
k.artID.ID,
|
||||
"%s.%d",
|
||||
k.artID,
|
||||
k.lastUpdate.UnixMilli(),
|
||||
k.size,
|
||||
conf.Server.CoverJpegQuality,
|
||||
conf.Server.EnableMediaFileCoverArt,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user