dougscripts.com

March 11 2009 - 8:56 pm

iTunes 8.1 Released

Apple Released iTunes 8.1 today (v8.0.2 was the previous version). Among the new features are its ability to handle larger libraries more speedily, iTunes Plus (256kbps AAC) importing via CD, and Genius playlists that will scour for video media.

I know of at least one AppleScript enhancement. A track's played date and skipped date properties can now be wiped by setting either to 0 (zero) or missing value. Before, you could never set these properties to anything but a date. While you could set played count and skipped count to 0, the only way to fudge the played or skipped date was to give it a date in the past, like date "January 1, 1970". Now, you can do this:

tell application "iTunes"
	set sel to selection
	repeat with aTrack in sel
		tell aTrack
			set played date to missing value
			set played count to 0
			-- and/or
			set skipped date to missing value
			set skipped count to 0
		end tell
	end repeat
end tell

I'll have a look for any other changes.

Site contents © 2001 - 2019 (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 interrupt the one doing it.