music: add option to disable article sort names

Add a setting to remove hard-coded sort names based on articles.

This feature is nice, but does not work with some non-english music.
Those individuals should have the ability to disable it.

The implementation honestly is not the greatest, primarily because it
does a 100% reload when it could just regenerate the library. Auxio's
current music model isn't really designed for that, so it will do this
until a need to that kind of "soft reload" really arises.

Resolves #359.
This commit is contained in:
Alexander Capehart
2023-02-20 18:34:01 -07:00
parent 2d9a5ad5cd
commit 45fe36bd09
7 changed files with 75 additions and 29 deletions
@@ -20,6 +20,12 @@
app:summary="@string/set_separators_desc"
app:title="@string/set_separators" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:key="@string/set_key_auto_sort_names"
app:summary="@string/set_auto_sort_names_desc"
app:title="@string/set_auto_sort_names" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:key="@string/set_key_hide_collaborators"