FWIW, I've started hacking into the emptool code. I've managed to get it to play something if you're in the right directory and you spell the track correctly (yes I snaffled most of the code from the lookup bit). However, now my troubles start due to the unix buffering with perl (which I'm using to control it). I guess I could make the entire thing some kind of TCP service, which would probably benefit others in the long run, but for now I'm just piping via STDOUT and STDIN. If anyone's interested in what I've written, I'll try and publish a diff when I've made it as tidy as the original code.....
Any takers ??