View Full Version : Scrobbling?
darcilicious
06-26-2010, 11:29 PM
Was wondering if anyone out there was likely to develop a Scrobbler (http://www.last.fm/help/faq?category=99) plug-in for last.fm?
PiX64
06-27-2010, 08:58 AM
I use scrobble and recommendations in rhythmbox and like it lot. Not quite as good as genius for itunes, but darn close. I would like to see this as well, and would even be willing to help out with coding, testing, or whatever anyone needs.
~Pix64
darcilicious
07-12-2010, 07:35 PM
'K, hubby (the Java programmer in the house) has agreed to poke at this off on and on. I expect that initially it will be a very simple scrobbler and not a "last.fm" plug in (like you might see in Boxee, for example).
I might be able to get more down the road but we'll see ;) (Though he did get excellent use out of SageTV during the World Cup so I've earned some HAF credit, I think :) )
mkanet
07-14-2010, 09:11 AM
Hi Dacilicious, I think you're looking for something that will "scrobble" anything the sageTV media player plays? If you're only interested in music, then Slimplayer might be something you would be interested in. I currently have it configured to update last.FM with anything I'm listening to on my main sageTV PC or my HD200 extender whether it's songs on Sirius Radio, Slacker, Pandora, Napster, or just my local albums.
Was wondering if anyone out there was likely to develop a Scrobbler (http://www.last.fm/help/faq?category=99) plug-in for last.fm?
darcilicious
07-14-2010, 09:28 AM
Slimplayer (http://forums.sagetv.com/forums/showthread.php?t=49138) looks pretty amazing but is way overkill for what I need :)
hingsten
07-17-2010, 05:16 PM
Was wondering if anyone out there was likely to develop a Scrobbler (http://www.last.fm/help/faq?category=99) plug-in for last.fm?
I've got a plugin working, but I'm having some issues related to plugin configuration and event handling. I'll post back here or start a dedicated Scrobbler plugin thread once the issues have been resolved and the plugin is available for download.
ptzink
08-06-2010, 10:21 AM
I've got a plugin working, but I'm having some issues related to plugin configuration and event handling. I'll post back here or start a dedicated Scrobbler plugin thread once the issues have been resolved and the plugin is available for download.
Hingsten, I can't wait for this plugin (well, actually I can, since I have been waiting this long). This will provide one more 'missing link' to our SageTV experience. I would have made this plugin myself years ago if I could code my way out of a paper bag; :) Anywho, keep us updated on the status of this. Also, if you need an alpha tester let me know.
darcilicious
08-06-2010, 10:33 AM
Ah, Herr Hingsten has been slacking -- I'll prod him tonight to get something available before the weekend ends :D
ptzink
08-06-2010, 12:00 PM
Ah, Herr Hingsten has been slacking -- I'll prod him tonight to get something available before the weekend ends :D
Get 'em darcilicious! :) I can not wait to give this thing a spin! I really think this would help breath some life into the music functionality of Sage.
darcilicious
08-06-2010, 01:55 PM
Also, just to set some expectations, this is not a full-blown last.fm plugin, it's literally for scrobbling only.
I might be able to sweet talk him into something more down the road but no guarantees ;)
ptzink
08-06-2010, 02:28 PM
Hey, I will gladly take scrobbling only right now. Adding radio, etc. in the future would be a bonus. Look forward to trying it out.
ptzink
08-10-2010, 12:12 PM
Oh you guys are a tease! Still waiting... patiently (or not so much). :)
darcilicious
08-10-2010, 12:22 PM
Sigh. Chalk it up to the "red tape" part of the process :p All the code is there I believe, he just has to get the scrobbler ID from last.fm, sign up for Google code hosting, etc.
Never mind that he headed out to an agility programming conference this week :p
Believe me, I want it too! :D
ptzink
08-14-2010, 12:16 PM
Just wanted to let you guys know that you have me checking the plugin repository about every 5 hours or so. On pins and needles here...
hingsten
08-14-2010, 10:34 PM
Check out http://sagetv-scrobbler.googlecode.com/ for now.
I believe that you should be able to simply download the SageTVPluginsDev.xml file, put it next to your installation's SageTVPlugins.xml file and go from there (the other files available for download at googlecode.com should get downloaded automatically by SageTV during plugin installation). Make sure to read the plugin's description for the latest information on how to install and use it. The plugin is currently using a last.fm test client id. It "should" just work for now although I have not yet had a chance to test it fully myself since I switched over to the googlecode repository.
Once things are more fully set up I will add the plugin to the plugin repository section. I still need to go through the official process of getting a last.fm client id as well as getting added to the official SageTVPlugins.xml file.
darcilicious
08-15-2010, 07:45 PM
Okay, there's an initial release available. It's only been tested on Windows 7 PC client and on Vista with SageTV running as a service. Some important things to note:
[I believe that the event handling conflicts were resolved with an update to the MQ Ortus plugin]
2) Installation isn't perfect. There is a configure screen for the SageTV Client but it might not show up right after installing the plugin. If it doesn't show up, leave the set up screen, go back to plugins, installed plugins, and then Scrobbler and then you should get the option to use the Configure Screen.
3) Using the Configure Screen: the only even slightly tricky part is if your last.fm password has a number in it -- make sure the "number" you enter is "active" before entering the next character.
4) If you're installing this on the pseudo client that comes with the SageTV server, then it's just best to do it manually by adding or updating the following entries in the SageClient.properties file (stopping SageTV first):
scrobbler/scrobble=true
scrobbler/username=
scrobbler/password=
(enter your username and password at the end of each line. NOTE: the password is stored in plain text. These entries will also work on the SageClient.properties file as well.)
Whew! All this is sort of covered in the View Plugin Details except for the event handling conflict and logging stuff.
Oh, and there hasn't been a last.fm scrobbler id assigned yet so there will be at least one update for that ;)
darcilicious
08-16-2010, 09:42 PM
There's an update available for the SageTV Scrobbler -- the last.fm ID has been assigned and it's working like a charm -- enjoy!
http://farm5.static.flickr.com/4139/4900315544_752879502e.jpg
ptzink
08-16-2010, 11:57 PM
Thanks for the plugin! Great work! After a little finagling I was able to get it to work. Here are some observations I had when installing/configuring that may help for future improvements:
The plugin requires a restart of the client in order to work. It would be nice if the plugin prompted you to restart automatically.
When configuring the plugin from the GUI with a remote control, all of the characters I entered were in upper case. I am not sure if the user name is case sensitive, but the password definitely is. I had to use a keyboard to enter this info for it to work properly.
Again, thanks for the plugin.
PS - Should we (you) start an official thread for this plugin?
darcilicious
08-17-2010, 12:01 AM
Excellent feedback, I'm sure hingsten will appreciate it. And yes, he's going to start an official thread (though I might just do it for him if he takes too long ;p )
ptzink
08-24-2010, 10:52 AM
I just wanted to say again, nice work on this plugin. I really enjoy being able to scrobble my STV tunes! Thanks!
ptzink
09-12-2010, 06:38 PM
A little FYI - for some reason the scrobbler is not working for me now. I had the latest version working fine, but now it doesn't. I imagine one of my other plugins might have broken it. Any idea what this could be. Let me know if I can provide any logs or info to help. Thanks.
darcilicious
09-13-2010, 09:56 AM
Still working here... Note that sometimes last.fm gets clogged up. If it's still not working for you might want to poke around the log files (plugins/scrobbler/scrobbler.log) and see if there are entries like:
2010-09-13 08:26:42,147 INFO [Plugin]: Plugin created successfully
2010-09-13 08:47:29,792 INFO [Plugin]: Sent now playing information to last.fm: Artist=Alex M.O.R.P.H., Track=No Regrets (Purple Classic Mix (extended Version)) - Alex M., Album=Purple Audio - Extended Tracks DJ Version (from VANDIT), Length=200, TrackNumber=1
2010-09-13 08:50:51,277 INFO [Plugin]: Sent submission information to last.fm: Artist=Alex M.O.R.P.H., Track=No Regrets (Purple Classic Mix (extended Version)) - Alex M., Album=Purple Audio - Extended Tracks DJ Version (from VANDIT), Length=200, TrackNumber=1, StartTime=1284392950
2010-09-13 08:50:51,970 INFO [Plugin]: Sent now playing information to last.fm: Artist=Alex M.O.R.P.H., Track=In Circles (Alex M.O.R.P.H. Remix - Album Edit (extended Ver, Album=Purple Audio - Extended Tracks DJ Version (from VANDIT), Length=337, TrackNumber=2
If not, then it does sound like a possible plug-in conflict. Make sure you've got the latest versions (if possible) installed and if so, you can use "disable all" to verify if there's a conflict with one of them.
If you've got the time, you can try enabling them one at a time to see if you can determine which one...
vBulletin® v3.7.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.