music: add automatic rescanning

Add automatic rescanning, for real.

This is the culmination of 6 months of work to make Auxio respond to
music updates and to research the most versatile implementation of
such. Is it the best system? No. It's actually a bit messy by necessity
in order to prevent bugs. Does it work well? Yes.

This will not be enabled by default, as it does require a battery
draining foreground service and is generally not useful for most
circumstances.

So glad to be done with this.

Resolves #72.
This commit is contained in:
OxygenCobalt
2022-07-08 16:42:23 -06:00
parent 94f2d28936
commit 3a7768ad22
28 changed files with 224 additions and 88 deletions
+2 -1
View File
@@ -28,7 +28,8 @@
<string name="set_key_reindex" translatable="false">auxio_reindex</string>
<string name="set_key_music_dirs" translatable="false">auxio_music_dirs</string>
<string name="set_key_music_dirs_include" translatable="false">auxio_include_dirs</string>
<string name="set_key_quality_tags">auxio_quality_tags</string>
<string name="set_key_observing">auxio_observing</string>
<string name="set_key_quality_tags" translatable="false">auxio_quality_tags</string>
<string name="set_key_search_filter" translatable="false">KEY_SEARCH_FILTER</string>