Hello gang, I noticed upon upgrading to iTunes 11, that iTunes has changed the manner in which it remembers the path to its library. This is a bummer, as I wrote myself a script to juggle my multiple iTunes Libraries, and it does''t work anymore.
In previous versions, iTunes stored its library location as an 'alias ref', in the iTunes plist, with the key 'alis:1:iTunes Library Location'. In the new version, iTunes 11, it stores the location with the key 'RDoc:132:Documents' using some format is a mystery to me. Is it using the 'bookmark data' format? I gather Apple has positioned 'bookmark data' as a replacement for old-style file aliases. I've had no success interpreting the data as 'bookmark data' so far. If it's 'bookmark data' I ought to be able to read it with a Python script using NSURL.URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_ but the result is always null. This makes me suspect it's not "bookmark data" after all. Does anyone here have any idea as to what the mystery format is? Thanks, Charles PS: I've posted a longer explanation here, too: http://stackoverflow.com/questions/19663069/how-to-switch-to-a-new-itunes-library-location-programmatically _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com