• 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
"iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:


  • Subject: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
  • From: George Toledo <email@hidden>
  • Date: Thu, 25 Aug 2011 20:19:27 -0400

>
>
> >> Maybe the file is corrupt. In most cases it can be solved by deleting
> the XML file and then making a slight change in iTunes (e.g. rename a song).
> The file is then written again soon and should be fine.
> >
> > Yeah, it’s a strange problem because this file gets rewritten from
> scratch all the time — not just every time you alter anything in your iTunes
> library, but even after playing songs (because the file includes
> play-counts.) So even if it got corrupted somehow, it would be replaced
> quite soon thereafter, if the user is actually using iTunes.
> Yes. I already had customers were only deleting the XML file solved the
> problem. Maybe the file was locked or write-protected in the damaged stage,
> so it could not be overwritten by iTunes.
> Regards,
> Mani
> --
> http://mani.de - friendly software


This is a bit indirectly related, but I've noticed in a program of mine that
if iTunes is loading new media, and, for whatever reason has a problem
converting all of what it should be importing and crashes or locks, that
many times, the very next time iTunes is opened that iTunes will give a
message that the library is locked. Opening it a second time usually solves
the problem. In this instance, it's not a problem with my code, merely
iTunes not being able to handle being loaded with a large amount of media
files, that are to be stored on a hard drive over wi-fi (I've reproduced it
multiple ways).
--
George Toledo
email@hidden
www.georgetoledo.com
_______________________________________________

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

  • Prev by Date: Re: rightMouseDown: never called in NSView subclass
  • Next by Date: Re: Autoscrolling when dragging?
  • Previous by thread: Re: "iTunes Music Library.xml" won't load with dictionaryWithContentsOfFile:
  • Next by thread: Hiding the title bar and adding the default close/maximize/minimize buttons
  • Index(es):
    • Date
    • Thread