musikr: use transcoding in storedcovers
This commit is contained in:
parent
2f5b78dd84
commit
652f0891fc
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class MutableStoredCovers(
|
|||
is CoverResult.Hit -> cover.cover
|
||||
is CoverResult.Miss -> return CoverResult.Miss()
|
||||
}
|
||||
val coverFile = coverStorage.write(cover.id + transcoding.tag) { it.write(cover.data()) }
|
||||
val coverFile = coverStorage.write(cover.id + transcoding.tag) { transcoding.transcodeInto(cover.data(), it) }
|
||||
return CoverResult.Hit(coverFile)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue