Re: Control iTunes from cocoa
Re: Control iTunes from cocoa
- Subject: Re: Control iTunes from cocoa
- From: Adam Leonard <email@hidden>
- Date: Mon, 16 Jan 2006 17:27:07 -0800
To get iTunes to play specific songs, you need to use applescript.
See the iTunes applescript dictionary
If you want to get a list of playlists, you can also use applescript,
although if you don't want to require that iTunes be open, you can
read the music library file located at ~/Music/iTunes/iTunes Music
Library.xml
Search the archives to find some example code
Adam Leonard
On Jan 16, 2006, at 5:05 PM, Adam Johnson wrote:
What is the easiest way to control iTunes from code (i.e. play, get
a list of playlists, etc)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden