I've installed libgpod SVN on ubuntu and itdb_track_set_thumbnails correctly work(so it fails on libgpod0.6.0)
But I need libgpod SVN for Windows and I can't compile it(too many error).
Is it possible to have a libgpod library already compiled with dinamic link library(dll...)???
> Date: Tue, 6 Jan 2009 20:25:35 +0100 > From: Jorg.Schuler@gmx.de > To: email@example.com > CC: firstname.lastname@example.org; email@example.com > Subject: Re: [Gtkpod-devel] Suspected Bug: itdb_track_set_thumbnails > > Christophe Fergeau wrote: > > Hi, > > > > 2009/1/5 Giuseppe Giuseppe <firstname.lastname@example.org>: > > > >> I'm going to set an artwork for each track but it doesn't work. > >> > >> The function that I use to set an artwork for each track is > >> itdb_track_set_thumbnails(Itdb_Track *track, const gchar *filename) ; > >> > >> or with the other function > >> > >> track_set_thumbnails_from_data (Itdb_Track *track, const guchar *image_data, > >> gsize image_data_len); > >> > >> In particular, I use as thumbnail simple images(jpeg, png, jpg...) and the > >> functions described upon return always TRUE but when I unmount my IPOD from > >> PC, I can't see the thumbnail on it. > >> > > > > itdb_track_set_thumbnails_from_data expects raw (unpacked) RGB data > > (as gtk_pixbuf_new_from_data), if you pass it compressed JPEG data it > > won't work. Another thing to check would be to see if libgpod is > > compiled with gdkpixbuf support, without it, all artwork functions are > > disabled. There are some tests/test-*-thumbnails functions in libgpod > > which you can use to see if libgpod is working as you expect or not > > > Actually I think this is not true -- > itdb_track_set_thumbnails_from_data() should work with jpegs, png etc -- > gtkpod passes the contents of the APIC tag this way. > > Especially since itdb_track_set_thumbnails(Itdb_Track *track, const > gchar *filename) ; also doesn't work, the problem should be somewhere > else. Maybe the ipod type is not set correctly? (SystemInfo, > SystemInfoExtended) > > If you compile from source, you could use gdb and set a breakpoint to > see what is happening within set_thumbnails(). > > You should also check whether the thumbnail files on the iPod are > actually growing. > > JCS. > > >