commit eaa07a825d958ea0e99b8bacf1f5d0d8f61680fe
Author: Nikias Bassen <nik...@gmx.li>
Date:   Fri Dec 31 14:55:41 2010 +0100

    Do not write mhips for mhsd type 5 playlists

 src/itdb_itunesdb.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c
index 9ccf61a..ad823bb 100644
--- a/src/itdb_itunesdb.c
+++ b/src/itdb_itunesdb.c
@@ -5560,8 +5560,14 @@ static gboolean write_playlist (FExport *fexp,
        /* write special podcast playlist */
        result = write_podcast_mhips (fexp, pl, mhyp_seek);
     }
+    else if (mhsd_type == 5)
+    {
+       /* set number of mhips to 0 for mhsd_type 5 */
+       put32lint_seek (cts, 0, mhyp_seek+16);
+    }
     else
-    {   /* write standard playlist hard-coded tracks */
+    {
+       /* write standard playlist hard-coded tracks */
        result = write_playlist_mhips (fexp, pl, mhyp_seek);
     }
     fix_header (cts, mhyp_seek);

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to