beam-back is a simple Python script to save streaming MP3 data.
xterm -e beam-back.py -v %s
Verbose mode will tell you how much data has been read on a particular stream. Hitting ctrl-c in the xterm will cause beam-back to stop downloading and save the stream to a file.
The default name is "unfinished-stream.mp3" which can be changed with the -u option.
If you find the stream is dropping out and losing link unexpectedly, try the -p option.
Many internet radio sites use the .pls file format but the servers do not treat the mime type correctly :( You can save these streams in the following manner:
1) save the .pls file locally
2) from a linux prompt execute: ./beam-back.py -v pls_filename
Or you can set up both the two mime types:
with suffix pls to "xterm -e beam-back.py -v %s"
Finally, if you want to setup cron jobs, you can stop and save a beam-back transfer by doing a kill -INT to the job.