tags:

views:

130

answers:

1

Hello everyone,

I need to access the media folder location of itunes thats set in iTunes-Prferencces-Advanced through com.itunes.plist.

Please help me

Thanks

+1  A: 

The location of the media folder is stored under the key "alis:11345:Music Folder Location". The value stored under that key is a data blob containing the contents of an AliasHandle. For a Cocoa wrapper to deal with alias data, take a look at the open source BDAlias class. That will let you create an alias from the data blob, and then resolve the alias to find the underlying path to which it refers.

Brian Webster