Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is documentation for the iTunes API on OS X?

Tags:

macos

itunes

I'm trying to find an API to control iTunes on OS X. I found the following:

http://developer.apple.com/sdk/itunescomsdk.html

I imagine on OS X, what I need is built in, but I have no idea where the API is documented?

Thanks in advance for any help.

like image 324
Bill Avatar asked Mar 20 '09 04:03

Bill


2 Answers

If you are using Cocoa then I would recommend the (non-apple) framework EyeTunes.

Applescript may be your best bet though, either through calling a script directly or the ScriptingBridge framework available for Ruby, Python, and Objective C.

For the documentation, look at iTunes script dictionary (drag the iTunes icon onto the Script Editor icon).

like image 151
cobbal Avatar answered Oct 23 '22 05:10

cobbal


AFAIK, There is only an SDK (via COM) for Windows.

In Mac OS, iTunes is controlled via AppleScript.

There are quite a few tutorials running around, but I'm not familiar with anything official. In fact, last time I looked, they gave links to third-parties.

e.g., Tutorial

like image 34
Uri Avatar answered Oct 23 '22 06:10

Uri