Clearly someone should write a perl module so you can use something like the xmms ctrl stuff.

I'm not volunteering