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.
Comment #1 posted on 2013-05-15 20:22:05 by timttmy
I've pulled in live streams in the past using mplayer with the -dumpstream option (mplayer https://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.
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 :).