This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8386 - Problem when fast forwarding and then quickly changing track
Attached to Project:
Rockbox
Opened by Kankkis (Kankkis) - Sunday, 30 December 2007, 02:20 GMT+1
Last edited by Nils Wallménius (nls) - Wednesday, 12 November 2008, 15:57 GMT+1
Opened by Kankkis (Kankkis) - Sunday, 30 December 2007, 02:20 GMT+1
Last edited by Nils Wallménius (nls) - Wednesday, 12 November 2008, 15:57 GMT+1
|
DetailsI just installed Rockbox to an 80GB iPod (5.5 gen)
I noticed a small bug when I was fast forwarding a track; if you fast forward and shortly afterwards change the track to the next one, the new track doesn't play. In other words push and keep pushing the "next" button, release and press it again, Rockbox changes the song, but doesn't play it. Pressing play/pause doesn't do anything, neither does changing the track (the track changes, but doesn't play) Only when you fast forward a few seconds, playback starts again. |
This task depends upon
(I also have a 5.5G 80GB.)
Most of the time, skipping single tracks (instead of skipping a number of tracks within a few seconds) does not seem to cause a problem. I believe that there may be a correlation between skipping tracks and the buffer, since it seems to be when it has to hit the hard drive that the problem occurs. (This may also be a red herring; I may not be remembering the circumstances.)
I will try to pay closer attention in the future. In the meantime, is there a WPS tag (such as a buffer % full meter or something) that could help me troubleshoot this problem?
I just noticed, thanks to Harold Van's comment, that if the next song isn't in the buffer, fast forwarding and changing the track doesn't necessarily freeze playback. Only if the next song is buffered, playback freezes until you fast forward again.
I just did a clean install of Rockbox, rebuilt all of the databases and so on (but I did change some settings before trying to reproduce the bug). I'll do another clean install without changing any settings and try to reproduce. :)
Each of these things seem to always cause playback failure:
1)skipping forward or backward rapidly.
2)seeking forward and then immediately skipping forward
3)Seeking backward for a while and then immediately skipping backwards twice(to get to the previous track).
4)skipping forward or backward as soon as you start playback. i.e. select "resume playback" and press skip as soon as you get into wps
pressing skip after an unpause does not cause this problem
After any of these things happens the disk spins up and the playback stops. The interface continues working though. You can skip forward or backward. The tag data for the new file is shown in the WPS. you can exit to the main menu and add files to the playlist, etc. you can pause and unpause. The play and pause icons are displayed properly in the WPS. Everything seems to work, except the track never actually starts playing. The player remains completely quiet (even keyclicks stop playing) The time for the track always stays at 0:00 in WPS. I know of three ways to exit this state(thanks to previous posts!).
1) restart the player
2) start seeking forward (seeking backwards does not work, but we are already at 0:00)
3) stop the track by holding down play (which causes a keyclick) and then resume playback.
While experimenting with this bug I found another similar problem (possibly should be a different bug).
If you are seeking forward and then simultaneously press skip backward or are seeking backwards and then simultaneously press skip forward the player goes into a semi-frozen state. At this point almost nothing on the UI works. the playback stops. The play, seek forward or seek backward icon s stuck on the WPS. you cannot skip forward or backwards you cannot exit to the main menu or bring up the context menu. holding down play in this state causes the player to crash. the "Shutting down" box shows up and disappears. then "*PANIC* Event not found" is printed on top of WPS and the player hard crashes.
seeking forward and then immediately skipping backwards or seeking backwards and then immediately skipping forwards causes a similar error. In this case the user interface mostly freezes. Either the seek forward or seek backwards icon remains on the screen. You cannot skip songs or exit to the main menu. the backlight still turns on and off automatically.
you can exit the semi-frozen state(i.e. seek forward and simultaneous press skip back) by seeking either direction. I could not reproduce the "*PANIC* Event not found" hard crash again.
I found a forth way to enter the silent state. seeking backwards and then pressing skip forwards immediately afterward(but not simultaneously) causes the silent bug. Seeking forward and then skipping backwards does not seem to cause the silent bug.
If not, your config.cfg might be useful.
Hmm, I wonder if "rewind duration on pause: 5" is particularly relevant?
Also, what music format(s) are you using?
FS#8836is possibly fixed according to http://www.rockbox.org/tracker/task/8836#comment27005 so please try reproducing with a fresh version.