Le 12 janv. 09 à 05:27, Andrew Farmer a écrit :

On 11 Jan 09, at 13:43, Luca wrote:
I'd want to read the contents of the file iTunes stores in ~/Music/ iTunes/iTunes Library in my Cocoa Application.
How can i do?

You can't; the format isn't documented, and changes frequently. Use the XML version instead, or use Scripting Bridge to access iTunes.

On a related note, keep in mind that the user's iTunes library isn't guaranteed to be in ~/Music.

And even if it is in Music, the file name change from time to time (was "iTunes Music Library" in old iTunes version and may change again in futur version).



_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to