Anyone have any XOJO snippets to read/write info to the iTunes Music Database???
I have hundreds of situations where somehow iTunes thinks I have X number of albums that each have 1 song indicated… when in reality it is ONE album with X songs… Somehow iTunes assigned a new ID to each album/song combo [this is only a a small percentage of my records… but it needs cleanup]
So what I need to do is pick ONE AlbumID for a unique AlbumNAME, and update all the appropriate records
I don’t have an answer to your question but for iTunes Videos and Movies, I do everything with AppleScript.
And (although it’s a lot of trial and error to get it working) I find it quite powerful.
In iTunes, Get Info on the track, enter the artist and album, click OK, wait a bit and the track will move. Cumbersome but it’s what I’ve always used, however hundreds of tracks is really cumbersome.
Applescript can rewrite these fields. Here’s a simple AppleScript that doesn’t do what you want but shows setting those fields https://gist.github.com/aurora/793108
Dougs AppleScripts has one to append text to a specified field of all selected tracks. If your tracks are single because those fields are empty this should work. Doug doesn’t share source though. http://dougscripts.com/itunes/scripts/ss.php?sp=appendtoselectedtag
Search his site and he may have a better AppleScript for your situation.
[quote=267516:@Will Shank]Applescript can rewrite these fields. Here’s a simple AppleScript that doesn’t do what you want but shows setting those fields https://gist.github.com/aurora/793108 [/quote]
Beaten to it We used to use Apple Script to communicate with iTunes.