For macOS 10.10 and later only. This script applet will go through the iTunes library and sort each track into a new discrete playlist named for the drive on which each track's file is located.
New playlists will be named something like "--> Files_on_volume Local drive", "--> Files_on_volume MyBook2TB", and so on.
Perhaps Also of Interest...
downloaded 11m 45s ago
Set choice of various number tags of selected tracks incrementally
downloaded 17m 50s ago
Remove iTunes tracks disassociated from files
downloaded 25m 4s ago
Applet assists with swapping, copying, appending data between track tags
downloaded 41m 47s ago
Export artwork of selected tracks to parent or specified folder
downloaded 43m 38s ago
Finds and displays any empty folders in the iTunes Media folder
downloaded 47m 34s ago
Edit artist/composer-related tags text for sorting purposes