Mikuro
Crotchety UI Nitpicker
What's the best way with Cocoa to display the current track from iTunes? I know there are a lot of apps that do this, but I'm not sure how they go about it.
I know I could use AppleScript or raw AppleEvents, and I don't need help with this. The problem with AppleScript is that it necessitates a lot of "pushiness" on the part of my app. I don't want my app to have to constantly pester iTunes every second or two to see if the track has changed.
Is there some way get iTunes to tell me whenever the track changes, using some kind of notification scheme?
I know I could use AppleScript or raw AppleEvents, and I don't need help with this. The problem with AppleScript is that it necessitates a lot of "pushiness" on the part of my app. I don't want my app to have to constantly pester iTunes every second or two to see if the track has changed.
Is there some way get iTunes to tell me whenever the track changes, using some kind of notification scheme?