baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: "David Moberg" <davidjmoberg AT lycos.com>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] MPlayer
- Date: Mon, 09 May 2005 22:09:22 -0500
----- Original Message -----
From: "sindi keesan" <keesan AT sdf.lonestar.org>
> >>> #!/bin/sh
> >>> wget -q $1 -O /tmp/urlfile && sed -e
> >>> 's/http:\/\//WORKShttp:\/\//g' -e
> >>> 's/rstp:\/\//WORKSrstp:\/\//g' -e 's/pnm:\/\//^WORKSpnm:\/\//g'
> >>> /tmp/urlfile |grep WORKS |sed -e 's/WORKS//g'
I tried out this script. It seems to work. Note that it is only two
lines long, so if your mail program added newlines, you will need to
remove them before use. Quite a nifty bit of scripting by Stephen.
I'm certainly not capable of writing anything that complex.
Here's another script to wrap the above one into something workable
with links/lynx:
#!/bin/sh
mplayer `stephens_script $1`
Replace mplayer with the name of the script which pipes output to
play through a fifo. Replace stephens_script with the path to the
first script, of course. If you tell links to use this script, it
should work. You can try it manually:
my_script http://www.domain.com/3.plu
You should get sound output if everything is working right. Note
that this only works if there is nothing else on the line with
the URL (in the plu file). You can add your own protocols, like
FTP, by replacing the existing ones.
David
--
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at
once.
http://datingsearch.lycos.com
-
Re: Weather report (was: [BL] MPlayer)
, (continued)
- Re: Weather report (was: [BL] MPlayer), sindi keesan, 05/09/2005
- Re: Weather report (was: [BL] MPlayer), Ron Clarke, 05/10/2005
- Re: [BL] MPlayer, sindi keesan, 05/08/2005
- Re: [BL] MPlayer, 3aoo-cvfd, 05/09/2005
- Re: [BL] MPlayer, sindi keesan, 05/09/2005
- Re: [BL] MPlayer, sindi keesan, 05/09/2005
- [BL] a very strange laptop, sindi keesan, 05/09/2005
-
Re: [BL] MPlayer,
sindi keesan, 05/09/2005
- Re: [BL] MPlayer, sindi keesan, 05/10/2005
- Re: [BL] MPlayer, Stephen Clement, 05/10/2005
- Re: [BL] MPlayer, sindi keesan, 05/11/2005
-
Re: [BL] MPlayer,
sindi keesan, 05/18/2005
-
Re: [BL] MPlayer,
sindi keesan, 05/18/2005
-
Re: [BL] MPlayer,
Ron Clarke, 05/18/2005
- Re: [BL] MPlayer, sindi keesan, 05/18/2005
-
Re: [BL] MPlayer,
Ron Clarke, 05/18/2005
-
Re: [BL] MPlayer,
sindi keesan, 05/18/2005
Archive powered by MHonArc 2.6.24.