• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Music playback
  • Assigned To
  • Operating System iPod 5G
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Sanek - 2007-12-14
Last edited by pondlife - 2008-04-18

FS#8320 - Incorrect song information is displayed for songs when switching between several songs fast

I’ve noticed a problem while going through the songs in the playlist, if you go through the songs fast enough without allowing for the fade in/out effect to apply, the songs playing and the song titles get offset from each other.

For example: If I select to listen to the a playlist with 30+ songs and if I quickly switch to the 10th song by pressing the NEXT button on the iPod, the title of the song shown would be of a previous song that I skipped already, while the song playing would be the correct one.

So if you had songs A, B, C, D, E, F, G, H, I, J, K in your playlist (in that order) and you were to quickly switch to song J, the title of song H or I would be shown on the screen, while song J would be the one playing. So you could have the title for one song displayed on the ipod and a completely different song playing.

I was able to recreate this problem with both current build (r15920-071213) and last week’s build.

I have also confirmed that the problem corrects itself when the current song finishes playing and switches to the next song in the playlist automatically.

You can do the following to recreate the problem:
1) Download Rockbox current build and extract it to the ipod.
2) Boot into Rockbox and initialize the database, reboot again to use it.
3) Open an album from the database that contains a fair amount of songs (the resulting playlist needs to have 10-15+ songs).
4) Select a song from the resulting playlist, make sure that its the correct song playing.
5) Quickly press “»” (NEXT) button several times (10 or 15 times).
6) You will start seeing the screen trying to catch up and when it finally does, the song information displayed on the screen should not match the song that is actually playing. You may need to press next/previous buttons a few more times to see this behavior.

I am listening to .mp3 files which were sorted into folders by iTunes with iTunes-specific cryptic filenames. Rockbox displays id3 information for these files, so thats the part that is getting displayed incorrectly and goes “out of sync” with the actual song playing.

Closed by  pondlife
2008-04-18 05:34
Reason for closing:  Fixed

I have this same problem on a Gigabeat F40. I used a custom build from code pulled on 2007-12-26

Also occurs on Sansa E260 with build downloaded Dec 28 2007

r16150 - Sansa e200 - Confirmed. Album art & ID3 tags sometimes not displayed properly as well as occasional mislabelling of current song. Pretty minor bug though as it’s easier to scroll through the playlist and choose the file you want to start with anyway.

This patch should fix the WPS inconsistencies, but I’m afraid it might have other undesirable side effects, including bad skipping responsiveness when buffering is in progress.
Please test and report :)

Has anyone tested the patch?

Sanek commented on 2008-02-07 05:52

I will test it tomorrow and post the results here.

Sanek commented on 2008-02-09 08:17

I’m having problems compiling for some reason, so I’ll try to figure out what the problem is.

In the middle of the compiling process, I get the following errors:
MAKE in «««<
/bin/sh: -c: line 0: syntax error near unexpected token `«<’ /bin/sh: -c: line 0: `mkdir -p /rockbox/build/apps/plugins/«««<’ make[2]: * [«««<] Error 2 … make[1]: * [rocks] Error 2
make: *** [build] Error 2

The patch was applied to the latest svn, however I don’t think its patch-related.
I’ll get the latest svn again to see if I am able to recompile it again.

Sanek commented on 2008-02-09 09:32

OK, I recompiled everything and patched without any problems with a clean svn.

About the patch: When I press the NEXT button for the first time, it takes effect about 1-2 seconds after I pressed it. When I press it again after that, it either takes a very long time to react (10+ seconds) when buffering or reacts right away when the buffering is done.

Unfortunately, I think this makes things even worse since now it just doesn’t let me skip through 5-10 songs fast by pressing the NEXT button, so I have to wait until it finishes buffering every single song, which takes a while.

This should be better with r16425.

hoho commented on 2008-02-26 18:11

It is much better, its updating fast, but if you skip ~4-5 tracks at once fast it stops, goes back to the database/file view.

hoho commented on 2008-02-26 18:14

More like ~7-8 tracks even, happens more often then.

hoho commented on 2008-02-26 18:45

Looks like it happens when rockbox tries to start playback again and i havent finished skipping.
I skip 4-8 tracks, the playback stops at start of skipping, then somewhere between 4-8 tracks it tries to start playback again, it slows down a little and gets less responsive, and then it either continues skipping or exits to menu.
And I have a suspicioun the playlist index still gets mixed up. Sometimes when skipping backwards it suddenly jumps from track 5 to 1, the key presses were well counted, it shouldnt have jumped that much.

hoho commented on 2008-02-26 18:47

Im using Sansa e260 - r16425

hoho: Does it still happen with r16430?

hoho commented on 2008-02-26 22:30

r16430, the stoping and falling out to menu is gone, the skipping is mostly good.
Though it is still not consistent with the key presses on more skips, after 4 or 5 skips a keypress or two go unnoticed,rockbox doesnt respond. Happens both forwards and backwards.

And I managed to get it to hang completely once, but that was under pretty extreme conditions, kept skipping from begging to end and vice versa very fast.

This seems to be fixed with r16948. But other problems have morphed, see  FS#8674 . Edit: I just pushed this to the absolute limit (skipping like a fiend through a 100+ playlist) and couldn’t get the player to freeze or have the tracklisting fall out of sync with the music.

Sanek commented on 2008-04-05 02:44

Hmm… I’ll test it out on the weekend when I get some free time :)


What about now?

e200 + r17153 = Supergreat!


Available keyboard shortcuts


Task Details

Task Editing