> You can send output from mpg123 and ogg123 to stdout and pipe through an
> encoder as I recall, or into a wav file for later burning to CD.

Two more things relevant about this thread to pass on:

1) This past weekend I wrote a perl script to search for and play shoutcast
streams from the command line. So if you want to listen to some Punjabi
music to go with Jay's curry you can type: "shoutcast punjabi" and it will
look for streams of Punjabi music (there are 6 at the moment) and then play
the selected one for you via mpg321. You can find the script here:
http://www.vdomck.org/wiki/index.cgi?NerdStuff - would be interested to hear
if anybody found it useful/useless.

2) Playing shoutcast streams with command line players does not always
work - it seems some shoutcast streams check the user-agent in the http
request before they will stream their data. A cool workaround I stumbled
upon shows how to hack around this and also the sheer flexibility of a unix
approach: Use lynx to fake the user-agent to be Winamp and then pipe the raw
results to mpg321:
lynx --source --useragent=winamp http://64.236.34.141:80/stream/1015 |
mpg321 -
What this also shows is yet another way to save streams:
lynx --source --useragent=winamp http://64.236.34.141:80/stream/1015 >
savedStream.mp3

Mike


_______________________________________________
RLUG mailing list
[EMAIL PROTECTED]
http://www.rlug.org/mailman/listinfo/rlug

Reply via email to