Record Net Radio with Mplayer
Step 1: Download the playlist of your choice, say for instance you choose groovesalad, then the saved file on ur local disk will be groovesalad.pls.
Open a terminal and then change the file type to .txt.
mv groovesalad.pls groovesalad.txt
Step 2: Install the awesome MPlayer and u can play the file from the terminal!
The command is as follows:
mplayer -playlist groovesald.txt
Step 3: Downloading the entire stream silently
Again you can do it with MPlayer.
Here is the command:
mplayer -playlist groovesalad.txt -ao pcm:file=mystream.wav -vc dummy -vo null
You can use any file name you want, not mystream.wav necessarily!
If you observe the file mystream.wav, it will constantly get updated runtime! You can use it as long as you want, that of course is dependent on your disk size. If you wanna stop the download, use the break key CTRL+C to stop the process in the terminal.
Step 4: Install lame mp3 encoder and execute this command:
lame mytream.wav filename.mp3
There you have it! The entire stream you can carry on your ipod and listen mobile! The aforementioned method works for any playlist based internet radio! Most streams from shoutcast can also be recorded this way! I have simply broken down the steps accordingly, but you can also write a small shell script that is nothin more than a combination of the commands to execute the same in a single step. It’s pretty easy to do that!