Using a Bash script to capture terrestrial radio
Hosted by Jon Kulp on 2013-05-14 is flagged as Explicit and is released under a CC-BY-SA license.
Listen in ogg,
mp3 format. | Comments (1)
This is an open series in which Hacker Public Radio Listeners can share their Bash scripting knowledge and experience with the community. General programming topics and Bash commands are explored along with some tutorials for the complete novice.
In this episode I talk about my solution for capturing terrestrial
radio so that I can listen to it at my own convenience. I use a bash
script, cron jobs, and the streamripper package. here are some links
to things I mentioned in the podcast.
Jezra's command-line audio player sap (simple audio
Radio station KRVS 88.7 FM, Lafayette, Louisiana, USA http://krvs.org/
And you can see the whole radio-recording script here:
Comment #1 posted on 2013-05-15T20:22:05Z by timttmy
I've pulled in live streams in the past using mplayer with the -dumpstream option (mplayer http://yoururl/stream.mp3 -dumpstream) and started and stopped the operation with atd (I never fully gotten my head around cron).
I'll take a look at streamripper. I like the sound of the option to specify the duration of the rip as an argument of the utility.
<< First, < Previous, Next >, Latest >>
Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.
Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).