|
|
Index : Home | What Is Izumi | Scripts $Id: RecordRadio.izu,v 1.3 2005/06/20 03:02:35 ralf Exp $This script records radio shows for time-shifted playback.
Important: see the legal note at the end.
Recording is done under Linux by using either line-in for AM or a BTTV for FM (I currently run this on a Blue & White G3 Mac, somehow line-in recording stopped working and I can't figure it out. Well at least the FM part still works!)
Debian setup:
This is used this way:
Note that the script below makes reference to webcam.sh, a custom script wrapper for apt-get install webcam which can capture webcam images from a BTTV. The radio part of the BTTV cannot work at the same time as the video part so I needed to stop the webcam cron job before recording and rerun it after if it was running before.
Actual recording is governed by crontab rules, for example:
# Record Line-In (ext - AM radio) every weekday from 1 to 4 PM # day 0 is sun so mon-fri is 1-2-3-4-5, i.e. 1-5 # record lenght is in minutes, 3 h = 180 mn, split in 3, keep last 10 episodes (x3) 0 12 * * 1-5 /user/bin/record_radio.sh -ext -l 180 -o /user/radio LineIn_ mp3 -d -s 3 -u 0000 -k 30
# Record NPR - Says You, Sunday from 4 to 4:30 -- 1/2 h # record length is 30 mn, don't split, keep all 0 16 * * sun /user/bin/record_radio.sh -bt 88.5 -l 30 -o /user/radio SaysYou_ mp3 -d -u 0000
# Record NPR - Wait Wait Don't Tell Me, Saturday 11 AM -- 1 h # Note: using 59 mn instead of 60 mn to avoid overlap with next one, don't split, keep all 0 11 * * sat /user/bin/record_radio.sh -bt 88.5 -l 59 -o /user/radio WaitWait_ mp3 -d -u 0000
# Record NPR - This American Life, Saturday 12 PM (i.e. noon) -- 1 h # don't split, keep last 10 0 12 * * sat /user/bin/record_radio.sh -bt 88.5 -l 60 -o /user/radio ThisAmericanLife_A_ mp3 -d -u 0000
# Record NPR - Lake Wobegone, Saturday from 6 to 8 PM -- 2 h # record length is 7200=2h, split in two, keep last 10 episodes (x2) 0 18 * * sat /user/bin/record_radio.sh -bt 88.5 -l 120 -o /user/radio LakeWobegone_ mp3 -d -s 2 -u 0000 -k 20
Legal Note: All broadcasted media is copyrighted by their respective
owner.
==> I clearly do not condone illegal usage made with this script.
As far as I know it is illegal to sell, broadcast or distribute on the Internet
episodes that you got using this script unless you have the copyright holder's approval.
On the other hand, you can express your fair use of this material, i.e. it
is acceptable to record shows for your own usage to play them at a
differed time.
Have a look at this link about fair use.
IANAL, so you're on your own here.
If you really enjoy a show broacasted by NPR, you may
want to check their web site to find out how you can express your support.

This work is licensed by Raphaël Moll under a Creative Commons License.
Color Theme:
Gray
| Blue
| Black | Sand
| Khaki
| Egg
| None
472 accesses, 1 access from 38.107.179.207
Visited 9 times by Google, last 2011/12/15 08:29
Visited 27 times by Yahoo!, last 2011/10/22 18:46
Visited 1 times by MSN, last 2011/06/15 19:21