Show in Pidgin what you’re listening on Spotify

Read this article in english Diesen Artikel auf Deutsch lesen

Because of a comment we received from Silverwolf, in which he asked us, how to show what you are listening on Spotify, we started a research... and we found a plugin to get it done in Pidgin... (we are still looking for a solution to show what you're listening to on emesene)

Logo Pidgin


To get the plugin installed, we'll need to open a command shell and execute the following commands:

First, we download the plugin...

wget http://github.com/pilt/spotify/tarball/master

Than, we install the dependecies...

sudo apt-get install libx11-dev libglib2.0-dev libpurple-dev build-essential

We decompress...

tar zxf pilt-spotify-b3069c7cfa4002990da623135d5ff4b454d67e00.tar.gz

We compile...

cd pilt-spotify-b3069c7cfa4002990da623135d5ff4b454d67e00
make

Than we move everything to the Pidgin plugin directory ...

mkdir ~/.purple/plugins
cp spotify_playing.so ~/.purple/plugins/

Now we only need to restart Pidgin and activate the Plugin.

Pidgin Plugins Spotify

(click to enlarge)

There you are... now you can show in Pidgin what you are listening on spotify...

Now Playing Spotify

(click to enlarge)

10 Comments so far »

  1. Y said

    am August 17 2009 @ 4:58 am

    Thank you for this. It made my life so mush easier

  2. Jjukka said

    am August 25 2009 @ 8:22 am

    Doesn`t work for me. There is spotify setting in plugins but nothing happens when i enabled it?? I`m using Karmic Koala alpha 4

  3. Jjukka said

    am August 26 2009 @ 2:06 am

    It`s alive, it`s alive!! So it works after all..Thank you very many and goodnight!

  4. hanum said

    am October 15 2009 @ 1:49 am

    Nice one. Thank’s for info sharing ^_^

  5. somedood said

    am November 9 2009 @ 4:31 pm

    Awesome! Works brilliantly :)

  6. defiancee said

    am December 10 2009 @ 3:21 pm

    Hi. This stopped working for me with a new version of Spotify. Does anyone have a solution?

  7. defiancee said

    am December 10 2009 @ 4:11 pm

    Just had a problem with my client. It works now. Thanks for the guide anyway!

  8. Richard Foulkes said

    am January 31 2010 @ 10:49 am

    Ugly hack to get it to show artist and track (i think libpurple isn’t sending these properly, at least not across gtalk / jabber) – edit spotify_util.c , search for ‘regex’ and change that block to look like this:

    regex = g_regex_new(”Spotify – (?P.+)”, 0, 0, NULL);
    g_regex_match(regex, res->win_title, 0, &match_info);
    res->playing.artist = g_match_info_fetch_named(match_info, “ARTIST”);
    res->playing.title = g_match_info_fetch_named(match_info, “ARTIST”);

    Basically getting all the info from the string into both fields. Also if you run spotify in a different WINEPREFIX than ~/.wine , edit spotify.pl and change spotify_data (e.g. for me:)

    spotify_data_dir = “%s/WineApps/Spotify/drive_c/windows/profiles/%s” \
    “/Application Data/Spotify/Users/%s-user” \
    % (home_dir, sys_user, spotify_login)

  9. Eetu said

    am February 11 2010 @ 10:25 am

    Nice! Is it possible to use this with emesene?

    Sorry my bad english, i’m young boy from Finland :P

  10. Josh Hargreaves said

    am March 21 2010 @ 10:11 am

    oh it’s alright i’ve managed to get it working

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: