iTunesBridged

Notifications in iTunesBridged

HAS commented that I could track changes to the player state of iTunes using NSDistributedNotificationCenter.

I've gone ahead and made changes to the iTunesBriged code to show how to do that. Now, whenever iTunes changes state, whether it's via the iTunesBridged application or by directly manipulating iTunes, the title of the Play/Pause button changes and the current track name is listed in the text box.

As mentioned in that comment, Notification Watcher is a great app for observing distributed notifications. It made it really easy to figure out what iTunes was sending and what data was in the userInfo.

Thanks for the comment, and the idea!

Get iTunesBridged source downloads, which can be cloned with Mercurial or downloaded as a tarball.

A little bit of PyObjC

Well, Jason gave me a bit of a challenge on his Twitter, and so that got me to doing something I'd meant to do for a while.

I've wanted to mess around with the new Python bindings, and so I booted up Leopard and settled in with XCode. My goal was to duplicate a demonstration of Scripting Bridge that Wolf had done at PSIG, except in Python.

Syndicate content