• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. AppleScript for iTunes > 74. Clean up “Artist - Song Name"-Style Titles

Clean up “Artist - Song Name"-Style Titles

Split song names of the form “The Beatles - Can’t Buy Me Love” into separate artist and song names.

Sometimes, you’ll encounter a Song Name in iTunes that incorporates the Artist as well as the Song Name of the track, typically like this: “The Beatles - Can’t Buy Me Love.” I don’t care too much for this arrangement, but I ran into it so often that I wrote a script that removes the Artist portion to the track’s artisttag and fixes what’s left in the nametag.

The Code

This script acts on the selected tracks. If their Song Names contain a hyphen flanked by a space on either side ( - ), the script splits the text on either side of the those three characters, placing the first part in the artisttag and the second part in the nametag:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint