music: introduce siloed covers

Will allow me to dynamically configure cover quality by user settings.
This commit is contained in:
Alexander Capehart
2024-12-27 10:38:38 -05:00
parent 8b58f357cb
commit 32156f23b2
3 changed files with 51 additions and 28 deletions
@@ -18,7 +18,7 @@
package org.oxycblt.musikr.cover
class CoverParams private constructor(internal val resolution: Int, internal val quality: Int) {
class CoverParams private constructor(val resolution: Int, val quality: Int) {
companion object {
fun of(resolution: Int, quality: Int): CoverParams {
check(resolution > 0) { "Resolution must be positive" }