playback: add ability to play/shuffle selection

Add the ability to play or shuffle a selection.

This finally allows "arbitrary" playback to be created from any
combination of songs/albums/artist/genres, rather than just from
pre-defined options.

Resolves #313.
This commit is contained in:
Alexander Capehart
2023-01-10 08:12:47 -07:00
parent 692839e8fe
commit 5988908b56
8 changed files with 50 additions and 42 deletions
@@ -8,16 +8,14 @@
app:showAsAction="ifRoom"/>
<item
android:id="@+id/action_selection_queue_add"
android:icon="@drawable/ic_play_next"
android:title="@string/lbl_queue_add"
app:showAsAction="never" />
<!-- TOOD: Disabled until able to get queue system into shape -->
<!-- <item-->
<!-- android:id="@+id/action_play_selection"-->
<!-- android:title="@string/lbl_play_selected"-->
<!-- app:showAsAction="never"/>-->
<!-- <item-->
<!-- android:id="@+id/action_shuffle_selection"-->
<!-- android:title="@string/lbl_shuffle_selected"-->
<!-- app:showAsAction="never"/>-->
<item
android:id="@+id/action_selection_play"
android:title="@string/lbl_play_selected"
app:showAsAction="never"/>
<item
android:id="@+id/action_selection_shuffle"
android:title="@string/lbl_shuffle_selected"
app:showAsAction="never"/>
</menu>