Playing Streaming Radio [RealAudio, BBC, OS X] Through an Airport Express


This is a variant of an earlier post, this time using JustePort to send the audio to an Airport Express.

Save this script as 'airradio':

TMP="/tmp/radio-`perl -le 'print localtime()'`"
mkfifo $TMP
cat $TMP | mono /usr/local/bin/JustePort.exe - &
mplayer -playlist "$1" -ao pcm:file=$TMP -prefer-ipv4
then run it like this, for example:

airradio ""
( is the IP address of the Airport Express)