Re: [Rhythmbox-devel] libunrest



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).

Moblin actually also has a librest that has support for various social
network protocols (lastfm/twitter/myspace/flickr and possibly
facebook) and oauth that might be worthwhile looking at using rather
than reinvesting the wheel. Its used for their mojito social network
aggregator.

Useful links.
http://moblin.org/projects/librest
http://git.moblin.org/cgit.cgi/librest/

Peter


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