OK. I have a multi-media server running gentoo Linux. it has an apache web server that I use to serve media to my iPod touch. I would like to add a page that allows me to control mplayer ( running on the server displaying to my tv ) from the safari web browser on my iPod so that I could use it as a remote. I have mplayer configured as a slave and it gets it's input from a fifo file. so if I were to:
Code:
echo "pause" > /var/tmp/mplayer_remote
it will pause the movie playing on my tv. What I would like to do is some how echo various commands into this fifo file when I 'click' one of the images on a web page hosted from the same computer that is running mplayer.
I was hoping some of you with more experience coding web pages could give me some examples of how to do this.