Display current MP3 title in GAIM played with AMAROK

Useless feature but…..

+ +
So you have Ubuntu, Amarok and of course Gaim.

So download Slashexec source for Gaim from here.

cd ~/Desktop

tar -zxvf gaim-slashexec*.tar.gz

cd gaim-slashexec*

sudo apt-get install gaim-dev

./configure

make

sudo make install

Restart Gaim and in Tools>Plugins>/exec (activate)

Activate also “Text remplacement” and add a rule with:

mymp3

/exec -o echo `dcop amarok player artist` – `dcop amarok player title`

I think you can find the good command for any other player.

In the help file you can see a function, to display to the buddy “-o”.

Adding the -o flag to /exec causes SlashExec to send the output to the conversation (i.e. the buddy or chat receives the output). For example, /exec -o ls -1R | sed 's/ /\\ /' will cause the output to be sent.

Enjöy

Leave a Reply

Your email address will not be published. Required fields are marked *