Rip an hour of internet radio {ubuntu}

I have a number of radio shows that i like to listen to but am often busy at the time they are on.

The solution is to use streamripper to download the webcast of the stream for only that hour.

Install streamripper

sudo apt-get install streamripper

Configure it to run at a particular time

Open a terminal window and run

crontab -e

Paste the line

1 12 * * * streamripper http://example.com/stream.mp3 -l 3600 -t –quiet

What does this mean

“1 12 * * *” This is just crontab syntax  if you google it  you will find guides easily

“streamripper” This starts the streamripper application

http://example.com/stream.mp3” this is the location of the stream you want to rip

“-l 3600” The time in seconds you want to rip for

“-t”  This tells streamripper not to overwrite the previous stream

“–quiet” tells streamripper to not log much information

If you look in your home folder you will now have a folder with your streams in it!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s