Show Entire Library Workaround
For those of you iTunes 7.1 users who are dismayed by the inability to display the entire library (as noted in this post) here's a workaround. Create a Smart Playlist whose only criteria is "Size is greater than 0" and click on Live updating. Name this new SP something obvious like "Everything" or "Full Library" or what have you. Then create a script like this, substituting the name of your SP where appropriate:
tell application "iTunes" set view of front browser window to playlist "Everything" end tell
![]()
Save it to your iTunes Scripts folder and give it a shortcut so you can easily display the SP when necessary. Thanks to Correspondent George Dick for the idea.
VoiceOver Accessible
From the comments at Chris Breen's What's new in iTunes 7.1 at Playlist:
One feature that undoubtedly escape[d] most peoples['] notice is [the] fact that iTunes is now accessible with VoiceOver. This is a major step forward for sight impaired individuals. In the past VoiceOver could not access anything within iTunes. Now virtually everything in iTunes can be navigated and controlled with VoiceOver....Kudos go to Apple for getting iTunes accessible.
No More View library playlist 1
Correspondent George Dick reports--and I have verified--that you can no longer display library playlist 1, that is, the entire iTunes library, with a script such as this:
tell application "iTunes" set view of front browser window to library playlist 1 end tell
![]()
Bummer.
NEW: Selected Tracks Played or Unplayed
Another new AppleScript track property in iTunes 7.1 is unplayed. This item does not appear in the GUI (not even in Smart Playlist criteria!?) but is accessible in the XML file, so I suspect this is something AppleTV may want to know about. In any case, you can set a selection of tracks as unplayed or played by setting the unplayed property to true or false, respectively. And that's what Selected Tracks Played or Unplayed does for a selection of tracks. Need I add for iTunes 7.1 or better only?
UPDATE: it appears the unplayed property may be specific to podcasts. However, the script will work with any track.
MORE UPDATE: do my TV Shows now have a blue dot on the far left indicating their played status?
NEW: Batch Set Tracks Sorting Tags
I don't know who doped my corn flakes yesterday, but after iTunes 7.1 came out I'd swear the dictionary didn't show the new sorting tags. Well, things have gotten back to normal here and I've got Batch Set Tracks Sorting Tags for you. This script will allow you to batch-set the new sorting tags ("Sort Name", "Sort Artist", "Sort Album Artist", "Sort Album", "Sort Composer", "Sort Show") of the selected tracks, rather than manually doing so one track at a time.
Apply Sort Field
iTunes 7.1 adds a "Apply Sort Field" submenu in the track contextual menu (Control-click a track). What's that about?
iTunes 7.1 Released
Apple has released iTunes 7.1, available from your Software Update or as a stand-alone installer from the iTunes download page. This is a major update (7.0.2 to 7.1) which probably accommodates Apple TV; we shall see if any AppleScript enhancements ensue. More to come...
UPDATED: Join Together v5.1.1
Join Together has been updated to version 5.1.1. This AppleScript Studio application will enable you to join the files of selected iTunes tracks together with QuickTime and export them as a single AAC file/track. Optionally, with Apple's ChapterTool application installed, you can then create a "chapterized" audio file of the exported AAC file with pointers to the individually joined tracks.
This is a minor fix release that fixes an error that occurred at startup when attempting to generate a Genre names list from the XML file of a loaded multiple library ("Can?t get items 1 thru -2 of {??}. (-1728)") and prohibits auto-selection of every track in the "Music" or "Audiobooks" playlist when no specific tracks have been selected.
More About Multiple Libraries
As I pointed out in the post about updating Tracks Without Artwork to Playlist, when using a loaded multiple library the current iTunes Music Library.XML file will be the one associated with the loaded library and not necessarily the XML file located in ~/Music/iTunes/. Several scripts which need to access the current library's XML file do not account for this--just one of those things I neglected to think about when iTunes 7 introduced the multiple libraries feature. I will be updating those scripts in the coming days.
UPDATED: Tracks Without Artwork to Playlist v2.1
I was wondering why some people were still getting false positives when using Tracks Without Artwork to Playlist. Then it dawned on me that if a multiple library was loaded, the wrong iTunes Music Library.XML file was being checked! This new version corrects that problem.