Re: [Rhythmbox-devel] libunrest



On Tue, 2009-09-01 at 15:41 +0100, Bastien Nocera wrote:
> On Fri, 2009-08-21 at 16:04 -0400, Matt Novenstern wrote:
> > Hello all,
> > 
> > 	I've been trolling through some rb bugs, and I noticed that there is no
> > library for interfacing with RESTful services like the current
> > implementations of last.fm, libre.fm, and discogs.com.  So, I started
> > writing one, which is currently at http://gitorious.org/libunrest and
> > works to a certain degree (there's a working lastfm demo in the examples
> > dir, you need to run it as LD_PRELOAD=../src/libunrest.so) and I'm
> > working on getting discogs.com to work, which involves decoding gzipped
> > http responses.  I've been trying to use zlib, which is supposed to be
> > able to infalte gzipped data, but, I cannot for the life of me get it to
> > work.  It seems to not like having a gzip header.  If anyone can help me
> > fix that, there should be nothing stopping anyone from adding any number
> > of web services to rhythmbox (and other programs).
> 
> There's code to decode gzip data in libgsf, and a simpler version in
> totem-pl-parser (check the -podcast.c file, iTunes uses this to pass
> podcast links around).
> 
> Cheers
> 

I actually got some code from moch that I stuck in and it can now talk
to last.fm and discogs, so, would anyone be interested in using it?  (It
also works with facebook, no openauth stuff yet, classes just started)

-Matt



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