Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Format of the database_idx.tch file: file size

Format of the database_idx.tch file: file size

From: <affenkaraffe-100815_at_gmx.de>
Date: Fri, 18 Mar 2011 09:37:01 +0100

Hello,

currently I'm trying to write a tool in Java to access the Rockbox
Tagcache Database. I found an article in the Rockbox wiki
http://www.rockbox.org/wiki/TagcacheDBFormat which already helped me a
lot. Thank you to the authors! I already managed to read out the
database files (which was my primary goal in Order to transmit my
Rockbox ratings to Banshee) However, currently I'm stuck concerning
writing back to the database. The wiki article states that the header in
the index file is 6 times 4 bytes = 24 bytes long. One index entry is 21
times 4 bytes = 84 bytes long. My index file is 13928 bytes long. But if
i do 13928 mod 84, I get 68 instead of the expected 24 bytes of the
header. That is, I got 44 bytes left whose meaning I don't know.

Is there anybody out there with experience with the Rockbox database to
shed a bit of light on this mystery ;-)

Best Regards,
Moritz
-------------------------------------------------------------------
Unsubscribe: http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox
FAQ: http://www.rockbox.org/twiki/bin/view/Main/GeneralFAQ
Etiquette: http://www.rockbox.org/mail/etiquette.html
Received on 2011-03-18

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy