This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5797 - Codec failure with directory skip when in file browser
Attached to Project:
Rockbox
Opened by Simon Menzel (Rincewind) - Friday, 11 August 2006, 15:27 GMT+1
Last edited by Nicolas Pennequin (nicolas_p) - Wednesday, 09 January 2008, 21:37 GMT+1
Opened by Simon Menzel (Rincewind) - Friday, 11 August 2006, 15:27 GMT+1
Last edited by Nicolas Pennequin (nicolas_p) - Wednesday, 09 January 2008, 21:37 GMT+1
|
DetailsWhen automatic directory change is enabled and the player is in the file browser when the dir skip is about to happen, rockbox fails to load the next track (in the next folder). Instead there is a splash "codec failure" and rockbox tries to load different files but fails there, too and so on.
Steps to get this bug: 1. Enable automatic directory change 2. Play the last file in a directory (this also happens if the last file is reached "naturally") 3. When the file plays, enter the browser by pressing Navi, but don't select a new file 4. When playing file ends, the disc spins up and tries to load the first song in the next folder but it is not starting, instead I get the splash "codec failure!" or "can't load codec". Then Rockbox tries to load a different file and fails again and so on. If you enter the wps when this is happening (by pressing PLAY) the WPS says "No file!" Eventually Rockbox continues playing if you enter the wps again with PLAY, but many folders/files down. Crossfade on/off doesn't have an effect. Tested by me on H120, stripwax got the bug on ipod 5g |
This task depends upon
Closed by Nicolas Pennequin (nicolas_p)
Wednesday, 09 January 2008, 21:37 GMT+1
Reason for closing: Fixed
Additional comments about closing: Fixed in r16039.
Wednesday, 09 January 2008, 21:37 GMT+1
Reason for closing: Fixed
Additional comments about closing: Fixed in r16039.
See this thread from this point for discussion:
http://forums.rockbox.org/index.php?topic=5018.msg44592#msg44592
http://forums.rockbox.org/index.php?topic=5018.msg44699#msg44699
Has this been fixed now? I suspect it has. Please can you retest with a CVS build and report back.
No need for a build environment, just download a current build from http://www.rockbox.org/cvs.shtml ...
edit: woops, definatly a dircache issue...
I haven't updated my H120 for ages, but I just tried it on H120 target without dircache and the bug didn't happen (with dircache enabled it does happen). If anyone wants to debug this it is most likely in the dircache code somewhere...
If it is possible to enable dircache in the sim it might help to use GDB for debugging. I haven't tried this, yet.