[Pythonmac-SIG] Py(ObjC)- plugins for iTunes?

Bob Ippolito bob at redivi.com
Thu Apr 1 10:15:31 EST 2004


On Apr 1, 2004, at 10:09 AM, Dinu Gherman wrote:

> Bob Ippolito:
>
>> I assume you're talking about saving mp3 files while listening to 
>> internet radio.  I would simply do this with a proxy.  You connect to 
>> http://localhost:1234/recordstream?http://actual/host/ which forwards 
>> the given stream to iTunes and records it at the same time.  If you 
>> stop listening with iTunes it will stop recording (or use another 
>> control mechanism, if you don't like that).  Perhaps it would also 
>> automatically add the mp3 files to a particular playlist in your 
>> library or something as well, which can be done with apple events.
>
> As I said, I can save it already using Itamar's chopshop script:
> http://www.itamarst.org/software/chopshop.py (at least for Shout-
> cast), but I wanted to make that more "attractive" by calling it
> from iTunes, somehow, although such a plugin-ability might be too
> much to expect, I don't know.

You can get information about the currently selected radio station 
using apple events.. you can have an application respond to a hotkey 
that instead plays that station through your saving-stuff-software 
(also using apple events)?

-bob




More information about the Pythonmac-SIG mailing list