#13 Last.fm scrobbling support

open
None
7
2012-09-27
2009-12-07
Anonymous
No

Hi,

Thanks very much for creating MiniDLNA it is a great piece of work. MiniDLNA has recently taken over video and photo streaming duties (from Mediatomb) in my house :-)

Would you consider adding Last.fm scrobbling support to MiniDLNA? The majority of the music we listen to is streamed via DLNA and rendered on the PS3. It would be really great to capture these listening habbits via Last.fm to take advantage of the features Last.fm offers to music lovers. Scrobbling will be of value to any Last.fm user and could be enabled/disabled via the MiniDLNA conf file.

The library below has C and C++ interfaces and may be suitable for use with MiniDLNA.

http://code.google.com/p/lastfmlib/

I have virtual machines running MiniDLNA latest CVS on 32-bit and 64-bit Linux. I will be more than happy to help with testing and feedback.

Regards, Martin.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2009-12-08

    Hi,

    I've been looking at the MiniDLNA database and have an alternate suggestion that would make is possible to add last.fm scrobbling support to MiniDLNA with little effort on your part ;-)

    If you were to add a field to the DETAILS table that recorded the timestamp that the media was last played, it would be possible to integrate 3rd party tools such as 'lastfmsubmitd' to notify last.fm of recently played tracks. Everything else that 'lastfmsubmitd' requires is already in the DETAILS table.

    http://www.red-bean.com/decklin/lastfmsubmitd/

    It would be trivial to setup a cron job that queries the MiniDLNA database for recently played music files and submits the new ones to last.fm. I've done this in the past for mt-daapd, See my notes below for reference.

    http://wiki.flexion.org/DaapServer.html#5.0

    Regards, Martin.

     
  • Justin Maggard

    Justin Maggard - 2009-12-18

    It sounds like a reasonable request that quite a few people might find useful. I'm not sure if it's better to embed this support into MiniDLNA, or to rely on an external program. One possible issue though is that many clients do partial requests, so we could see hundreds of requests for the same file, even though it's only being played once. It will take some thought to do this right...

     
  • Justin Maggard

    Justin Maggard - 2009-12-18
    • assigned_to: nobody --> jmaggard
     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2009-12-23

    Hi,

    Happy Christmas!

    Thanks for considering this feature. In order to help your deliberations take a look at the lastfmlib trunk, you'll find the patch that adds Last.fm scrobbling to Mediatomb. It may help shed light on how to not send partial requests.

    http://code.google.com/p/lastfmlib/

    Regards, Martin.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-27

    Hi,

    I've been waiting patiently but wondered if this feature might be worthy of re-consideration? It would certainly be a popular addition in out house.

    Regards, Martin.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-27
    • priority: 5 --> 7
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks