This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9093 - Database initialization hangs if there's no music file on the player
Attached to Project:
Rockbox
Opened by William Poetra Yoga Hadisoeseno (wpyh) - Monday, 16 June 2008, 10:58 GMT+1
Opened by William Poetra Yoga Hadisoeseno (wpyh) - Monday, 16 June 2008, 10:58 GMT+1
|
DetailsThe database hangs when doing initialization if there is no music file on the player.
How to reproduce: 1. Install Rockbox. 2. Put some music files onto the device. 3. Initialize database. 4. Reboot. 5. Remove all music files from the player. 6. Initialize database. |
This task depends upon
1-6. Repeat the steps I described above.
7. Go to Main Menu, scroll to Database, try to open it (for example by pressing the SELECT button on the iPod).
8. It says "xxx files found". Press |<< to return to the Main Menu.
9. Go eat your lunch.
10. Go to Main Menu, scroll to Database, open it.
11. It says "xxx files found". The number didn't change. Press |<< to return to the Main Menu.
12. Go eat your dinner.
... and so on.
Of course, if the device runs out of battery, then it will power off ;)
When you put an empty file (0 bytes) mp3 file, the behaviour is the same.
As soon as at least 1 valid mp3 (or other music file) is present then the initialization of the database finishes.
1. If there is no music file found, the database is initialized anyway.
2. Upon reboot, the database is fully functional, except that it is empty.
Is this solution/workaround acceptable? I personally find it logical to create an empty database.
I hope that this is a better solution.