iTunes for windows

Alex Tweedly alex at tweedly.net
Sun Dec 11 17:35:31 EST 2005


Scott Rossi wrote:

>Recently, Thomas McGrath III wrote:
>  
>
>>I have a project that involves iTunes. I want to extract locally a
>>users playlists and song/podcast list from their computer and do some
>>things in Rev. I then want to put/import some content back into iTunes.
>>
>>I figure I can use Applescript on the Mac but I don't know about
>>iTunes for Windows. Is anyone familiar with doing things like this on
>>Windows?
>>    
>>
>
>  
>
I've done a little bit of iTunes control on Windows (see below).

>>What are the options available? On the extraction side can I use an
>>output from iTunes? Is there an XML file etc.?
>>
>>On the importing side is it acceptable to just ask the user to drop/
>>import a folder into iTunes from my output? Or is there a way to send
>>a command to iTunes to tell it to do the import?
>>
>>I am just starting this project and any and all help or input is
>>greatly appreciated.
>>    
>>
>
>As Sims suggested, you might be able to parse an XML file to get what you
>need.  If you're looking to *talk* to iTunes, you need to use COM, according
>to Apple.  An SDK is here:
>http://developer.apple.com/sdk/itunescomsdk.html
>
>If you build an external, please let me know.  I've been interested in this
>for months.
>
>  
>
If you use the COM SDK, you can (obviously) write an external in C/C++
Alternatively, you can access it through a scripting language which 
provides a COM interface, such as Javascript or (more interestingly, for 
me) Python; you could then build either a command line utility or 
socket-driven utility to provide Rev access to iTunes.

I'd be up for collaborating on a Python-based server combined with Rev 
library to interface to it.

-- 
Alex Tweedly       http://www.tweedly.net

-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/197 - Release Date: 09/12/2005


More information about the use-livecode mailing list