• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Querying & Altering iTunes Preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Querying & Altering iTunes Preferences


  • Subject: Querying & Altering iTunes Preferences
  • From: Joannou Ng <email@hidden>
  • Date: Wed, 9 Mar 2005 09:00:40 -0500

Hey folks,

My app needs to know both the iTunes Music folder location, as well as the boolean value of the "Copy files to iTunes Music folder when adding to library" preference. My first thought was to take a look at ~/Library/Preferences/com.apple.iTunes.plist. That didn't help. So, I looked at the iTunes AppleScript dictionary next. No help either.

Well, turns out no matter what you set your iTunes Music folder location to, iTunes will still reliably create these two files in ~/Music/iTunes/:
iTunes 4 Music Library
iTunes Music Library.xml


I could get the iTunes Music folder location from iTunes Music Library.xml. But, that still leaves me with the "Copy files to iTunes Music folder when adding to library" preference. Any ideas? Or am I not seeing something obvious?

Cheers, Joannou.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Querying & Altering iTunes Preferences
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: objective-c / cocoa efficiency
  • Next by Date: NSBezierPath compositing
  • Previous by thread: [ANN] PostgreSQL for Mac Project
  • Next by thread: Re: Querying & Altering iTunes Preferences
  • Index(es):
    • Date
    • Thread