OS X 10.8 or later. Assists with segregating iTunes Match tracks that appear to get cut-off when played (due to a possible bug, described here). Then these truncated tracks can be deleted and re-downloaded intact (by you, not the script).
Perhaps Also of Interest...
downloaded 17m 29s ago
Export selected playlists as individual XML or M3U files
downloaded 30m 16s ago
Copy chosen tag info from one set of tracks to a different set of tracks
downloaded 50m 21s ago
Batch-change the Album Rating for the albums of selected tracks
downloaded 1h 1m 40s ago
View/Edit tags of selected track(s) in single window
downloaded 1h 15m 41s ago
Perform two-pass search for tracks in selected playlist
downloaded 1h 23m 3s ago
Exports and then re-imports selected tracks' artwork