Adium
Dock Icons Emoticons Contact List Styles Message Styles Sound Sets AppleScripts Status Icons Service Icons Menu Bar Icons Plugins Miscellaneous All
Spotify Now Playing

Spotify Now Playing

Submitted By Tobias B (toabi)

Description

Send the currently playing Spotify track to your buddies or use it as your status.

Commands:
  • %_spotify : /me is listening to 'Arrival To Earth' by 'Steve Jablonsky' on 'Transformers: The Score'
  • %_spotify_status : Arrival To Earth – Steve Jablonsky


If you don't like the generated strings you can just edit the scripts in the bundle. See the comments for details.

Changes

Now with one more command useful for status message.

Comments

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

# by norz on 07/02/11 at 16:51:52

Works well, thank you very much! :)

# by xevix on 07/15/11 at 03:53:44

Would it be possible to take away the "/me " and provide a clean "Artist - Track" format? That way we can use it to update status.

# by toabi on 07/15/11 at 10:57:10

Okay, I'll add this when I have time. Maybe this weekend.

# by imanimama on 07/19/11 at 16:58:14

I tried copying and pasting that code in my status bar, but it's just showing as code for me. Sorry I'm a n00b. Any help? Thanks!

# by imanimama on 07/19/11 at 16:58:50

P.S. I did install the script first. :)

# by cocaclassic on 07/23/11 at 03:45:31

Xevix: Just edit it your self.. it's just a plain text file inside the downloadable script package

1:"right" click on the file and select "Show Package Contents"
2: Edit the .scpt file with apple script editor
3: replace the "set message to......." line with the line below, or whatever you want.

set message to _title & "' by " & _artist & " on '" & _album & "'"

4: Save the file
5: quit adium
6: open home/Library/Application Support/Adium/, locate the script folder and delete the current installed version.
7: run your updated script package.

You should be all set. Worked for me...

# by xevix on 07/30/11 at 01:40:49

Thanks, didn't know it was just a plain text file.

# by drukelly on 07/29/11 at 02:21:27

Awesome tip, cocaclassic! Worked wonders for me.

I wonder how you can incorporate the link to the song.

# by xevix on 07/30/11 at 02:05:07

Something like this...

on substitute()
tell application "Spotify"
set _title to name of current track
set _artist to artist of current track
set _url to spotify url of current track
end tell
set message to _title & " - " & _artist & " " & _url
return message
end substitute

substitute()

# by bwu on 04/18/14 at 22:04:44

Yes, this works. However the link shows up something like

"Listening to 'Under The Pressure' by 'The War On Drugs' spotify:track:45D0ixQWzXQOoU1S9aSnKk"

Anyone know how to turn that into a link?

# by zzyyfff on 08/07/11 at 19:48:14

Hello! Thank you for this wonderful plug-in!

I have a problem: It seems to not update on my machine. It will stay displaying one song and not advance when spotify changes to a new track. Thoughts? I haven't been able to find any information on this issue elsewhere online. Thank you in advance for your help and generosity! =)

# by toabi on 08/11/11 at 00:40:59

Hm. Yeah when Adium doesn't have focus it doesn't update. But when you use Adium actively it should update a few seconds after a Spotify track change.

# by dos3 on 08/10/11 at 01:48:35

Just curious how do I ad this to my status? When I do all it shows is %_spotify.


thanks

# by toabi on 08/11/11 at 00:37:57

I recommed using %_spotify_status - but Adium will still show you the '%_spotify_status' in its window. But if you hover over it, the message your buddies will see should appear.

# by dos3 on 08/11/11 at 19:45:04

@toabi - thanks.. works great.

# by dpisoni on 08/11/11 at 20:27:18

I suggest you add a "if it is running then" block in the "tell application Spotify" block of your scripts. When you don't, if you set the status plugin on and spotify is not running, it repeatedly launches multiple copies of it (due to the weirdness of Adobe AIR.)

# by sholsinger on 11/03/11 at 20:08:34

I added some error handling to the script and it now has a link for the current track for each method. (%_spotify and %_spotify_status) http://sholsinger.com/files/Spotify%2...Scripts.zip

# by jrbond on 01/13/12 at 04:47:59

The script isn't working properly. I'm on 10.7.2 with Adium 1.4.4.

Status does not update without having to move to 'available' and then back to the spotify_status... and that doesn't always work right either. Any way to fix this?

# by lorddragon on 01/20/12 at 21:56:07

I noticed the same thing as jrbond. This script no longer properly functions and works intermittent at best. Please update for the newer spotify and adium versions :) I am running the latest adium 1.5 rc and the latest spotify 0.8.0.1028.ga3450140

# by zgrimi on 01/25/12 at 20:44:17

It doesn't work with Lion & Adium latest versions... Nothing's happening.

# by josta on 01/04/13 at 20:49:22

Any chance at an update to make sure it doesn't cause any problems with current version of Adium? It's working for me, great, even, but I have random instances where the program hangs and/or where windows freeze/don't relay messages. Thanks! It's a great script, otherwise. I've enjoyed using it.

# by achatur on 02/27/13 at 00:52:14

This is awesome however I have one question..or concern rather. This could just be isolated to my computer but I thought I'd ask. After the installation, all works as it should however the song title doesn't change properly. Some times it changes as the song changes. Sometimes it changes much later. When I say later, it could be as late as in the middle of the next song or other times as late as 2 songs after..? The correct song that's playing at that time does in deed show up, just not till later. Anyone experiencing something similar? If so, any solutions?

Post a New Comment

You must be logged in to post comments.

Install | Download
6.12kb (5655 downloads)

12345
4.50 / 29 votes
Current Version: 1.1
Last Updated: 07/30/11