I thought I was going to have to create an Opentalk client/server setup in order to do a remote query of iTunes, but it turns out that AppleScript can do that directly. Say I want to talk to iTunes locally - I start my script like this:
tell application "iTunes"
If I want to do it across my network?
tell application "iTunes" of machine "eppc://username:password@machine_name"
And that's it - I can then send normal requests. The only other thing I needed to do is turn remote apple events on in the "Sharing" pane of system preferences. And that's it!
Now Listening to: May it Be by Celtic Women from: Celtic Women