last.fm friends ticker

No Responses · January 8, 2006

infoRSS

last.fm is great, and it gets bet­ter every sin­gle day. Part of its appeal is voyeu­rism. I love being able to see what my friends are lis­te­ning to, but that usually requi­res going to the “What are my friends lis­te­ning to?” page, which is still too much effort; I’m not that curious. But still, if some­body I know starts lis­te­ning to something, I’d like to be aler­ted with a totally pas­sive system.

There are, of course, RSS feeds for all kinds of things from last.fm. But there is no feed con­sis­ting of all your friends’ recent tracks, which is sur­pri­sing because it’s such an intui­tive idea. So imple­men­ting the ones that are avai­la­ble is osten­sibly pos­si­ble, but neverthe­less tricky. I mean, log­ging into Blo­gli­nes or Google’s new rea­der still requi­res an active request for this infor­ma­tion. And while there are some web ser­vi­ces that will merge mul­ti­ple feeds into a sin­gle one for you, I don’t like rel­ying on a third party like that, one that may go down any day and that might insert adver­ti­se­ments into my feed.

It seems to me that there should be a very, very small pro­gram that sits in your sys­tem tray, chec­king mul­ti­ple feeds regu­larly, then pop­ping up a native Win­dows balloon with a link to the “article” every time there’s an update. This would be ideal for watching your last.fm friends. There are pro­grams that do this, but they’re all full appli­ca­tions that only have this as an auxi­liary fea­ture. I can’t afford the memory.

So, finally, I found infoRSS. It’s a Fire­fox exten­sion that adds a little tic­ker to the sta­tus­bar. Ini­tially I wasn’t hope­ful, as its default pre­sen­ta­tion is ugly and the­re­fore indi­ca­tive of poor programming:

infoRSS

The wri­ter of this exten­sion isn’t a native spea­ker of English, and there’s very little help avai­la­ble any­way. I spent a long time stud­ying its many con­fu­sing fea­tu­res, con­fi­dent that it could be made to do what I want. The result (shown at the top of this post) isn’t per­fect, but is bet­ter than I had expec­ted or hoped. There’s a nice little Audiosc­rob­bler logo on the left; each entry is mar­ked with the user’s ava­tar, which is far more effi­cient than if their name were dis­pla­yed; and the lis­te­ning sta­tus of ever­yone is cons­tantly on dis­play for me. Here’s how to do this:

First, in the options for the exten­sion, click on the “Advan­ced” tab. Under “Default values,” check “# of news” and cons­train it to 1 so that you only get the most recent item (I’m not sure that this is effec­tual, but in case it is, it would be help­ful). Check “# of char/news” and cons­train it to 20 or 30 (depen­ding on how many friends you add later, things could get pretty clut­te­red). Check “Refresh Time” and change it to 2 minu­tes (last.fm will ban your IP if you make requests on a feed more than once per minute).

Now go to the “Main menu” sec­tion, still in Advan­ced. Make sure “Synch­ro­nize main icon with current group” is on, and “Flashing icon” is off (trust me, it’s really annoying).

Go to the “Basic” tab. Here’s where you’ll add feeds. First get rid of all the pre­sets. Select them from the drop-down menu at the top of the win­dow and click the “Remove” but­ton at the lower-right. Now click the “New group” but­ton and name it last.fm. In the “Icon” box, enter http://static.last.fm/matt/favicon.ico and click “Test.” Now, to add indi­vi­dual users’ feeds, click “New feed” and enter this URL: http://ws.audioscrobbler.com/1.0/user/USERNAME/recenttracks.rss. Replace “USERNAME” with the person’s user­name of course. In the “Icon” box, paste the URL for their last.fm ava­tar. Repeat for each user you want to add.

There’s more.

In the “Gene­ral” sec­tion, turn off all the options under “Gene­ral” (leave “InfoRSS acti­vity” on), and set “Tool­tip on head­li­nes” to “Full headline.”

In the “Head­li­nes area” sec­tion, “Loca­tion” dic­ta­tes where the tic­ker will go (I pre­fer bot­tom). Turn off “Scro­lling head­li­nes”; the “Fade in/out” fea­ture seems nice, but it’s buggy. I’m not sure what the “Cyc­ling feed/group” options are for. Also, uncheck all the boxes in the bot­tom section.

Okay, in the “Head­li­nes style” sec­tion, make those first three options On, Off, Off. The next three should be “Auto­ma­tic,” “Auto,” “Default.” Also change the set­tings in the bot­tom box to “Auto” and “Default,” and uncheck “Ita­lic” and “Bold.”

Go back to the “Feed/Group” sec­tion, and select the last.fm group from the drop-down. Click the check box next to the words “Check all” to add all the feeds to this group, and click the “Make current” but­ton to set the last.fm group to be displayed.

Now, the most impor­tant step: click on the “Fil­ter” tab. Under “Fil­ter policy,” choose “Use active fil­ters from both.” Set “Match” to “All.” Check the box next to the first cri­te­rion, and change it to “Head­line # Equals 1.” This ensu­res that it only shows the most recent track for each per­son. Click the plus sign to add another cri­te­rion, and make the new one “Published date Less than 30 minu­tes.” This ensu­res that tracks are only shown if they’ve been pla­yed in the last half hour (or howe­ver many minu­tes you want). This must be the last thing you do before you fina­lize chan­ges by clic­king “OK.” If you change any other options after this, the cri­te­ria will be man­gled by a bug in the pro­gram, and you will be for­ced to remove all the cri­te­ria, click “OK,” and go back into options again to reset the criteria.

That should do it. The Audiosc­rob­bler icon at the far left will turn into a user’s ava­tar when it checks their feed. If for any rea­son you can’t get this to work for you, let me know.

Leave a Comment or Subscribe