Setting iTunes Media Folder Location

I’m unable to find a away to set iTunes’ media folder location and other preferences (e.g., Keep Organized. and Copy Files.) programmatically.

I’ve explored altering com.apple.itunes.plist directly, but the prefs are stored in a data field, and I’ve no idea how to deal with the hex code.

Any ideas?

Thanks,
Bryan

Hi,

the database path(s) are stored in com.apple.iApps,plist, but I wouldn’t recommend to change it "manually’

Thanks for the advice, but a brute force approach has worked… I set the prefs I needed, did a before & after to determine which domains and key values were modified, and am successfully using defaults to manipulate the code without having to understand it in any detail.

It made for a clumsy programming experience, but it’s elegant enough in practice.