musikr: separate cover files/format

This commit is contained in:
Alexander Capehart
2024-12-26 19:54:31 -05:00
parent b8178056f5
commit 80c97cbea1
4 changed files with 32 additions and 27 deletions
@@ -47,7 +47,7 @@ class RevisionedCovers(private val revision: UUID, private val inner: MutableSto
context.filesDir.resolve("covers/${revision}").apply { mkdirs() }
}
return RevisionedCovers(
revision, StoredCovers.from(CoverFiles.at(dir, CoverFormat.jpeg())))
revision, StoredCovers.from(CoverFiles.at(dir), CoverFormat.jpeg()))
}
suspend fun cleanup(context: Context, exclude: UUID) =