5 AppleScripts To Whip Your DJ Library Into Shape

Ready to clean up your DJ music library using the automation power of AppleScripts? Every DJ comes up with their own workflow of taking freshly downloaded tracks and making them a useful part of their DJ library. In the age of digital DJing, where the only limits are hard drive space on your computer or flash drive, finding a quick and effective workflow for organizing your music is crucial.

What are AppleScripts and why are they useful for DJs?

Technically, AppleScript is:

“a scripting language developed by Apple to help people automate their work processes on the Mac operating system.”

AppleScript lets users condense tasks that may take multiple steps into just a few clicks. For DJs, having correct and clean ID3 tags can be the difference between finding the perfect track in the heat of a set or forgetting it ever existed. AppleScripts used in conjunction with iTunes can be used as powerful tools to streamline this process.

5 Useful Scripts for DJs

The install screen of the Find Album Artwork script (most of them will look similar)

Here’s our selections of a few AppleScripts that DJs could easily find useful:

  • Find Album Artwork With Google: Uses a Google Image Search based on the album title to try to find artwork. DJs will find this useful if they often use songs from promo releases, record pools, vinyl rips, or any other source that doesn’t have the album artwork included. When you start associating a certain image with specific dance floor fillers (like on CDJs, where the album artwork shows up in browse view by default), this will come in handy.
  • Search-Replace Tag Text: Allows you to search for certain strings of text throughout selected tracks in your library and replace them. Can be useful for replacing words in tags like “feat.” with “featuring”.

  • Append To Selected Tag: This is the one I find myself using the most. Allows you to add text to multiple tags such as the comments without completely deleting/replacing what tags you may already have there.

Many of the AppleScripts for iTunes have actually been incorporated into complete standalone applications that interact with iTunes, including:

  • Dupin – looks for duplicates in a libary and helps to quickly remove them
  • Join Together – merges multiple audio files into one
  • TrackSift 2 – Merges playlists, deletes “dead” tracks, etc

How To Install An Applescript

Once you have a script that you’ll make use of, installing one for iTunes is an easy process:

  • Download the scripts you would like to install
  • Unzip files
  • Move contents of zip files to the following folder: [username]/Library/iTunes/Scripts
  • “Library” may be hidden. To find it, open Finder, click on the “Go” menu”, hold down “option”, select “Library”
  • If there is no “Scripts” folder, create one
  • Open iTunes and find a new AppleScripts menu at the top where you can run them

Learn More + PC Alternatives

For working DJs, an organized music library should be at the top of your priority list. Any tool that can be added (especially free or very cheap) to save time on this organizational process is worth consideration. Even if you don’t use iTunes integration with your DJ software, using it as a standalone organization tool can be powerful. Once your library is organized the way you like it, you can throw it into any DJ software without having to use iTunes as your media player.

Have any additional tips for automating your digital DJ library organization?
Share in the comments section below.

applescriptautomationdj libraryid3 tagslibrarysorting
Comments (12)
Add Comment
  • Ankur Kedia

    Have an idea, I like to play music in key & have all my tracks renamed with the appropriate key in the comments section on Itunes. I’m looking for a script where say for example I type 7A in the search box, the results should display all tracks within 6A, 7A, 7B & 8A range. I’m a lil confused, Is this possible using an applescript ?

  • AppleScripts Helps You Become A Better DJ | MMP BLog

    […] You can set AppleScripts up to add comments to existing tags, copy, switch or combine tags, move the BPM information around, and lots more. Check out the details of how you can use it to maximize your DJ time here. […]

  • SPARK972

    I don’t understand why having the artwork into Itunes is so usefull as the itunes covers cannot be read by other (dj) softwares… :/

    I’m using Itunes to manage my collection with Beatunes and I’m very satisfied with my tags consistency. (syntax, orphans, duplicates, albums…).
    Relaying on a 3rd party software is not free (really cheap imo) but worth it over scripts with limited controls.

  • killmedj

    “Refresh Selected Tags” is great if Metadata isn’t updated after using MIK

  • CUSP

    Oh my goodness this is a dangerous thing to do if you don’t know for 100% certain what you are doing. Do yourself a favor and have a complete backup of your files before doing this to your music library. I used a program to “clean up” my library back in 2006 and it “corrected” tags to be unintelligible. Fortunately I still had most of my music on CD back then, but this could have been catastrophic. I back up my library in at least 3 places now (which is good because I had one of those backups fail about 6 months ago).

    I wish there was a program like MP3Tag for the Mac (I find iTunes to be very awkward and unusable). Something you had control over for macro edits.

  • S. Doherty

    Doug’s scripts are essential to my Library organization… highly worth the prices he asks.