Record Net Radio with Mplayer

1 Comment

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!
THANKS: Skinwalker

Categories: Cheats Ubuntu

Tags: ,

One Reply to “Record Net Radio with Mplayer”

  1. You actually make it seem so easy with your presentation however I in finding this matter to be really something that I feel I would by no means understand. It sort of feels too complicated and very huge for me. I am taking a look ahead to your next post, I will try to get the grasp of it!

Leave a Reply

Your email address will not be published. Required fields are marked *