Re: [Banshee-List] libipoddevice artwork patch



I forgot to mention that I'm lacking some data for the iPod nano and the
iPod video, so any additional data related to those is welcome.

Christophe

Le mercredi 02 novembre 2005 à 21:48 +0100, Christophe Fergeau a écrit :
> Hi,
> 
> The attached patch adds an "artwork-formats" property to the IpodDevice
> object. This property corresponds to an array of IpodArtworkFormat
> structures :
> 
> typedef struct {
> 	gint  type;
> 	gint16 width;
> 	gint16 height;
> 	gint16 correlation_id;
> } IpodArtworkFormat;
> 
> For iPods without a color screen, it returns NULL. For color ipods (ie
> iPod photos, iPod nanos and iPod videos), it returns an array describing
> the format (width*height and correlation id) of the various thumbnail
> sizes supported by the iPod. The correlation id is the 4 digit number
> that is appended to the filename where this type of thumbnails is
> stored. The last element of this array is filled with "-1"
> 
> Any comment on this patch is welcome, I can change the array to a GList
> if that's preferrable, the IpodArtworkFormat may not be complete enough
> (in particular, depending on the thumbnail type, the pixel data is not
> using the same format (byte swapped 565, unswapped 565, some interlaced
> format, ...). I assumed the pixel format would be the same on all iPod
> models for a given thumbnail type, but it might be safer to put it in
> the structure now rather than later. I can also change the property name
> if someone has a better one to suggest.
> 
> Regards,
> 
> Christophe
> _______________________________________________
> Banshee-list mailing list
> Banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]