How can I remove duplicate tracks on iTunes?

Joyce Smith September 8, 2011
Pinterest Stumbleupon Whatsapp

In his article How to Easily Remove Duplicate Tracks on iTunes [Windows] How to Easily Remove Duplicate Tracks on iTunes [Windows] How to Easily Remove Duplicate Tracks on iTunes [Windows] Read More Jim Henderson writes “But first you need to check if you have duplicate items listed, but they are actually the same files. You can do this by sorting the tracks in name order (click on the Name column header), then right clicking one of the duplicates, and choosing Get Info.

If your two files are exactly the same he says deleting one will delete both. Almost all my duplicates fit this criteria. How do I get rid of one of them without deleting both?

Ads by Google

  1. D.S>
    January 25, 2012 at 3:13 pm

    var ITTrackKindFile = 1;
    var iTunesApp = WScript.CreateObject("iTunes.Application");
    var usedNames = new Array();
    var usedArtists = new Array();
    var deletedTracks = 0;
    var mainLibrary = iTunesApp.LibraryPlaylist;
    var tracks = mainLibrary.Tracks;
    var numTracks = tracks.Count;
    var i;
    var j;
    var currTrackName;
    var found = 0;
     
    while (numTracks != 0)
    {
        var currTrack = tracks.Item(numTracks);
     
        // is this a file track?
        if (currTrack.Kind == ITTrackKindFile)
        {
            found = 0;
            currTrackName = currTrack.Name;
     currTrackArtist = currTrack.Artist;
            for (j = 0; j 0)
    {
        if (deletedTracks == 1)
        {
            WScript.Echo("Removed 1 duplicate track.");
        }
        else
        {
            WScript.Echo("Removed " + deletedTracks + " duplicate tracks.");
        }
    }
    else
    {
        WScript.Echo("No duplicate tracks were found.");
    }

  2. Anonymous
    September 9, 2011 at 3:40 pm

    Make a new smart playlist based on the date you duplicated tracks like songs added before(add date) and songs added after( add date). Change genre of all songs in new smart playlist to something you'll not use elsewhere like dupes. Do search in iTunes browser for songs with 'dupes' genre then highlight and delete all songs.

    ideduper
    http://www.ideduper.com/

    meDelDupeFile
    http://mdecks.com/mdeldupform.php

    Organize iTune
    http://www.organize-itunes.com/

    Rinse
    http://eu.rinsemymusic.com/

  3. Mike
    September 9, 2011 at 12:12 am

    Without reading through the entire article you linked I don't think it is much of a problem.
    Being "exactly the same" refers to multiple entries pointing to the very same file in the very same location. Even if that is the case iTunes usually prompts you whether you want to delete the file entirely or only remove it from the Library.

    If you chose the latter the file will still be in place and the remaining Library entry should work without problems.

  4. Mulder
    September 8, 2011 at 9:17 pm

    Try this Apple Support document for help: https://support.apple.com/kb/ht2905