JeffSay…

The station of choice for Chinquapin Parish.

I love Audio Hijack Pro

I use it to schedule and record an audio stream from Chicago Public Radio so that I can hear Morning Edition, All Things Considered, and Marketplace without having to actually be listening to it at the time.

Audio Hijack will, on a schedule, run an Applescript that plays an audio stream in iTunes. It will then add the resulting file to an iTunes playlist of my choice via a second Applescript file. It’s completely automated. Just set it and forget it.

The Applescripts are really, really simple.

The first, to play the audio stream:

tell application "iTunes"
play track "Chicago Public Radio" of playlist "Chicago Public Radio"
end tell

I could leave out the of playlist part, but I sometimes listen to the stream without Audio Hijack so I don’t want to sort through the entire music library to find it and searching is usually too logical for me to think of.

The second script that adds the result file to iTunes is a modification of one of the stock scripts that comes with Audio Hijack:

(* Audio Hijack Script *** (C) Copyright 2003-2004, Rogue Amoeba Software, LLC *)

on process(theArgs)
--Coerce args to be a list
if class of theArgs is not list then
set theArgs to {theArgs}
end if

--Into iTunes ye files shall go
tell application "iTunes"
repeat with theFile in theArgs
add theFile to playlist "AudioHijack Recordings"
end repeat
end tell

end process

All I did was add to playlist “AudioHijack Recordings”. It’s that simple.

Rogue Amoeba – Audio Hijack Pro: Record any audio on Mac OS X

Advertisements

Written by Jeff

Tuesday, August 14, 2007 at 10:23 pm

Posted in Audio, Internet, iTunes, Software

Tagged with

%d bloggers like this: