Dock Icons Emoticons Contact List Styles Message Styles Sound Sets AppleScripts Status Icons Service Icons Menu Bar Icons Plugins Miscellaneous All Current song in status Current song in status

Submitted By Ricardo ricardovj (ricardovj)


Displays current track information being played in your Player as:

Song Name by Artist

Built based on Puck's script. Removed update of last track file (since it's not used anymore) and updated it to get the current track being played from latest api (2.0).

Change your status to %_lastfmtrack{username}

You can change the text easily by doing the following:

Go to "Users/'your mac username'/Library/Application Support/Adium 2.0/Scripts/"
Rightclick on "Lastfm Track.AdiumScripts" select "Show Package Contents"
Go to "Contents/Resources/"
Open "Music.scpt" (doubleclick)
Find the lines starting with "set info" and/or return and change it to how you like it
Save the AppleScript
Restart Adium!

- There's a slight delay when a new track starts playing before your status is updated (no more than 30 secs).
- This will also display the iTunes song you're playing if scrobbling is enabled
- If you stop playing, the last song will remain on, so you'll have to change your status if you want it to go away!
- Enjoy, and please leave comments whether you like this script or not! :)

I'm not responsible for anything that could affect you or your computer when using this script.


1.0 is an improved version more resilient to's RSS change (as it happened recently).

Added HTML links thanks to suggestion and code from Andrew/eyemac!

1.1 Corrected HTML tags so that links displayed correctly (made it all CAPS) and changed to's API 1.0, which seems to update more real time than 2.0 (which updated only after the song had been scrobbled or fully played) - Again thanks to Andrew!


You can reply to individual comments by clicking the "Reply" link next to each.

# by DVSwede on 03/02/09 at 14:51:15

Cool, works for me. Seem to update status faster enough (~20 seconds?) and indicates current song which is nicer!
Good job!

# by mantelpiece on 03/02/09 at 15:46:41

I don't understand how to get this to work. I got to the stage where i was viewing the script but did not understand what i needed to change to make it work. I would appreciate any help. thanks

# by ricardovj on 03/02/09 at 15:56:37

You don't have to open the script to get it to work, that's only if you want to customize the message it displays. To get Adium to show the track you're currently playing in your player, you have to set your status to %_lastfmtrack{username}, replace username with your user name and that should be it!

Let me know if you have additional questions.

# by mantelpiece on 03/02/09 at 16:12:34

ok. i put %_lastfmtrack{mantelpiece} as a custom status, which i assumed you do? i put it as the title of the status and the status message. but all it's showing is %_lastfmtrack{mantelpiece}.
I have the scrobbler on and it's connected to itunes. but i swear that isn't right.

# by ricardovj on 03/02/09 at 16:18:18

Sounds like the script didn't get installed, did you click install instead of download? After you click install and goes through the quick installation window go to your Adium menu, then Xtras Manager, then scripts, you should see the Script installed there. Try restarting Adium (quit then reopen it).

Try playing your station through your player (not through iTunes) first, and see if that works.

# by mantelpiece on 03/02/09 at 16:23:19

yup it's definitely installed. For some reason it shows me the song/artist when i hover over the "%_lastfmtrack{mantelpiece}" status. and it's response seems to be very slow, showing me a track played 13/14 tracks ago

# by ricardovj on 03/02/09 at 16:28:32

Weird, has been kinda wacky for me today too, the script gets its data from feeds, so if those feeds are messed up, the script will obviously be messed up. Navigate to and see if it's showing your recently played songs (as it should). The script should display the top most song you see in this page, which should be the one you're currently playing. At least that'll help us find out if the problem is the script or not updading the recentracks.rss feed.

# by mantelpiece on 03/02/09 at 16:35:24

the rss feed is showing the same song from 13/14 tracks ago as well. so i guess that could be the problem. But surely it shouldn't be showing %_lastfmtrack{mantelpiece} as my status? Thanks for your help

# by ricardovj on 03/02/09 at 16:39:38

No, it definitely shouldn't show %_lastfm... I can't think of a reason why it shows that and not the last song from the feed, unless you were having network problems or the script wasn't installed...Do you have any other scripts installed, specially if you had one of the other scripts, they could be conflicting.

# by mantelpiece on 03/02/09 at 16:41:18

nope this is the only one i have installed. However i have been having problems with the internet in general today. I keep getting signed out of Facebook. And on adium i keep disconnecting from msn.

# by bikefridaywalter on 06/13/09 at 01:04:31

this may be obvious but you also might try to make sure that the status itself is %_lastfmtrack{mantelpiece} and not just the TITLE of the status (I call mine See here:

# by berror on 03/04/09 at 19:13:30

It works for me.
I like the fact that the script gets the song info from the rss feed, and not from the app itself. (there was a script that did that)
Now I finally have a now playing status while using songbird (great open source music player, with the plugin.

# by ricardovj on 03/04/09 at 19:16:58

Glad to hear it! don't forget to vote, thanks!

# by brainsik on 05/14/09 at 18:05:26

This is the best plug-in out of the 3 currently on adiumextras. I've used them all. Good work! Thank you.

# by bikefridaywalter on 06/13/09 at 01:09:06

nice. now i can play out of cog and update my adium status and not have crashes :( :) .. i hope.

# by Jackcday on 07/08/09 at 00:11:05

Hey, great script.
Just suggesting that for your next update, would it be possible to put a ♥ next to the song if it's been "loved"?
That would be quite cool :D.

# by Roaring_in_the_Dark on 11/22/09 at 22:41:36

I see that you've updated the script, but it's still not working for me! Any ideas?

# by ricardovj on 12/04/09 at 19:02:18

Not sure why, I just did some updates, can you please try new version 1.1?

# by canker on 11/27/09 at 00:42:31

It wasn't working very well for me either, when I looked at the status to check if it worked I saw the HTML for the link to the song but not in the nice neat "♫ Song Name by Artist" display. So what I did was take the HTML linking out in the return line so that it is thus: return "♫ " & item 2 of info & " by " & item 1 of info & ""
So if anyone is having the same issue I was having and you don't care about having the links in your status maybe give this a whirl as it has worked very nicely for me. :)

# by ricardovj on 12/04/09 at 19:02:44

Yeah, thanks a few users reported the problem, I updated it to 1.1 Thanks!!

# by cowgomoo on 11/28/09 at 01:38:51

Hey guys,

I noticed the same issue with the links in this version. Here's a variant of the script that I made that appears (at least on my install) to work great. It also includes a second script for hardcoding your username in it, so you can just type %_lastfm and have it print your latest song.

Anyway, here's the link. Let me know if you have any questions.

# by Roaring_in_the_Dark on 12/04/09 at 20:57:06

The current ver. works for me like a charm; thanks for the response! =]

# by ricardovj on 12/04/09 at 21:27:04

Glad to hear it, and please don't forget to vote!

# by 4ndr3wk on 12/07/09 at 18:31:54

Is there any way i can completely remove the HTML links? just so it looks a bit neater :) i've been messing with the script myself but cant get it to work. Cheers

# by ricardovj on 12/07/09 at 18:46:16


Just replace this line:
return "♫ " & item 2 of info & " by " & item 1 of info & ""

With this:
return "♫ " & item 2 of info & " by " & item 1 of info



# by 4ndr3wk on 12/08/09 at 15:23:31

Thanks a lot that was FAST! i got the full code in notification email. but its formatted the HTML out on these comments, strange. Thanks a lot

# by gabguevara on 02/04/10 at 07:29:39

I really liked this script, it worked for me when I installed it, but for some reason, when I close Adium and reopen it, it doesn't connect to msn or facebook, At first i thought it was mi internet signal, but after resetting it, I tried deleting the script and it worked.. I've reinstalled it a couple more times, with the same result!... Is there anything I can do?.. any advice?

And by the way, could you tell me how to remove the links?... Thanks so much!

# by ricardovj on 02/04/10 at 23:12:59

Hey Gabriel, I'm glad you like it!

Sorry to hear you have problems, I haven't experienced this issue and can't reproduce it. This is the first report of something like really doesn't make much sense that it would affect your accounts, there may be another problem going on...Have you tried reinstalling Adium? Are you running the latest stable version or a beta?

I'm sorry I can't give you any "helpful" advice but I'm at a loss here...let me know what you find out.



# by DiFFtY on 03/26/10 at 09:07:54

I'm experimenting the same issues... And it's bad because this Xtra is really good ! :'

# by CallToPower on 03/09/10 at 20:14:29

Works really good!
I only changed the Output to
return "♫ " & item 1 of info & " - " & item 2 of info & " ♫"

# by Alpha_x on 03/17/10 at 11:54:27

I love this script! Is there somewhay you change the Hrefs to spotifylinks?


# by Eduardboon on 09/24/10 at 10:28:00

When I use this script it creates a weird link like artistname

How can i create normal links? :)

# by soupnazi on 10/08/10 at 14:13:14

I have slightly modified this script so that it says ♫ Not currently listening if your last track was not played within the last 10 minutes. I also removed the link code since in Adium it doesn't actually display links but rather the html. Link to the script:

# by soupnazi on 10/14/10 at 13:50:58

Appologize for the bad link. Here is the real link:

# by soupnazi on 10/14/10 at 13:52:19

ummm - not sure why it keeps taking out the '/' .... Anyways - there should be a forward slash (/) between the net and the tilde (~)

# by Rolin on 10/26/10 at 14:02:41

I've read these post's a couple of times.. But still have issues to how to get the links away from my status... What's I'm supposed to do to get this away? XD

# by JavaKrypt on 11/16/10 at 03:00:39

Thanks for this. For anyone wanting to have just: "Song by Artist" use this in replacement. [I never actually read your post to change it, I just did. :P]

return "♬ " & item 2 of info & " by " & item 1 of info & ""

Also, if you ever make changes to the script, you don't need to restart adium as the post suggests, you just save the script, and then reselect the status %_lastfmtrack and it'll update it instantly.

# by Cavin on 12/13/10 at 19:02:20

I like this much better. Thank you, it works perfectly.

# by srsDom on 04/26/11 at 17:31:28

Great little plugin but when I play a song it says (for example): Help Is On The Way ( by Rise Against (

Can someone help me please?

# by dreamcore on 06/30/11 at 05:17:43

Right. I don't know where those parentheses with exposed links are coming from either. That's why some people are getting rid of the links altogether. See above for help on that.

It may be that Adium/libpurple breaks up the links before posting them to statuses. That would be unfortunate. They appear correctly in autoreplies, however.

# by JonClone on 10/11/11 at 07:38:58

The posting is about the Current song in status. It is about making some changes to the script. I think it is usual to make changes to the web site html or other scripts before getting what we want to see on the screen. I am sure even the web designer for Groupon or the clone web sites would have made a lot of changes before getting a satisfactory result. It is all about trying out to see what you can get with changes.
Jon - Groupon Clone

# by jewifer on 07/22/12 at 15:29:01

Just wanted to let you know that this still works (Adium Version 1.5.1)

Also, a neat trick for scrobbling is to install the Chrome extension scroblr ( With that, my status is showing what I'm playing on Pandora.

Post a New Comment

You must be logged in to post comments.

Install | Download
9.51kb (8264 downloads)

4.70 / 53 votes
Current Version: 1.1
Last Updated: 11/28/09
Based on Puck's original script.
HTML links with help of Andrew/eyemac