Package: gtkpod
Version: 0.88-1
Severity: normal

The new gtkpod (0.88) package should have support for the iPod Shuffle, 
but it doesn't work. The Shuffle fails to play anything after sync.

It seems, that the iTunesDB has a wrong field in the header.
The version number for iTunes software must be the highest available for
the shuffle. (0x0C from http://www.ipodlinux.org/ITunesDB#Database_Object)
If this value is changed, everything seems to work for the shuffle.
I don't have anything other than a iPod Shuffle, so i couldn't test it
on other iPods.

You could use the patch i will attach, but its just one line in
itunesdb.c

Greetings,
  Jörg :-)

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-tpx40
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages gtkpod depends on:
ii  libatk1.0-0                 1.8.0-4      The ATK accessibility toolkit
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libglib2.0-0                2.6.1-3      The GLib library of C routines
ii  libgtk2.0-0                 2.6.2-4      The GTK+ graphical user interface 
ii  libid3tag0                  0.15.1b-4    ID3 tag reading library from the M
ii  libpango1.0-0               1.8.1-1      Layout and rendering of internatio

-- no debconf information
--- gtkpod-0.88/src/itunesdb.c	2005-03-10 15:17:49.000000000 +0100
+++ gtkpod-0.88_shuffle/src/itunesdb.c	2005-03-15 23:49:01.000000000 +0100
@@ -1756,7 +1756,7 @@
   put32lint (file, 104); /* header size */
   put32lint (file, -1);  /* size of whole mhdb -- fill in later */
   put32lint (file, 1);   /* ? */
-  put32lint (file, 1);   /*  - changed to 2 from itunes2 to
+  put32lint (file, 0x0C);   /*  - changed to 2 from itunes2 to
 			     3. Probably version.  Had to make this
 			     0xC for shuffle to accept it */
   put32lint (file, 2);   /* two children in total */

Reply via email to