Rockbox General > Rockbox General Discussion
Updating RockBox database via linux script ?
(1/1)
Misspell:
Are there any scripts/programs which will let us update RockBoxs dBase from a (linux) PC ?
As i copy files to my iPod, i would also like to update RockBoxs database all at the same time.
Right now i use a simple bash script with 'rsync' placed in Ubuntu's 'nautilus-scripts' dir to make it easyer to copy over stuff, to beable to add the info to the dbase would be nice.
The "Update Auto" feature is great, but to bable to do it from a PC would be a nice touch in my opinion.
If there are not any scripts like this, can it be done with Perl (or bash) ?
If so, can some one point me in the right direction of the database structure ?
_
nls:
There is the tools/database program, it can build a database on a computer but i don't think it can update an already present one. It might be a good starting point anyway.
sideral:
The TagcacheDBFormat wiki page [1] documents the current database file format. It is reasonably up-to-date.
The page also mentions a few more programs and tools that can inspect, modify and build the database offline. Of these, rblib.py, rbdb.py, and possibly the Java tool understand the current DB format; I think the database-manager application has not yet been updated to the latest schema change.
I don't know whether any of these programs support updating an existing database. But that probably wouldn't be too hard to add to the database tool nls mentioned. I believe FS#9371 has been one such project [2], but it has collected some dust and would probably require quite some reanimation.
[1] http://www.rockbox.org/wiki/TagcacheDBFormat
[2] http://www.rockbox.org/tracker/task/9371
Misspell:
Thanks for the info guys.
Downloaded one of the python scripts and it looks like it will do what i want.
Hopefully in time (which i have little of :) ) ill write something to use the current python script to update the dbase from a PC, if (when) that happens, ill post the code here for others to use if they want.
Thanks again.
_
Navigation
[0] Message Index
Go to full version