On Aug 25, 2011, at 10:37 PM, David Dengg wrote:
> I checked the file by hand and found one corrupt song. The "Name" and
> "Location" were just garbage strings. I deleted the entry and its fine now.
Oh, interesting — sounds like iTunes isn’t properly escaping some of the
characters in the nam
Thanks I tried that but NSPropertyListSerialization just says the same thing:
its a malformed plist.
I checked the file by hand and found one corrupt song. The "Name" and
"Location" were just garbage strings. I deleted the entry and its fine now.
I send the customer the file without the malforme
>> 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
> al
On Aug 25, 2011, at 2:18 PM, Manfred Schwind wrote:
> 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 beca
> one of my customers is reporting that my app does not find the "iTunes Music
> Library.xml" file. Its there and its filled with data. His iTunes runs fine.
> He send me the file and to my eyes it looks fine. The way i load it is with:
>
> NSDictionary * xmldict = [NSDictionary
> dictionaryWit
On Aug 24, 2011, at 4:02 AM, David Dengg wrote:
> NSDictionary * xmldict = [NSDictionary
> dictionaryWithContentsOfFile:libraryXML];
Try loading it using NSPropertyListSerialization, which will return an NSError
telling you what went wrong.
—Jens
smime.p7s
Description: S/MIME cryptographic s