Author: jwilcox
Date: 2007-10-11 20:08:18 -0400 (Thu, 11 Oct 2007)
New Revision: 87366

Modified:
   trunk/ipod-sharp/src/TrackDatabase.cs
Log:
version 25 first was used on the new ipods, so only
write out the slideshow data there


Modified: trunk/ipod-sharp/src/TrackDatabase.cs
===================================================================
--- trunk/ipod-sharp/src/TrackDatabase.cs       2007-10-11 23:47:05 UTC (rev 
87365)
+++ trunk/ipod-sharp/src/TrackDatabase.cs       2007-10-12 00:08:18 UTC (rev 
87366)
@@ -1313,6 +1313,9 @@
                 writer.Write (0);
                 writer.Write (GaplessTrackFlag ? (short) 0 : (short) 1);
                 writer.Write (GaplessAlbumFlag ? (short) 0 : (short) 1);
+            }
+
+            if (db.Version >= 25) {
                 writer.Write (new byte[92]); // more random unknown stuff
                 writer.Write (RightSideArtworkId);
             }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to