iTunes Duplicate management

In the limited remedial duplicate finder in iTunes there is no sensible way to manage duplicates. Unlike Jriver iTunes doesn't show you which playlist the songs are in so that when you eliminate duplicates you don’t find out that the song is missing from a playlist until you try to play it. Then there is no navigation to point to where the one remaining valid one is. In the ******** world of apple when you try to play a song, they give you two options. One it plays and 2 it doesn’t. When it doesn’t you have 2 options; two buttons…one says it can’t find the song and the other is locate button where you manually have to search the entire library for the song and re-add it.

I believe Apple wrote the code while 40 meters under water just as the diving tank was running out of oxygen.

Posted on Sep 21, 2018 7:44 AM

Reply
12 replies

Sep 21, 2018 7:49 AM in response to steventrebor

iTunes may create duplicates if the same content is repeatedly added from outside the media folder when it is set to make copies of anything that is added to the library, or is added from an external drive that hosts the media folder that was offline when iTunes was launched.



Apple's official advice on duplicates is here: Find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls such as lost ratings and playlist membership, or that sometimes the same file can be represented by multiple entries in the library and that deleting one and recycling the file will break any others.


Start in the Songs view. Use View > Show Duplicate Items (pre iTunes 12.4) or File > Library > Show Duplicate Items (post 12.4) and then click Same Album to display exact duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.


Use my DeDuper script (Windows only) if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background on the script, this post for detailed instructions, and please take note of the warning to backup your library before deduping.

The most recent version of the script can tidy dead links as long as there is at least one live duplicate to merge stats and playlist membership to, and should cope sensibly when the same file has been added via multiple paths.



Mac users can see Dupin or Dupin Lite at Doug's AppleScripts for iTunes.



tt2

Sep 21, 2018 8:02 AM in response to turingtest2

A very convoluted answer to a very simple problem. I have been in music management for over 60 years of my life. Before trying to explain something, you probably need to see how a professional music management software JRiver allows you to display a list of 'playlists' that each song is attached to, then try to tell me that your gibberish leads to anything worthwhile of even doable on a sensible level

Sep 21, 2018 8:40 AM in response to steventrebor

If you want to see which playlists a particular track in iTunes is in then hover over Show in Playlist in the context menu.


If you use iTunes on Windows, and have ended up with duplicates in your library, I've written a tool that you can download for free that will help you clean up duplicates without having to manually check which playlist each track is in to replace it. If you have two different copies of the same song in different playlists, that you've played a different number of times in each, then having used my script you would have one copy of that song, in both playlists, each showing the correct total number of plays. The highest rating and most recent play and skip counts and dates are also preserved. You can also control, for example, whether the script will keep the largest file, or a particular format. These are all things that serious people want when depuping that are not easily achieved by hand. I know it is doable because I have done it so you don't have to. I cannot speak for the details of Doug's AppleScripts for OS X. In case it isn't clear I'm a fellow user offering help and advice. Feel free to take it or leave it.


tt2

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iTunes Duplicate management

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.