Bug 80849 - audioscrobbler support
Summary: audioscrobbler support
Status: RESOLVED FIXED
Alias: None
Product: juk
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 19:38 UTC by Caoilte O'Connor
Modified: 2012-02-24 18:00 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caoilte O'Connor 2004-05-03 19:38:10 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    Debian testing/unstable Packages

(stolen from a similar noatun bug report http://bugs.kde.org/show_bug.cgi?id=57420)

http://www.audioscrobbler.com/modules.php?op=modload&name=Downloads&file=index 
 
There is no JuK plugin for Audioscrobbler. 
 
What is Audioscrobbler? 
 
In a nutshell, Audioscrobbler endeavours to be your personal music advisor. It grows to know what music you like by monitoring what songs you play on your computer. From this information you can discover other users that share some or all of your taste in music. You can also view data showing what your most-played artists are, and find out who likes a particular artist the most. Basically The Audioscrobbler Project is turning into a fantastic way of discovering new music, and discovering people who like the same music as you. 
 
 When you have listened to 500 songs, Audioscrobbler will begin to match you with other users that have a similar taste in music to you. A list of "similar users" will then appear on your personal stats page. In the meantime, non-members and people who have not submitted 500 songs can check out "Scrobbler-Sets". Here you can supply the names of 2 or 3 artists, and lookup a set of similar artists. This is a useful tool for discovering new artists if you are hunting for some new music to buy/borrow/download. 
 
 The Audioscrobbler protocol is simple HTTP GET/POST requests, if you want to write an Audioscrobbler plugin for a piece of software not already supported, then start a thread in the forums or post on the developer mailing list. The plugin protocol is documented in the Wiki. 
 
http://audioscrobbler.sourceforge.net/
Comment 1 Scott Wheeler 2004-05-03 22:40:09 UTC
Actually there's already been an implemention of this contributed for JuK (about a week and a half ago) so it's just a matter of me finding the time to review it and check it in.
Comment 2 Justin Mason 2004-06-26 03:44:54 UTC
BTW, I have a perl Audioscrobbler client here, which is working for me -- at least when the AS server is up.  see: http://www.audioscrobbler.com/user/jmason/

it's a bit of a hack, since JuK doesn't (yet) support running commands on song-change, but I have a perl script which calls 'dcop juk Player playingString', wades through the JuK cache file, finds the path to the mp3 file that's playing, and then submits the AS data based on that ;)   but it does work... most of the time.

so AS support could be done reasonably cleanly by, instead of impling a full-scale plugin, providing an API to run a command and pass it the current track metadata (artist, album, title, length, and/or filename of current mp3).
Comment 3 Scott Wheeler 2004-06-27 22:47:58 UTC
This is on the 3.3 feature plan and there's been an implementation already contributed, but I won't add it to 3.3 unless they reopen for registrations before the KDE 3.3 hard freeze.
Comment 4 Nathan Toone 2004-11-27 22:39:23 UTC
Would it be possible to post a link to the submitted patch so that we can try it out and post suggestions before it has been integrated in?
Comment 5 Todd 2005-10-04 07:30:36 UTC
This has been open since 2004-05-03 19:38.

It's now October 4th, 2005.

Is this still being worked on, or not?

Any official or unoffical patches? Work-arounds? 

Juk is the only mainstream Linux media-player that does not support this. And yes, that's a deal-breaker for some folks....
//TB
Comment 6 Michael Pyne 2005-10-05 02:29:46 UTC
There is a Google cache of code that was supposed to do it:

http://64.233.167.104/search?q=cache:iKsueoSfioQJ:scrobbler.progoth.com/jukaspatch.txt+juk+audioscrobbler+patch

Also see this message that was posted to kde-devel, the patch above was changed to work with 3.4.2.  I can't test it however since it seems to be incomplete and the bug reporter never e-mailed back.

http://lists.kde.org/?l=kde-devel&m=112507506407865&w=2

Looks like this won't make it for 3.5 either. :(
Comment 7 Justin Mason 2005-10-06 18:41:18 UTC
fwiw, my code no longer works; AS changed their API a while back.  Just noting that here, since I've been receiving requests for the hack by email.
Comment 8 Justin Mason 2005-10-06 23:42:23 UTC
update: JuK 3.5 will have a "song-changed" hook -- http://bugs.kde.org/show_bug.cgi?id=76462#c6 . this would allow external implementation of an AudioScrobbler client...
Comment 9 Antti Aspinen 2008-07-05 13:08:37 UTC
Juk which came with KDE4.1 beta 2 is missing last.fm support.
Comment 10 Adria 2009-10-12 18:18:45 UTC
Yes, it definitely would be great to have audioscrobbler support, not only for last.fm but also for libre.fm

IMHO, every player should have an audioscrobbler.

Thanks, for this great app!
Comment 11 Martin Sandsmark 2012-02-24 18:00:08 UTC
I added scrobbling support in commit r1281560 and a GUI to configure it in r1281831, but I didn't see this bug until now.