Rockbox Development > Starting Development and Compiling
Usage of the database tool
dip:
Thanks a lot, I will try it.
Is there a more comprehensive documenentation explaining the command line parameters? I don't understand the meaning of the "commit" and the "append" parameter (compared to update).
And if you have specified the Rockbox root-path do you additionally have to specify the rockbox-directory and the song-directory parameter?
konkon:
>Is there a more comprehensive documenentation explaining the command line parameters?
>I don't understand the meaning of the "commit" and the "append" parameter (compared to update).
About -m(--mode):
create: Build database newly.
update: The file not registered in the database is added to the database. And the deleted file is deleted from the database.
commit: The database_tmp.tcd file is changed into database_0.tcd, ..., database_8.tcd, and database_idx.tcd files.
append: The file not registered in the database is added to the database. But the deleted file is not deleted from the database.
>And if you have specified the Rockbox root-path do you additionally have to specify the rockbox-directory and the song-directory parameter?
e.g.
the player connects H:\\
Rockbox firmware storage directory: H:\\.rockbox
music storage directory H:\\music
Then
songdb -r H: -d .rockbox -s /music -m create
Please look at readme.txt about other options.
Horscht:
right, I should have included your readme in the first place, that was rude, sorry.
I'll update the file to include it.
EDIT: songdb.zip now also includes the readme, for completeness sake (also credits)
Navigation
[0] Message Index
[*] Previous page
Go to full version