Fix artwork caching

This commit is contained in:
Deluan
2022-12-27 12:54:51 -05:00
committed by Deluan Quintão
parent 92ddae4a65
commit 722a00cacf
5 changed files with 52 additions and 27 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func (a *mediafileArtworkReader) Reader(ctx context.Context) (io.ReadCloser, str
func fromAlbum(ctx context.Context, a *artwork, id model.ArtworkID) sourceFunc {
return func() (io.ReadCloser, string, error) {
r, err := a.Get(ctx, id.String(), 0)
r, _, err := a.Get(ctx, id.String(), 0)
if err != nil {
return nil, "", err
}