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

Jens Miltner jum at mac.com
Thu Apr 1 13:43:46 EST 2004


Am 01.04.2004 um 20:01 schrieb Scott Frankel:

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

Take a look at iTunes' scripting dictionary (e.g. drop it onto Script 
Editor). The AE interface is published there...

>
> 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
>>
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
</jum>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2351 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20040401/f5d56796/smime.bin


More information about the Pythonmac-SIG mailing list