How to write song tags with iTunes and Scripting Bridge

2011-09-06 Thread David Dengg
Hello list, I have all the songs from iTunes as iTunesFileTracks (via Scripting Bridge). I want to write new tag information back into the tracks. I can do "song.name = newSongTitle;" and that works most of the time. Sometimes it fails. Sometimes it writes "msng" into the name (which is a catat

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

2011-08-25 Thread David Dengg
m 08:22 schrieb Jens Alfke: > > 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 &g

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

2011-08-24 Thread David Dengg
Hello list, 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