summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/itdb_itunesdb.c9
2 files changed, 9 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index b791383..83c08c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-22 Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+ * src/itdb_itunesdb.c (write_playlist): corrected what is written
+ into the mhyp header according to the iTunesDB wiki (mhod count /
+ libmhod count)
+
2007-03-21 Jorg Schuler <jcsjcs at users.sourceforge.net>
* src/itdb_artwork.c (itdb_artwork_remove_thumbnail): memory used
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c
index ae2ef40..d08644e 100644
--- a/src/itdb_itunesdb.c
+++ b/src/itdb_itunesdb.c
@@ -1,4 +1,4 @@
-/* Time-stamp: <2007-03-20 22:58:14 jcs>
+/* Time-stamp: <2007-03-22 22:53:36 jcs>
|
| Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
| Part of the gtkpod project.
@@ -4158,11 +4158,8 @@ static gboolean write_playlist (FExport *fexp,
put8int (cts, pl->flag3); /* unknown */
put32lint (cts, pl->timestamp);/* some timestamp */
put64lint (cts, pl->id); /* 64 bit ID */
- put32lint (cts, 1); /* mhodcount: we only write
- * one mhod type < 50 */
- put16lint (cts, 1); /* libmhodcount: we don't write
- mhod type 52, and "1" seems to
- be the default */
+ put32lint (cts, 0); /* unknown, always 0? */
+ put16lint (cts, 1); /* string mhod count (1) */
put16lint (cts, pl->podcastflag);
put32lint (cts, pl->sortorder);
put32_n0 (cts, 15); /* ? */