diff options
| author | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2006-03-23 15:06:32 +0000 |
|---|---|---|
| committer | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2006-03-23 15:06:32 +0000 |
| commit | aabf1eb86076a811d69ca4d1d84d85491b17e394 (patch) | |
| tree | 405f62eac144bf39a2acb281f474b0ccf531f22c /src/itdb.h | |
| parent | 83e5c938530cb4e04356c6d1be9e1da67234d599 (diff) | |
| download | libgpod-aabf1eb86076a811d69ca4d1d84d85491b17e394.tar.gz libgpod-aabf1eb86076a811d69ca4d1d84d85491b17e394.tar.xz libgpod-aabf1eb86076a811d69ca4d1d84d85491b17e394.zip | |
Alpha version of reversed-endian Artwork writing. Status: iTunesDB
can be written and is accepted on mobile phones, ArtworkDB can be
read and be written as well, but newly added artwork will not yet
display.
* itdb.h: adjusted a couple of field lengths (4 byte -> 2 byte or
even 1 byte) to address endian issues.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1225 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb.h')
| -rw-r--r-- | src/itdb.h | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,4 +1,4 @@ -/* Time-stamp: <2006-03-16 23:50:32 jcs> +/* Time-stamp: <2006-03-23 23:30:34 jcs> | | Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net> | Part of the gtkpod project. @@ -619,12 +619,13 @@ struct _Itdb_Track 0700 GMT. For podcasts: release date as displayed next to the title in the Podcast playlist */ - guint32 unk144; /* unknown, but MP3 songs appear to be always - 0x0000000c or 0x0100000c (if played one or - more times in iTunes), AAC songs are always - 0x01000033, Audible files are 0x01000029, WAV - files are 0x0. itdb will attempt to set this - value when adding a track. */ + guint16 unk144; /* unknown, but MP3 songs appear to be always + 0x000c, AAC songs are always 0x0033, Audible + files are 0x0029, WAV files are 0x0. itdb + will attempt to set this value when adding a + track. */ + guint16 unk146; /* unknown, but appears to be 1 if played at + least once in iTunes and 0 otherwise. */ guint32 unk148; /* unknown - used for Apple Store DRM songs (always 0x01010100?), zero otherwise */ guint32 unk152; /* unknown */ |
