summaryrefslogtreecommitdiffstats
path: root/src/itdb.h
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2006-04-05 14:10:38 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2006-04-05 14:10:38 +0000
commit73b1f5b12994628721e96076ff7cfdeb7dd64912 (patch)
tree10b41469d88eb359c88c26d348699cbbea803c30 /src/itdb.h
parent6a7a240f7f700d2d85001f137f0edc1087967808 (diff)
downloadlibgpod-73b1f5b12994628721e96076ff7cfdeb7dd64912.tar.gz
libgpod-73b1f5b12994628721e96076ff7cfdeb7dd64912.tar.xz
libgpod-73b1f5b12994628721e96076ff7cfdeb7dd64912.zip
2006-04-03 Jorg Schuler <jcsjcs at users.sourceforge.net>
* itdb.h: flag1 -> has_artwork * itdb_track.c: (itdb_track_set_thumbnails, itdb_remove_thumbnails) set has_artwork flag correctly. 2006-04-01 Jorg Schuler <jcsjcs at users.sourceforge.net> * itdb.h: unk178 -> mark_unplayed * itdb_itunesdb.c: reset the mark_unplayed flag when playcount is detected. 2006-03-31 Jorg Schuler <jcsjcs at users.sourceforge.net> * po/es.po: replaced with version from Alejandro Lamas who maintains the gtkpod translation as well. 2006-03-29 Jorg Schuler <jcsjcs at users.sourceforge.net> * itunesdb.c: set filetype identifier when transfering track to the iPod. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1227 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb.h')
-rw-r--r--src/itdb.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/itdb.h b/src/itdb.h
index 5237ef1..dec3296 100644
--- a/src/itdb.h
+++ b/src/itdb.h
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-03-24 00:38:39 jcs>
+/* Time-stamp: <2006-04-04 23:41:58 jcs>
|
| Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
| Part of the gtkpod project.
@@ -631,8 +631,9 @@ struct _Itdb_Track
(always 0x01010100?), zero otherwise */
guint32 unk152; /* unknown */
guint32 unk156, unk160;
- guint8 flag1; /* basically unknown. set to 0x02 for
- * podcasts, 0x00 otherwise. */
+ guint8 has_artwork; /* 0x01: artwork is present. 0x02: no artwork is
+ present for this track (used by the iPod to
+ decide whether to display Artwork or not) */
guint8 flag2; /* "Skip when shuffling" when set to 0x01, set
to 0x00 otherwise. .m4b and .aa files always
seem to be skipped when shuffling, however */
@@ -652,7 +653,9 @@ struct _Itdb_Track
("ULST"), 0x00 otherwise */
guint8 movie_flag; /* set to 0x01 if it's a movie file, 0x00
otherwise */
- guint8 unk178; /* unknown (sometimes 0x01) */
+ guint8 mark_unplayed; /* A value of 0x02 marks a podcast as unplayed
+ on the iPod (bullet) once played it is set to
+ 0x01. Non-podcasts have this set to 0x01. */
guint8 unk179; /* unknown (always 0x00 so far) */
guint32 unk180, unk184;
guint32 samplecount;/* Number of samples in the song. First observed