FS#10945 - Playlist should return to original order after shuffle/unshuffle

Attached to Project: Rockbox
Opened by Peter (xenna) - Sunday, 31 January 2010, 12:03 GMT
Last edited by Jonathan Gordon (jdgordon) - Friday, 05 February 2010, 23:33 GMT
Task Type Bugs
Category Playlists
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When a playlist ABCDEF is shuffled and then unshuffled while track D is playing the resulting playlist turns out to be DEFABC. This is not what would be expected (developers Torne and stripwax agreed on IRC). The desired behavior would be to go back to ABCDEF with track D playing.

This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Friday, 05 February 2010, 23:33 GMT
Reason for closing:  Accepted
Additional comments about closing:  thanks, in 24525.
Comment by Frank Gevaerts (fg) - Sunday, 31 January 2010, 12:07 GMT
This sounds vaguely similar to  FS#10288 
Comment by Peter (xenna) - Sunday, 31 January 2010, 12:15 GMT Comment by Tomasz Kowalczyk (mitk) - Sunday, 31 January 2010, 18:00 GMT
I've got same result with r24302 so I don't think it's connected with  FS#10288 .
As I understand you are switching player between shuffled/unshuffled mode, not just shuffling playlist?
(I have no idea how to unshuffle playlist, can't find an option to do it)
Comment by Peter (xenna) - Monday, 01 February 2010, 09:12 GMT
That's correct. When I wrote unshuffle I meant changing the Shuffle setting from Yes to No.
Sorry if I wasn't clear.
Comment by Tomasz Kowalczyk (mitk) - Monday, 01 February 2010, 13:55 GMT
Patch attached.