You can do it best in terminal using either mplayer and/or streamripper, depending on your stream type. Here are two examples from UK which I use for recording with mplayer, with ease.
saves mp3 stream as file stream.mp3
mplayer <URL> -dumpstream -dumpfile stream.mp3
saves real or other stream as file outfile.wav. You can also convert it to an mp3 with ffmpeg if you wish
mplayer -cache 2048 <URL> -vc null -vo null -ao pcm:fast:waveheader:file=outfile.wav
I use them adapted as a shell script, which I can then cron to time a recording of a concert, or other music. Note my need to add the -playlist before the URL for BBC real streams, which may or may not be needed for all streams. Try it with and without if it doesn't work first time.
For streamripper mp3 stream recording, the script is:-
/usr/bin/mplayer -cache 2048 -playlist URL -vc null -vo null -ao pcm:fast:waveheader:file=$(date +%F-%I%M)-BBCR2.wav &
# Uncomment the line below for the time in minutes to record
# or copy from the "# sleep" and add to end of line above ending with &
# sleep 32m; killall mplayer
# sleep 47m; killall mplayer
# sleep 62m; killall mplayer
# sleep 92m; killall mplayer
# sleep 122m; killall mplayer
The -l 3720 is the number of seconds it records, ie in this case 62 mins.
/usr/bin/streamripper URL -t -d /home/user/Radio -l 3720