Invalidate artist cache (by changing cache key format)

This commit is contained in:
Deluan 2023-02-01 10:34:55 -05:00 committed by Joe Stump
parent 264df21d9b
commit 1b1dc70ff7
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -64,7 +64,7 @@ func newArtistReader(ctx context.Context, artwork *artwork, artID model.ArtworkI
func (a *artistReader) Key() string {
hash := md5.Sum([]byte(conf.Server.Agents + conf.Server.Spotify.ID))
return fmt.Sprintf(
"%s.%x.%t",
"%s.%x.%t ",
a.cacheKey.Key(),
hash,
conf.Server.EnableExternalServices,