[Techtalk] Using a web browser to control stuff locally -eek!

Patricia Fraser trish at thefrasers.org
Sat Aug 20 16:24:18 EST 2005


Hi Esme,

> On Saturday 20 Aug 2005 03:26, Kathryn Andersen wrote:
> > On Sat, Aug 20, 2005 at 12:24:52AM +0100, esme wrote:
> > > How do you invoke a shell command from a web page?
>
> I've just looked up what CGI means.  Damn! 

You know what, I don't think you *do* need CGI to do what you want. You 
should be able to embed your music files as links, and then set the 
browser up to use the player that's installed on the machine; it might 
make it a bit more annoying in use, because you wouldn't be using 
drop-down lists or pretty things like that. Your shell command would 
then be in the call to the player itself, not in the markup language - 
so you could possibly even embed a playlist (say, an .m3u file) that 
gets passed as a parameter to the shell command that runs the player?

I ain't promising, mind; but that's what I'd be trying first...!

Cheers,

-- 
Trish Fraser, W1S0B 8Q2KH
144.720151832495, -37.5827709834421
za aug 20 16:19:50 EST 2005
GNU/Linux 1997-2004 #283226 counter.li.org
andromeda up 21 day(s), 1 hour(s), 34 min, 42 sec
kernel 2.6.11-6mdk
--


More information about the Techtalk mailing list