Jump to content
Poweramp
Sign in to follow this  
w3wilkes

Queue Bug - Random Song Start

Recommended Posts

Shuffle is off. I believe that I've figured out the problem of putting an album in the Queue and having it start on not the first song of the album. If I'm playing from the Queue and decide I'm done on song of 3 of 10 and then clear the Queue it will show 3/0. If I then add an album to the Queue it will be positioned to start on song 3 of the newly Queued album. If I then hit the Play button PA will finish playing the last playing song in the prior Queue and then move to the next song of the current Queue, in this case song 4. My guess is that when the Queue is cleared, both the position and count of songs in the Queue should be reset, but I believe currently only the count of songs in the Queue is reset and not the position in the Queue of the song playing when the Queue was cleared.

Share this post


Link to post
Share on other sites

I've just tested the scenario you describe.

When you use the "Clear Q" feature, even if you are half-way through listening to a track in the middle of queued playback, the queue will be fully emptied and it will show the word 'Empty' at the top of the queue page and in the main Library view, not as position "n of 0".

The currently playing track (i.e. whatever was being played from the old queue) gets abandoned, and playback returns to whatever you were playing before you started the queue (e.g. I was in Folders mode, and it returned to the same 12-track folder as before, now showing as track 5/12 as I had come from track 4/12 in that folder previously)

Andre

Share this post


Link to post
Share on other sites

So did you see the issue? I also have set On queue end - Stay in queue. This example is working from Library -> Album Artists.

Playing The Band - Greatest Hits song 3 of 18

Screenshot1.thumb.png.7a2b95fecb2ec9055bada01661d5d0fe.png

Tap the album cover and select Clear queue

Screenshot2.thumb.png.7cbe4f1e0f9c20383a365fe3c46c82b8.png

Queue is now empty, but shows 3/0 and note mini player at bottom of screen

Screenshot3.thumb.png.77dad1297dd6d16f53531182ff1564f4.png

Add AC/DC Back in Black to queue and tap album cover to bring up queue list and it's positioned on song 3 of 10 instead of 1 of 10

Screenshot4.thumb.png.cb7d65b1fd5993e1a1d50263f1e85fa9.png

Moto x4 - android Pie - PA 820

Hopefully you can replicate.

 

Share this post


Link to post
Share on other sites
24 minutes ago, w3wilkes said:

I also have set On queue end - Stay in queue. T

I wonder if that is the problem? I don't have that option set. (To be honest, it seems a bit pointless staying in a temporary queue when you've finished with it).

Andre

Share this post


Link to post
Share on other sites

To each his own. The "temporary queue" is my main method of selecting and playing. I like to queue up a few albums at a time. I don't want to have the interruption while driving or working out of stopping what I'm doing and finding something else to play. With the Queue I can queue up 4 or 5 albums and let 'er rip. If the queue hasn't finished when I'm done, sometimes I'll clear it and start over. I don't want PA to take off playing something like random songs when my chosen Queue finishes. A great addition to PA would be to have a setting that restricts all music playing to using the Queue.

Share this post


Link to post
Share on other sites

Yes, it's the use of On Queue End > Stay in Queue that is causing the problem. I can duplicate the same effect as you if I select that mode and then clear the queue.

I guess it's probably somewhat to be expected: if you activate an option telling PA to always stay in the queue and then you manually clear it, the app is getting confused as once the queue is empty and of no further use it naturally wants to return to regular playback mode, but instead it's been told not to.

Andre

Share this post


Link to post
Share on other sites

So this is a bug. What should happen is when the queue is cleared both the queue item count and position of the queue should be reset. As it is now only the queue item count is being reset. Seems pretty straight forward.

Share this post


Link to post
Share on other sites

Yes, it seems to be a bug when the user opts to stay in the queue, and then clears the queue. Not sure whether that's a software bug or user error, but it could do with sorting out either way. :) For now though, just just turn the Stay in Queue option off. 

Andre

Share this post


Link to post
Share on other sites

This would fix it in the code where something is being added to the Queue...

If Queue_Count = "0"

   Set Queue_Position = "1"

Endif

This will leave the Queue position alone if something is being added to a Queue that already is populated.

These are just guesses as to what @maxmp uses for his variables.

Share this post


Link to post
Share on other sites

More helpful to allow it to simply show as "Empty" like it does if you clear the queue when in normal 'exit-after-finished' mode .

Andre

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...