• Status Unconfirmed   Reopened
  • Percent Complete
  • Task Type Bugs
  • Category Playlists
  • Assigned To No-one
  • Operating System Iriver H300 series
  • Severity Medium
  • Priority Very Low
  • Reported Version Release 3.13
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by rothschild86 - 2014-07-06
Last edited by kugel. - 2014-07-21

FS#12987 - Shuffle does not work properly any more (H300)

Been using Rockbox for years, so it was really obvious when things got messed up somewhere in 3.12~3.13. In a nutshell, with this release, in a 1000+ playlist, I’m listening to the same songs over and over again when shuffle is on. To fix the issue, I have to turn shuffle OFF and then flip it back to ON every time I start a player. Never had this problem before. Don’t know if this affects all devices or just my H340 (yes! still going strong!).

How are you shuffling?

on H300, I press A-B and there is an option: Shuffle: Yes/No

Testing in the current build, every time I reboot and then load a playlist with Playback Settings > Shuffle > yes, the playlist is reshuffled.

Ok, one more detail. i don’t load a playlist every time. I have Resume Playback enabled. Thanks for looking into this Michael :)

I think that expected behavior then. When you reboot with a playlist in memory, its stored to disk so that it can be resumed precisely as you left it.

two thoughts:
1) It is not resumed where i left it. it now goes back and starts where it started last time, replaying all the same songs.
2) It used to function as expected. The player would return to the same playlist on reboot and continue shuffling in the new stuff.

Do you have access to the old code to see what changed?

I’m not sure what you mean with #1, but if you can’t figure it out, ask in the forums.

Source code is in git if you want it.

I would like to fully understand this issue before declaring not a bug. It sounds like it could be a bug.

The expected behavior is when you power up with a shuffled playlist and resume playback is that the playlist is *not* reshuffled, and playback resumes at the exact time (not start of last song, nor start of playlist) where you powered off.

Is this not the actual behavior anymore?

thank you for re-opening this. i ended up reverting to 3.11 for now. you are correct in describing the expected behavior (works as expected in 3.11). and no, that does not happen. right now it seems as if rockbox does not save the progress of the last listening session and always returns to the same (stale) point in the playlist.

Save & restore of the resume position is independent of shuffle/playlists. So if the playlist itself is saved and not reshuffled on restart the playlist side should be working fine. Does resume work with unshuffled playlists?

agreed. bad interaction between the two independent functions. would have to upgrade back to 3.13 to try, but imagine that both conditions are the requirement, otherwise many more people would have reported this.

Yes, I see this exact behaviour. 3.13 shuffle is broken, when you resume playback, you hear the exact same songs again as before you shut the device down.

thx for confirming. better late than 1.5 years later :) i ended up downgrading my rockbox and never looked back.


Available keyboard shortcuts


Task Details

Task Editing