Implement better artwork cache keys

This commit is contained in:
Deluan
2023-01-17 20:37:10 -05:00
parent 93adda66d9
commit bedd2b2074
5 changed files with 39 additions and 11 deletions
+2 -5
View File
@@ -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,
)
}