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 voyeurism. I love being able to see what my friends are lis­ten­ing to, but that usu­ally requires going to the “What are my friends lis­ten­ing to?” page, which is still too much effort; I’m not that curi­ous. But still, if some­body I know starts lis­ten­ing to some­thing, I’d like to be alerted 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­sist­ing of all your friends’ recent tracks, which is sur­pris­ing because it’s such an intu­itive idea. So imple­ment­ing the ones that are avail­able is osten­si­bly pos­si­ble, but nev­er­the­less tricky. I mean, log­ging into Blog­lines or Google’s new reader still requires an active request for this infor­ma­tion. And while there are some web ser­vices that will merge mul­ti­ple feeds into a sin­gle one for you, I don’t like rely­ing on a third party like that, one that may go down any day and that might insert adver­tise­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, check­ing mul­ti­ple feeds reg­u­larly, then pop­ping up a native Win­dows bal­loon with a link to the “arti­cle” every time there’s an update. This would be ideal for watch­ing 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 aux­il­iary fea­ture. I can’t afford the memory.

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

infoRSS

The writer of this exten­sion isn’t a native speaker of Eng­lish, and there’s very lit­tle help avail­able any­way. I spent a long time study­ing its many con­fus­ing fea­tures, 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 expected or hoped. There’s a nice lit­tle Audio­scrob­bler logo on the left; each entry is marked with the user’s avatar, which is far more effi­cient than if their name were dis­played; and the lis­ten­ing sta­tus of every­one is con­stantly on dis­play for me. Here’s how to do this:

First, in the options for the exten­sion, click on the “Advanced” tab. Under “Default val­ues,” check “# of news” and con­strain 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 con­strain it to 20 or 30 (depend­ing on how many friends you add later, things could get pretty clut­tered). Check “Refresh Time” and change it to 2 min­utes (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 Advanced. Make sure “Syn­chro­nize main icon with cur­rent group” is on, and “Flash­ing 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­vid­ual 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 avatar. Repeat for each user you want to add.

There’s more.

In the “Gen­eral” sec­tion, turn off all the options under “Gen­eral” (leave “InfoRSS activ­ity” on), and set “Tooltip on head­lines” to “Full headline.”

In the “Head­lines area” sec­tion, “Loca­tion” dic­tates where the ticker will go (I pre­fer bot­tom). Turn off “Scrolling head­lines”; the “Fade in/out” fea­ture seems nice, but it’s buggy. I’m not sure what the “Cycling feed/group” options are for. Also, uncheck all the boxes in the bot­tom section.

Okay, in the “Head­lines style” sec­tion, make those first three options On, Off, Off. The next three should be “Auto­matic,” “Auto,” “Default.” Also change the set­tings in the bot­tom box to “Auto” and “Default,” and uncheck “Italic” 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 cur­rent” 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 pol­icy,” 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 ensures 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 “Pub­lished date Less than 30 min­utes.” This ensures that tracks are only shown if they’ve been played in the last half hour (or how­ever many min­utes you want). This must be the last thing you do before you final­ize changes by click­ing “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 forced to remove all the cri­te­ria, click “OK,” and go back into options again to reset the criteria.

That should do it. The Audio­scrob­bler icon at the far left will turn into a user’s avatar 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