Record Internet Radio from Linux Console
First you need to have this player installed. On the Ubuntu operating system, this is done with the following command:
sudo apt-get install mplayer
In order to record a radio station, you need to run the following command in the console:
mplayer http://radiosibir.ru:8090/HQ -dumpstream -dumpfile recorded_music_sibir.mp3 -vc dummy -vo null
Here:
radiosibir.ru : 8090 / HQ - link to the radio stream;
recorded_music_sibir.mp3 - the file to which we will record.
By the way, this whole thing can be put on some convenient key combination. Thus, we get the easy ability to record Internet radio in Linux in the background.