Re: [Rhythmbox-devel] libunrest



On Fri, Sep 4, 2009 at 12:51 AM, Matt Novenstern<fisxoj gmail com> wrote:
> On Fri, 2009-09-04 at 00:29 +0100, Peter Robinson 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).
>>
>> 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
>> _______________________________________________
>> rhythmbox-devel mailing list
>> rhythmbox-devel gnome org
>> http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
>
> I saw that, but it has specific code for most of those sites, and I
> wanted something that was a more general solution.

OK, well the maintainer is quite approachable so I'm sure he's accept
patches if it helps save reinventing the wheel.

Peter


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