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 directly, but the prefs are stored in a data field, and I’ve no idea how to deal with the hex code.

Any ideas?



the database path(s) are stored in,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.