Record streaming radio with streamripper

Yes, many radio shows are available as podcasts. However, some are not. If a radio show is also broadcasted via a live stream online, then we could record it with streamripper. I did so as follow:

<pre class="src src-sh">sudo apt-get install streamripper <span style="color: #ff4500;">## </span><span style="color: #ff4500;">install</span>

## record for 60 seconds streamripper http://kpcclive1.publicradio.org:80/ -s -l 60 -a “Prarie – %d”

To have the show be recorded automatically, first create record.sh:

#! /bin/bash

## set in crontab: ## 59 17 * * 6 /path/to/record.sh cd /path/to/save/; streamripper http://kpcclive1.publicradio.org:80/ -s -l 3720 -a "Prarie - %d" &> /dev/null

Then add the following cron entry via crontab -e:

59 17 * * 6 /path/to/record.sh

About Vinh Nguyen

Statistician

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>