• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Database
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by CFP - 2008-01-22
Last edited by nls - 2008-12-16

FS#8499 - Can't build database PC tool (was: Building database from computer)

Hello !
I spend a lot of time rebuilding my gigabeat id3 database everytime I add music on my player. Would’nt it be great to just port the database building code to Windows/Linux in order to build rockbox database from your computer ?
Thank you !

Closed by  nls
2008-12-16 08:27
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

fixed in r19448

That’s already possible thanks to a (very unpolished) tool that’s in the tools/ dir.
I’ll try to give more details before closing.

CFP commented on 2008-01-22 21:12

Thanks !
Can you just name the file, so I have a look at it ?

Oh sorry I forgot to give the details :)
The file is tools/database.c
You can build it with “make database”, but it doesn’t seem to compile ATM. Also it’s still very basic, but I know it worked for me at one point.

CFP commented on 2008-01-23 16:26

Trying to use nmake database outputs : “makefile(9) : fatal error U1033: syntax error : ‘=’ unexpected”, while trying to build database.c using C::B warns “unreferenced” exceptions. Is there another way to build database.c ?
Apart from this, should’nt #include “../apps/tagcache.h” be used instead of #include “tagcache.h” ?

CFP commented on 2008-08-26 20:10

In fact, everything gets messed up : apart from many (many) warnings, a SDL.h not found exception occurs. Ideas ?

CFP commented on 2008-08-30 11:20

Seems ArenOlson is working on this, see TagcacheDBFormat on the wiki.

In order for this to compile this these days a lot of work is needed to split out the metadata handling in Rockbox from core / firmware functionality.

Project Manager
zagor commented on 2008-10-15 06:49

Metadata handling has now been moved out of firmware.

For <a href=”“>FS9371</a>, I prepared the tool to make the music database on PC instead of tools/database.c.

Please let me report the impression that makes sondb in your environment.

build for songdb.exe
$ cd utils/songdb
$ make

Please read utils/songdb/readme.txt about the usage etc.


Available keyboard shortcuts


Task Details

Task Editing