Search code examples
javacontrolsitunesplayback

How would i play a specific song in iTunes through java?


How would i play a specific song in iTunes through java?

I assume I need to somehow connect to iTunes and use the play function with a certain parameter....Can anyone point me in the right direction to learning how to do this?


Solution

  • According to that answer, there is no API. There is only an SDK (via COM) for Windows. In Mac OS, iTunes is controlled via AppleScript(example).