run this to create m3u files for each free radio station that http://di.fm provides.
do this in a tempdir or something
egrep -o 'http://listen\.di\.fm/public3/.*\.pls' < <(curl -s http://www.di.fm/) | \
while read link; do
data=$(curl "$link")
name=$(awk -F" - " '/^Title1/ { print $2 }' <<< "$data")
links=$(awk -F= '/^File/ { print $2 }' <<< "$data")
echo "$links" > "$name.m3u"
done