How could I create playlists for all of the albums in iTunes for which I have all of the songs? Assume that track number & track count metadata is accurate where specified, and don't worry about catching tracks which lack that metadata. I assume this will require AppleScript.
iTunes – Creating Playlists for Full Albums Using Applescript
applescriptitunes
Related Question
- How is genius info stored, and will editing a track’s info change this
- How to replace an MP3 or M4A in iTunes with a higher quality file, without having to re-do playlists containing the track
- How to view recently added songs in iTunes grouped by Album like the Songs view does
- ITunes/Applescript: get all tracks from (incomplete) album
- Applescript to update MP3 Spotlight tag from iTunes tag
- AppleScript – Get Track Number of Song from Multi-CD Album in iTunes
Best Answer
I realized this was a complicated enough question I ought to try to skin the cat myself. Here is one approach:
To try this out, just copy and paste the code block into AppleScript Editor and push Run. Do be aware there's no easy "undo" button - you'll have to just hold down the delete key if you want to ditch all the created playlists.
There's probably a faster algorithm (i.e. one that makes only a single pass through iTunes' library) but I couldn't figure how to work with two dimensional variables in AppleScript, which seems like a prerequisite.
A bonus side effect of this script is that it may surface ancient albums in your library you have moved on from and can safely delete :)