For macOS 10.10 and later only. This script will remove any number of extra space characters at the beginning and ending of chosen tags (Name, Artist, Album Artist, Album, Composer, Genre, Grouping, Movement, Work and Show) in the selected tracks.
Select some tracks and launch the script. Checkmarked tags are remembered between launches.
Perhaps Also of Interest...
downloaded 23m 54s ago
Change selected tracks' Start Time or Stop Time by user-entered seconds
downloaded 35m 40s ago
Move selected playlists to a new or existing folder
downloaded 41m 10s ago
Re-locate files of selected tracks to new folder, preserve track meta-data
downloaded 51m 4s ago
Copy files of tracks to selected folder
downloaded 54m 49s ago
Exports and then re-imports selected tracks' artwork
downloaded 1h 11m 46s ago
Remove iTunes tracks disassociated from files