I don't know...
Mplayer would have to accept inputs from stdin wouldn't it? It's something that the programmers would have to setup beforehand....
something like
echo ~/imadinasorus.mp3 | mplayer?
Maybe you would have to write a java or perl front end that you can control over a web interface....
This sort of thing is why they are making gstreamer, they have scripting hooks into it alread y so people could drum out their own interfaces or scripts. That way it would be a simple thing to write a perl script you can press buttons thru a web interface. The way I figure it is that mplayer folks would already have to allowed for this sort of thing, if not it could require some hacking to the mplayer code to do it. (but you shouldn't listen to me to closely, I don't realy know what I am talking about, this is just speculation.)
mabye check out other mplayer front ends and see if they have a standard way to do it
There are also network jutebox style programs that maybe you can get pointers off of.
I'd figure the best bet for something like this without all the pain would be gstreamer, but I don't know how far along in it's developement it is.
check it out here. I don't know if it has perl bindings, it should have some, perl is damn popular. They are advertising new python bindings in the news sections. I like python, so that makes me happy.
But my python (and programming in general) skills are still the pre-pre-alpha infancy form. Last night I wrote my first program that is remotely usefull for anything, a python program that generates bash scripts from a simple config file for use with the ratmenu/ratmen program. (do nested menus, and incorporate bash commnds with more then one "command" per menu entry, that sort of semi-useless stuff)