On Mon, Jul 27, 2009 at 7:46 PM, I. Savant<[email protected]> wrote: > On Jul 27, 2009, at 1:38 PM, Brad Gibbs wrote: > >> I've looked through the docs and Googled, but may not be looking for the >> right terms. >> >> Are there change notifications for the iTunes database? I'd like to have >> an iTunes client on a different machine on the local network be notified of >> changes, rather than having to poll and reload the database regularly. > > Short answer: No. >
Short answer: YES. A distributed notification is posted every time the the database is updated. Add an observer for notifications named "com.apple.iTunes.sourceSaved" posted by object "com.apple.iTunes.sources". Good luck. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
