playback: use single-queue system

Switch auxio to a single-queue system. "Play next" adds songs to the top
of the queue, similar to before, and then "Add to queue" adds songs to
the bottom of the queue. This enables many more enhancements to be made
to the playback experience, at the cost of a feature I preferred.

Resolves #44.
This commit is contained in:
OxygenCobalt
2021-12-22 16:37:07 -07:00
parent b92b08f8ab
commit 25dd276bd8
43 changed files with 187 additions and 478 deletions
-20
View File
@@ -6,26 +6,6 @@
<attr name="entryValues" format="reference" />
</declare-styleable>
<declare-styleable name="SlidingUpPanelLayout">
<attr name="umanoPanelHeight" format="dimension" />
<attr name="umanoShadowHeight" format="dimension" />
<attr name="umanoParallaxOffset" format="dimension" />
<attr name="umanoFadeColor" format="color" />
<attr name="umanoFlingVelocity" format="integer" />
<attr name="umanoDragView" format="reference" />
<attr name="umanoScrollableView" format="reference" />
<attr name="umanoOverlay" format="boolean"/>
<attr name="umanoClipPanel" format="boolean"/>
<attr name="umanoAnchorPoint" format="float" />
<attr name="umanoInitialState" format="enum">
<enum name="expanded" value="0" />
<enum name="collapsed" value="1" />
<enum name="anchored" value="2" />
<enum name="hidden" value="3" />
</attr>
<attr name="umanoScrollInterpolator" format="reference" />
</declare-styleable>
<string-array name="entires_theme">
<item>@string/set_theme_auto</item>
<item>@string/set_theme_day</item>
+1 -3
View File
@@ -36,9 +36,9 @@
<string name="lbl_play_genre">Play from genre</string>
<string name="lbl_queue">Queue</string>
<string name="lbl_play_next">Play next</string>
<string name="lbl_queue_add">Add to queue</string>
<string name="lbl_queue_added">Added to queue</string>
<string name="lbl_next_user_queue">Next in Queue</string>
<string name="lbl_go_artist">Go to artist</string>
<string name="lbl_go_album">Go to album</string>
@@ -122,7 +122,6 @@
<string name="desc_shuffle">Turn shuffle on or off</string>
<string name="desc_shuffle_all">Shuffle all songs</string>
<string name="desc_clear_user_queue">Clear queue</string>
<string name="desc_clear_queue_item">Remove this queue song</string>
<string name="desc_queue_handle">Move this queue song</string>
<string name="desc_tab_handle">Move this tab</string>
@@ -162,7 +161,6 @@
<string name="clr_grey">Grey</string>
<!-- Format Namespace | Value formatting/plurals -->
<string name="fmt_next_from">Next From: %s</string>
<string name="fmt_songs_loaded">Songs loaded: %d</string>
<plurals name="fmt_song_count">
-5
View File
@@ -171,11 +171,6 @@
<item name="shapeAppearanceOverlay">@style/ShapeAppearance.Auxio.FloatingActionButton.PlayPause</item>
</style>
<style name="ThemeOverlay.Auxio.FloatingActionButton.PlayPause" parent="">
<item name="colorContainer">?attr/colorSecondary</item>
<item name="colorOnContainer">?attr/colorOnSecondary</item>
</style>
<style name="ShapeAppearance.Auxio.FloatingActionButton.PlayPause" parent="">
<item name="cornerSize">50%</item>
</style>