playback: use playsong settings

Use PlaySong modeling within settings too. This largely completes the
PlaySong refactor and fully adds the ability to play songs by
themselves as an option.

Resolves #424.
This commit is contained in:
Alexander Capehart
2023-07-11 11:58:05 -06:00
parent 97816e349a
commit 3908400418
45 changed files with 337 additions and 392 deletions
@@ -29,19 +29,19 @@
<PreferenceCategory android:title="@string/set_behavior">
<org.oxycblt.auxio.settings.ui.IntListPreference
app:defaultValue="@integer/music_mode_songs"
app:entries="@array/entries_library_song_playback_mode"
app:entryValues="@array/values_library_song_playback_mode"
app:key="@string/set_key_in_list_playback_mode"
app:title="@string/set_library_song_playback_mode"
app:defaultValue="@integer/play_song_from_all"
app:entries="@array/entries_play_in_list_with"
app:entryValues="@array/values_play_in_list_with"
app:key="@string/set_key_play_in_list_with"
app:title="@string/set_play_in_list_with"
app:useSimpleSummaryProvider="true" />
<org.oxycblt.auxio.settings.ui.IntListPreference
app:defaultValue="@integer/music_mode_none"
app:entries="@array/entries_detail_song_playback_mode"
app:entryValues="@array/values_detail_song_playback_mode"
app:key="@string/set_key_in_parent_playback_mode"
app:title="@string/set_detail_song_playback_mode"
app:defaultValue="@integer/play_song_none"
app:entries="@array/entries_play_in_parent_with"
app:entryValues="@array/values_play_in_parent_with"
app:key="@string/set_key_play_in_parent_with"
app:title="@string/set_play_in_parent_with"
app:useSimpleSummaryProvider="true" />
<SwitchPreferenceCompat