That's my amarokControl karamba plugin.
For unknown reasons I don't like SuperKaramba and it's Python module so I made it work with pure karamba.
It's based on a bash script called amarokctrl which can play, pause, etc. songs using dcop.
You must edit some paths in amarokControl.theme to make it work. And if you don't use 1024x768 resolution you have to change x,y coordinates to fit your needs.
Yeah, have phun