Re: [Rhythmbox-devel] Add a field in the DB / Jamendo cover art



On jeu, 2007-01-25 at 12:47 +0000, Ed Catmur wrote:
> On Thu, 2007-01-25 at 12:21 +0100, Guillaume Desmottes wrote:
> > "/home/cassidy/usr/lib/rhythmbox/plugins/jamendo/JamendoSource.py", line
> > 376, in playing_entry_changed
> >     self.__db.emit_entry_extra_metadata_notify (entry,
> > "rb:coverArt-uri", url)
> > TypeError: can't map metadata to GType system
> > 
> > 		url = "http://www.jamendo.com/get/album/id/album/artworkurl/redirect/%
> > s/?artwork_size=200" %\
> > 			self.__album_id[stream]
> > 		print url
> > 
> > 		self.__db.emit_entry_extra_metadata_notify (entry, "rb:coverArt-uri",
> > url)
> 
> Might the url be a unicode?  You could try converting it to str.
> 
Yeah, well done!
It works perfectly now.

Thank you so much!

	G.


-- 
Guillaume Desmottes <cass skynet be>
Jabber <cassidy jabber belnet be>
GPG 1024D/711E31B1 | 1B5A 1BA8 11AA F0F1 2169  E28A AC55 8671 711E 31B1



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