AE for iTunes [Was: Re: [Pythonmac-SIG] Py(ObjC)- plugins for iTunes? ]

Scott Frankel leknarf at pacbell.net
Thu Apr 1 13:01:37 EST 2004


Where can I get more information about AppleEvents for iTunes?  I would 
like
to be able to use python scripts to create playlists programmatically.

Thanks
Scott


On Apr 1, 2004, at 7:01 AM, Bob Ippolito wrote:

> On Apr 1, 2004, at 6:10 AM, Dinu Gherman wrote:
>
>> very briefly: can it be done, writing an iTunes plugin? I'd assume
>> it might be possible with AppleScript, maybe... but, well, that's
>> not what we want. In fact, there's a neat way of using Twisted to
>> split streams from at least Shoutcast servers into pretty clean
>> local MP3 files and I wonder how to tie this directly into iTunes?
>
> iTunes is a Carbon application, so mucking about with iTunes beyond 
> the published plugin API and apple events is *really hard*, especially 
> because (at least with the newest gdb and iTunes combination) gdb 
> and/or iTunes crashes when you try and debug it.  This is presumably 
> to "protect" their already reverse engineered DRM algorithms.
>
> 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.
>
> -bob
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>




More information about the Pythonmac-SIG mailing list