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
+8
View File
@@ -187,5 +187,13 @@
app:summary="@string/set_quality_tags_desc"
app:title="@string/set_quality_tags" />
<org.oxycblt.auxio.settings.ui.M3SwitchPreference
app:allowDividerBelow="false"
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="@string/set_key_observing"
app:summary="@string/set_observing_desc"
app:title="@string/set_observing" />
</PreferenceCategory>
</PreferenceScreen>