another way to play an mp3 stream from the command-line
February 2nd, 2008 by Lawrence David
i came across this idea on the internets and thought it was quite clever. it uses wget to send an http stream to madplay, a command-line mp3 playing program that lacks built-in support for playing network streams. here goes:
wget -q -O – http://localhost:8000/stream.mp3 | madplay -Q –no-tty-control -o /dev/audio2 -