miroatme / openpandora

Automatically exported from code.google.com/p/openpandora
0 stars 0 forks source link

Replace scrobbling code with Last.fm's ScrobSub library #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It's been admitted in the past that OpenPandora still has a few bugs with
caching and resubmission of songs.  I propose that the homegrown scrobbling
code be replaced with Last.fm's ScrobSub library
(http://www.audioscrobbler.net/development/scrobsub/docs/html/).

This will let OpenPandora leverage the Last.fm client for scrobbling, which
is the recommended usage.

Original issue reported on code.google.com by mattpe...@mail.ru on 3 Sep 2007 at 6:20

GoogleCodeExporter commented 9 years ago
Not quite that easy as the source ScrobSub is C++.  You would likely have to 
compile
ScrobSub into a DLL creating and exporting some functions that wrap the ScrobSub
class and then use DllImport to call those functions.  Either that or port 
everything
to C# which is basically what's already been done.

Original comment by tre...@gmail.com on 26 Dec 2007 at 1:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I don't see why the language matters.  ScrobSub compiles to an object file 
which you
link with OpenPandora's object files at link time.

Original comment by mattpe...@mail.ru on 27 Dec 2007 at 1:44

GoogleCodeExporter commented 9 years ago
I found this bug through a google search, and would like to point out that I 
have
just developed a replacement for the ScrobSub library in C#, so it would be 
easy to
include in your project. I would also love some real-world testing!
I have uploaded it here:
http://code.google.com/p/audioscrobbler-tools/

Original comment by adrian.m...@gmail.com on 11 Feb 2008 at 9:16