[mythtv-users] OT: Web UI for mplayer (was: Controlling mythmusic from mythweb)

Jens Baumeister jens.baumeister at gmail.com
Wed Jan 19 18:19:39 EST 2005


On Mon, 17 Jan 2005 20:43:43 +0000, Eggert Thorlacius
<eggi at menandmice.com> wrote:

> Well, personally I prefer a web interface over picking music with a
> remote control.  I realize that I can ssh into the mythbox and run
> mplayer, but I just find it a bit strange that with all the impressive
> looking streaming web apps that seem to be out there, I can't find a
> single one that has an option of sending the files to mplayer instead
> of streaming them.

With a bit of scripting knowledge and a reasonably clean code base for
the web app it shouldn't be too hard to put together something like
that - you'd just need to write a CGI that accepts a a filename and
sends it to mplayer (stopping any other currently running track first,
of course - if you want to get really fancy, you could try
cross-fading :-) ) and then hack the web app so that its play buttons
link to that CGI instead of whatever it uses to do the streaming.

Given a nice, slim web app, this shouldn't take more than 2 hours,
maybe a lot less. I'd look into it, but I'm swamped with other stuff
at the moment.

Jens


More information about the mythtv-users mailing list