diff options
author | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2007-03-22 14:06:07 +0000 |
---|---|---|
committer | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2007-03-22 14:06:07 +0000 |
commit | 381a8506b44322399e05452f88d1ef3ae9f0b58f (patch) | |
tree | ed04ef9d33b386cab12f98387a109b3a6312ea5a | |
parent | 28ee3de7361a201bf3a5ef625b6d433bb658f4eb (diff) | |
download | libgpod-381a8506b44322399e05452f88d1ef3ae9f0b58f.tar.gz libgpod-381a8506b44322399e05452f88d1ef3ae9f0b58f.tar.xz libgpod-381a8506b44322399e05452f88d1ef3ae9f0b58f.zip |
* src/itdb_itunesdb.c (write_playlist): corrected what is written
into the mhyp header according to the iTunesDB wiki (mhod count /
libmhod count)
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1407 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/itdb_itunesdb.c | 9 |
2 files changed, 9 insertions, 6 deletions
@@ -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); /* ? */ |