music: introduce backend system
Move out the MediaStoreCompat interface into a full interface called Backend. In preparation for direct metadata parsing, it would be useful to create some kind of object system to properly handle the capabilities of each metadata indexing mode. Backend fulfills that by allowing each object to implement their own query and then loading routine. This system is designed somewhat strangely. This is firstly because the ExoPlayer metadata backend will have to plug in to the original MediaStore backend, so making methods more granular allows the ExoPlayer backend to avoid some of the stupid inefficiencies from the actual MediaStore backend, such as the genre loading process. We also want to separate the steps of loading music in order to more adequately show the current loading process to the user in a future change.
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@
|
||||
- Made the layout of album songs more similar to other songs
|
||||
|
||||
#### Dev/Meta
|
||||
- Updated translations [Konstantin Tutsch -> German, cccClyde -> Chinese, Gsset -> Russian]
|
||||
- Updated translations [Konstantin Tutsch -> German, cccClyde -> Chinese, Gsset -> Russian, enricocid -> Italian]
|
||||
- Switched to spotless and ktfmt instead of ktlint
|
||||
- Migrated constants to centralized table
|
||||
- Introduced new RecyclerView framework
|
||||
|
||||
Reference in New Issue
Block a user