I'm a total script kiddie when it comes to cocoa so I was wondering if someone can shove me in the right direction regarding parsing the iTunes xml file for data on all the songs so that I can use them for something else?
mmmdreg said:hehe but how do I take those values out? =)
- (id)objectForKey:(NSString *)aString
- (id)objectAtIndex:(int)anIndex
mj_1903 said:NSDictionary
Location of the iTunes Music Library file is nearly always ~/Music/iTunes/iTunes Music Library.xml.
To load this:
[NSDictionary dictionaryWithContentsOfFile:[@"~/Music/iTunes/iTunes Music Library.xml" stringByExpandingTildeInPath]];
sicojola said:is there an easy way to do this using java instead of obj-c?