musikr: use transcoding in storedcovers
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user