music: switch cache to room
Make the cache extractors rely on a Room database as well. I'm not quite sure how, but this also actually resulted in a huge speed improvement.
This commit is contained in:
@@ -21,7 +21,7 @@ import java.util.*
|
||||
import org.junit.Assert.assertEquals
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Test
|
||||
import org.oxycblt.auxio.music.tags.Date
|
||||
import org.oxycblt.auxio.music.format.Date
|
||||
|
||||
class MusicTest {
|
||||
@Test
|
||||
|
||||
@@ -26,6 +26,7 @@ import com.google.android.exoplayer2.metadata.vorbis.VorbisComment
|
||||
import org.junit.Assert.assertEquals
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Test
|
||||
import org.oxycblt.auxio.music.format.TextTags
|
||||
|
||||
class TextTagsTest {
|
||||
@Test
|
||||
|
||||
@@ -20,6 +20,7 @@ package org.oxycblt.auxio.music.tags
|
||||
import org.junit.Assert.assertEquals
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Test
|
||||
import org.oxycblt.auxio.music.format.Date
|
||||
|
||||
class DateTest {
|
||||
@Test
|
||||
|
||||
@@ -20,6 +20,7 @@ package org.oxycblt.auxio.music.tags
|
||||
import org.junit.Assert.assertEquals
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Test
|
||||
import org.oxycblt.auxio.music.format.Disc
|
||||
|
||||
class DiscTest {
|
||||
@Test
|
||||
|
||||
@@ -19,6 +19,7 @@ package org.oxycblt.auxio.music.tags
|
||||
|
||||
import org.junit.Assert.assertEquals
|
||||
import org.junit.Test
|
||||
import org.oxycblt.auxio.music.format.ReleaseType
|
||||
|
||||
class ReleaseTypeTest {
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user