Skip to content
A set of utility scripts for recording streams from BBC Radio 2.
AppleScript Python Shell
Failed to load latest commit information.
.gitignore Change schedule parsing code to handle new layout. Nov 13, 2012
60s.pict Add artwork to tracks after recording. Oct 3, 2009
60s.png Use PNG files for iTunes artwork. Mar 15, 2011
70s.pict Add artwork to tracks after recording. Oct 3, 2009
70s.png Use PNG files for iTunes artwork. Mar 15, 2011
At the BBC Recording.scpt Add At the BBC to list of shows. Update installer. Dec 6, 2012
At the BBC URL.scpt Add At the BBC to list of shows. Update installer. Dec 6, 2012
README.md Updated README and installer script to reflect additions and subtract… Jul 15, 2011
Reggae Recording.scpt Delete Bob Harris & Mark Lamarr shows. Add David Rodigan's reggae show. Jul 15, 2011
Reggae URL.scpt Delete Bob Harris & Mark Lamarr shows. Add David Rodigan's reggae show. Jul 15, 2011
Sounds of the 60s Recording.scpt Account for apostrophe in show names. Use scripts in git repo. Nov 29, 2012
Sounds of the 60s URL.scpt Account for apostrophe in show names. Use scripts in git repo. Nov 29, 2012
Sounds of the 70s Recording.scpt Account for apostrophe in show names. Use scripts in git repo. Nov 29, 2012
Sounds of the 70s URL.scpt Account for apostrophe in show names. Use scripts in git repo. Nov 29, 2012
Trevor Nelson Soul Recording.scpt Account for apostrophe in show names. Use scripts in git repo. Nov 29, 2012
Trevor Nelson Soul URL.scpt Account for apostrophe in show names. Use scripts in git repo. Nov 29, 2012
at.png Add At the BBC to list of shows. Update installer. Dec 6, 2012
harris.png Make the PNG file paths more AppleScripty. Add Bob Harris shows. Mar 21, 2011
install.sh Name change for script that gets the URL for the latest episode. Add … Dec 29, 2012
jukebox.pict Add artwork to tracks after recording. Oct 3, 2009
jukebox.png Use PNG files for iTunes artwork. Mar 15, 2011
radio2-latest Name change for script that gets the URL for the latest episode. Add … Dec 29, 2012
radio2-rssitem Remove debugging code that printed twice. Jan 19, 2013
radio2-stream Get name of episode and add to tracklist. Copy scripts to ~/bin/. Dec 23, 2012
radio2-tracklist Handle dates in datetime format instead of as strings. Dec 25, 2012
radio2.py Add duration term to RSS item. May 7, 2014
reggae.png Add reggae show artwork. Jul 15, 2011
soul.pict Add artwork to tracks after recording. Oct 3, 2009
soul.png Use PNG files for iTunes artwork. Mar 15, 2011

README.md

Radio 2 recording utilities

A set of scripts and a library to assist in the recording of BBC Radio 2 shows. I use them in conjunction with Audio Hijack Pro to automatically record several shows.

The scripts are

  • Reggae URL.scpt, Sounds of the 60s URL.scpt, Sounds of the 70s URL.scpt, and Trevor Nelson Soul URL.scpt. These are AppleScripts called by the Input tab of Audio Hijack Pro to provide the URLs of the show streams. They're stored in ~/Library/Scripts/Applications/Audio Hijack Pro/.
  • Reggae Recording.scpt, Sounds of the 60s Recording.scpt, Sounds of the 70s Recording.scpt, and Trevor Nelson Soul Recording.scpt. These are AppleScripts called by the Recording tab of Audio Hijack Pro to add the tracklist, set some playback options, and import the recordings into iTunes. They're stored in ~/Library/Application\ Support/Audio Hijack Pro/Recording Scripts/`.
  • radio2-stream, a Python utility script called by the Input AppleScripts. It's installed in my ~/bin/ directory.
  • radio2-tracklist, a Python utility script called by the Recording AppleScripts. It's installed in my ~/bin/ directory.
  • install.sh, a shell script that installs the scripts and the library in their proper places. It should be run from within this directory.

The Python module is radio2.py, which defines a set of functions used by the utility scripts. It's installed in /Library/Python/2.6/site-packages/.

Usage

In their most common use, the scripts get the URLs and the track listings of the most recent episodes of the shows. The library has ways to get the show info for older episodes.

The install.sh script should be run after any revisions to the scripts. That will keep the copies that are actually run by Audio Hijack Pro in sync with the copies under version control. The script assumes the directory structure I use; anyone else using these scripts will have to mimic my directory structure or edit install.sh.

License

MIT.

The Recording AppleScripts are edited versions of a script written by Rogue Amoeba Software and distributed with Audio Hijack Pro.

Something went wrong with that request. Please try again.