• 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
Re: Resolving a file reference from the iTunes plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resolving a file reference from the iTunes plist


  • Subject: Re: Resolving a file reference from the iTunes plist
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 08 Nov 2013 12:38:50 -0800

On Nov 2, 2013, at 10:39 AM, Charles Constant <email@hidden> wrote:

> In previous versions, iTunes stored its library location as an 'alias ref',
> in the iTunes plist, with the key 'alis:1:iTunes Library Location'. In the
> new version, iTunes 11, it stores the location with the key
> 'RDoc:132:Documents' using some format is a mystery to me.

Are you looking for the library folder or the media folder? The library is found by looking in the prefs/defaults domain “com.apple.iApps” for a key “iTunesRecentDatabases” whose value is an array of URLs; the first URL points to the current XML database file, and the parent directory is the library directory.

This is independent of the location of the media folder, i.e. where all the audio files go. I’m not sure how you find that (although of course the XML file points to the full URLs of all the audio files, so generally you don’t need to know.)

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Resolving a file reference from the iTunes plist
      • From: Charles Constant <email@hidden>
References: 
 >Resolving a file reference from the iTunes plist (From: Charles Constant <email@hidden>)

  • Prev by Date: Re: Getting mouse clicks when the main loop is busy
  • Next by Date: CGAffineTransformScale does not send it's scale when using UIDynamicAnimator
  • Previous by thread: Resolving a file reference from the iTunes plist
  • Next by thread: Re: Resolving a file reference from the iTunes plist
  • Index(es):
    • Date
    • Thread