Lately I’ve switched Linux music players from XMMS to the new upstart iTunes clone Rhythmbox. Rhythmbox has grown up a lot since the last time I tried it, and its finally stable and fairly feature-complete. And the Rhythmlet plugin for gDesklets simply kicks ass.
But nobody ever bothered to write a command line remote control for it. So I wrote my own in a few lines of Python. Hopefully somebody else will find it useful.
Be warned. Its my first ever Python app, has no error checking whatsoever, and will probably replace all your MP3’s with Prince albums. It also only recognzies three commands - “next”, “back” and “playPause”, mostly since those are the only three buttons Rhythmbox has in the first place.