Revision: 2233
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2233&view=rev
Author: teuf
Date: 2009-01-21 21:49:08 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
Update MHBD header description
Modified Paths:
--------------
libgpod/trunk/ChangeLog
libgpod/trunk/src/db-itunes-parser.h
Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog 2009-01-20 21:40:19 UTC (rev 2232)
+++ libgpod/trunk/ChangeLog 2009-01-21 21:49:08 UTC (rev 2233)
@@ -1,3 +1,7 @@
+2009-01-21 Christophe Fergeau <teuf at gnome.org>
+
+ * src/db-itunes-parser.h: add tons of new fields to struct MhbdHeader
+
2009-01-20 Christophe Fergeau <teuf at gnome.org>
* src/itdb_itunesdb.c: generate list of albums and write it in a
Modified: libgpod/trunk/src/db-itunes-parser.h
===================================================================
--- libgpod/trunk/src/db-itunes-parser.h 2009-01-20 21:40:19 UTC (rev
2232)
+++ libgpod/trunk/src/db-itunes-parser.h 2009-01-21 21:49:08 UTC (rev
2233)
@@ -76,16 +76,29 @@
typedef struct _MhodHeaderSmartPlaylistRule MhodHeaderSmartPlaylistRule;
struct _MhbdHeader {
- unsigned char header_id[4];
- gint32 header_len;
- gint32 total_len;
- gint32 unknown1;
- gint32 version;
- gint32 num_children;
- gint64 db_id;
- gint32 unknown2;
- unsigned char padding[];
-};
+ gchar header_id[4];
+ guint32 header_len;
+ guint32 total_len;
+ guint32 unknown1;
+ guint32 version;
+ guint32 num_children;
+ guint64 db_id;
+ guint16 unknown2;
+ guint32 unknown3;
+ guint64 unknown4;
+ guint16 unknown5;
+ guint16 hashing_scheme;
+ guchar unknown6[20];
+ gchar language_id[2];
+ guint64 db_persistent_id;
+ guint32 unknown7;
+ guint32 unknown8;
+ guchar hash58[20];
+ gint32 timezone_offset;
+ guint16 unknown9;
+ guchar hash72[46];
+ guchar padding[];
+} __attribute__((__packed__));
enum MhsdIndexType {
MHSD_TRACK_LIST = 1,
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2