Also caches resized images

This commit is contained in:
Deluan
2022-12-24 16:21:49 -05:00
committed by Deluan Quintão
parent dc16ccdb93
commit e89d99aee0
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ var _ = Describe("Artwork", func() {
})
It("returns a JPEG if original image is not a PNG", func() {
conf.Server.CoverArtPriority = "cover.jpg"
r, err := aw.Get(context.Background(), alMultipleCovers.CoverArtID().String(), 200)
r, _, err := aw.get(context.Background(), alMultipleCovers.CoverArtID(), 200)
Expect(err).ToNot(HaveOccurred())
br, format, err := asImageReader(r)