dougscripts.com

AppleScript Changes in iTunes 4.2

iTunes 4.2 was released on December 18, 2003, the same day that QuickTime 6.5 was released, and a day after the OS X 10.3.2 update was released.

 

Grouping

The track class has a new property called grouping. It's like of a spare track tag, which, technically is used to group several like-tracks (movements of a larger piece). I suppose it can also be used for a user's idiosyncratic grouping schemes. For instance, you may wish to sub-categorize featured performers, or combine several tags for sorting purposes. Visitors to the Classical section of the iTunes Music Store have probably noticed how tracks with the same grouping appear, er, grouped. Maybe iTunes will have this feature some day.

This script puts the name of the piece into in each selected track's grouping tag:

tell application "iTunes"
	if selection is not {} then
		set sel to selection
		repeat with aTrack in sel
			tell aTrack
				set grouping to "String Quartet No. 11 in F Minor"
			end tell
		end repeat
	end if
end tell

[upm] click to open in Script Editor (???)

The grouping tag is a part of the ID3 Tag spec (as "Content group description"). I'm not sure what other software/hardware players recognize it.

At this point, I am unaware of any other AppleScript enhancements or fixes.

Curious note: I noticed on my iDisk that the date for the iTunes 4.2 .dmg file is 8:23 PM, December 17, 2003. This is about twenty-four hours before the actual release on the iTunes download page.

Site contents © 2001 - 2024 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Privacy.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.
The one who says "it cannot be done" should not be interrupting the one who is doing it.