Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Playlist is playing in random order since updating microSD card on Sansa ClipZip
« previous next »
  • Print
Pages: [1]

Author Topic: Playlist is playing in random order since updating microSD card on Sansa ClipZip  (Read 2181 times)

Offline fduniho

  • Member
  • *
  • Posts: 13
Playlist is playing in random order since updating microSD card on Sansa ClipZip
« on: September 09, 2023, 03:46:58 PM »
I keep an exercise playlist on my Sansa ClipZip, which is stored in the main memory. So, after I replaced my 200GB microSD card with a 512GB microSD card, it was still there and working. However, it has been playing music on shuffle since I did this. Normally, I would shuffle the playlist once and gradually go through it in order. Now, when I try to go to a specific song in the playlist, it ignores that and continues playing another song, then it skips to a song that doesn't come immediately after it. For example, I tried playing #671, but it played #674, then skipped to #692. I have gone to Settings and selected No for Shuffle, but it hasn't helped. Is there anything else I can do?
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #1 on: September 10, 2023, 08:24:10 AM »
we have some patches recently submitted on this  can you try the very latest dev version?
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #2 on: September 13, 2023, 10:23:57 AM »
I have the same issue: even if I'm positive shuffle is disabled, Rockbox doesn't follow the alphabetical order of the files in a given directory anymore and plays them in a random order. The issue happens with both the internal memory and a SD card.

I went back to my usual last good bug-free Rockbox build (the 12 january one). It really saddens me to see all those playlist bugs crop up every time its code is modified. Rockbox used to be rock solid (pun intended), nowadays I stopped updating my devices as I don't trust new dev builds anymore. I'm grateful to the devs for all their hard work, however for one reason or another such glaring bugs have been slipping through their testing.
« Last Edit: September 13, 2023, 10:30:03 AM by Carlo »
Logged

Offline rockbox_dev123

  • Member
  • *
  • Posts: 161
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #3 on: September 13, 2023, 10:30:56 AM »
This was fixed some time ago.

I had this bug as well, I thought I had broken something in my fork, but I can confirm that this was fixed on 2023-07-12 (the last time I compiled my own build). In reality, it was definitely fixed earlier than this, I just can't remember the relevant commits.
« Last Edit: September 15, 2023, 05:41:01 PM by rockbox_dev123 »
Logged

Offline bahus

  • Member
  • *
  • Posts: 207
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #4 on: September 13, 2023, 02:10:25 PM »
Just tested latest 20230913 dev build using Sansa Clip Zip simulator. And I can confirm that something is terribly broken with settings handling.
 
I started without config.cfg file. But shuffle was ON for some reasons. Attempt to switch Shuffle to ON/OFF  and also changing Repeat to All lead to some garbage added in config.cfg.new file:

shuffle: ÞÞÞÞހ·È A
repeat: 3034113
playback frequency: 256
follow playlist: on
warn when erasing dynamic playlist: off
keep current track when replacing playlist: off
start in screen: previous
qs top: -
qs left: shuffle
qs right: repeat
qs bottom: -

The only settings I explicitly modified 1) follow playlist, 2) shuffle and 3) repeat.  Not sure why other settings were added.

And attempt to open Quickscreen gives me Segmentation Fault.

« Last Edit: September 14, 2023, 10:52:26 AM by bahus »
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #5 on: September 13, 2023, 05:03:57 PM »
ill check this out in the next few days
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #6 on: September 13, 2023, 11:27:58 PM »
ok I think I have it
https://gerrit.rockbox.org/r/c/rockbox/+/5325

the flag I added was in the range of NVRAM (emulated) so its hard telling what it was reading and writing
Logged

Offline bahus

  • Member
  • *
  • Posts: 207
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #7 on: September 14, 2023, 04:21:46 AM »
Quote from: Bilgus on September 13, 2023, 11:27:58 PM
ok I think I have it

Yeah no more weird settings for me. Thanks!
Logged

Offline fduniho

  • Member
  • *
  • Posts: 13
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #8 on: September 15, 2023, 04:28:32 PM »
As a test, I had it play #671 again, and it started playing #674 again. I tried having it play #1, and it played #4. I tried #671 again, and it played #674 again. Also, the last time I played the playlist by trying to start with #671, the tracks it played when I went to scrobble it looked the same as the tracks it had played before when I tried starting from that number. Since it seems to be playing tracks in a consistent order, it might not be that it is shuffling the tracks. Rather, what may have happened is that when I saved my now larger MP3 collection to the new micro SD card, something about how it recognizes files internally changed between this micro SD card and the other one. So, it is still playing tracks in a fixed order, but in one that is unpredictable to me and doesn't sit with my purpose of going through the whole playlist only once before rebuilding and reshuffling it.

For my next test, I have switched back to my previous micro SD card, and when it is done initializing, I will see if it behaves normally.

I'm thinking the solution might be to build and shuffle a new playlist, but that will take more time than what I'm doing right now.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #9 on: September 15, 2023, 08:03:22 PM »
functionally the actual shuffling hasn't changed I just overlapped the flag for the setting with another and all hell broke loose
fduniho it numbers the files as their original position in the directory when shuffled it'd start higher and unshuffled in its directory position
#4 and #674 respectively
« Last Edit: September 15, 2023, 08:32:33 PM by Bilgus »
Logged

Offline bahus

  • Member
  • *
  • Posts: 207
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #10 on: September 16, 2023, 02:40:09 AM »
Quote from: fduniho on September 15, 2023, 04:28:32 PM
As a test, I had it play #671 again, and it started playing #674 again.

Broken build can change your settings in some strange way. So check your config.cfg file in .rockbox folder. Or simply remove/rename old .rockbox folder before update and start clean.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: Playlist is playing in random order since updating microSD card on Sansa ClipZip
« Reply #11 on: September 16, 2023, 09:03:11 AM »
Thats a good point if you have it you should delete the nvram.bin/nvram.bin.new file(s) as well just to be sure
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Playlist is playing in random order since updating microSD card on Sansa ClipZip
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.085 seconds with 17 queries.