Introduce "Top queue item" setting for continuous playback
while I am at it I would like having the player start playing from the top of the queue when new episodes are added. Of course after the current episode is played. @cdysthe in https://github.com/AntennaPod/AntennaPod/issues/1414#issuecomment-159448272
Wholeheartedly agree. Currently, the 'add to top of the queue' option doesn't make much sense: Imagine a line (queue) to enter a concert, where VIPs may enter at the front of the line (add episodes to top of the queue). Then what's the point of having ppl added in front of the line (top of the queue) if you let ppl enter (episodes play) who are half-way in the line (just because they happen to be behind the person that last entered). The logic of a line (queue) I think is: first in line, first entrance (rather than first next person in line after the one that just entered).
Then why still add episodes to the top if playback starts somewhere in the middle? The aim (in my world) of 'add to top' is to make the queue have the most recent episodes first. However currently playback will always end up somewhere in the middle of the queue, and I won't always listen to the most recent episodes first.
Currently I always manually drag & drop the currently playing episode to the top, which is really cumbersome.
Curious to see @mfietz' & @TomHennen's viewpoints. If not standard behaviour, I'd advocate for a setting to enable this (new setting under 'Queue').
After discussions within the PR, there seems to be agreement on the following:
[...] play episode at the top should not be merged with add to top, but with continuous playback! I propose that continuous playback no longer describes an on-off state, but what is to be played next when playback ends. Options can be nothing/off, Next queue item, Top queue item Migration should be easy, you can read a boolean as an integer from the shared prefs pretty easily. (
false-> 0, off //true-> 1, play next // 2, play top) [@mfietz]
Guess the existing PR #1641 should be closed, unless @andrey-krutov wants to rebase and implement suggested changes?
I'm fully behind the interpretation. Exactly what I had in mind.
I'm also missing a setting which allows to continue playing from top of the playlist.
90% of the time I listen in order but occasionally when a particular podcast or an especially interesting episode is released I will want to play that straight away. Subsequently causing me to have to drag and drop the episode to the top of the queue. This is an especially cumbersome task when starting my morning commute. If I forget to re-order my podcast queue, playback just stops after that episode is finished as it's now at the end of the queue.
I believe #5573 is essentially a similar request.