FS#7424 - Music Database Failure
Attached to Project:
Rockbox
Opened by Nick Brackley (darksaboteur) - Wednesday, 11 July 2007, 12:42 GMT
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 03 June 2008, 13:07 GMT
Opened by Nick Brackley (darksaboteur) - Wednesday, 11 July 2007, 12:42 GMT
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 03 June 2008, 13:07 GMT
|
DetailsBuilding the database on my iRiver H340 with current SVN (13852) build results in getting an error message of 'Database is not ready' 'Initialize now'. No amount of rebooting or changing of database settings (Load to RAM, Auto Update) will fix the problem. I am unsure if this affects other players.
|
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Tuesday, 03 June 2008, 13:07 GMT
Reason for closing: Out of Date
Additional comments about closing: no response from user in 6 months... assume its fixed
Tuesday, 03 June 2008, 13:07 GMT
Reason for closing: Out of Date
Additional comments about closing: no response from user in 6 months... assume its fixed
After some investigation, I too put the blame on some corrupted MP3 files (one was actually a MP2 file with a wrong extension, the others contained junk data). After removing the first one and cleaning the rest with foobar (header fixing + stream rebuilding), everything went back to normal... till the next time.
Actually, it seems to me that the parsing code is missing a basic mechanism to prevent such dead end. In case of error, it would simply ignore the file and move on to the next one. Then, once finished, it would display a message such as "Error reading files, a log is being created." and create a log listing the problematic files.
PS: i checked the changelog of all the SVN posterior to the one I'm using and saw nothing of relevance to this problem. Yet, I will definitely test the lastest available built as soon as I have more time (and bad files at hand).