Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Duplicate songs in iTunes

I have duplicate songs in iTunes, but when I delete one the second one is deleted as well. Any suggestions would be appreciated.

Windows XP Pro

Posted on Apr 21, 2013 1:14 PM

Reply
17 replies

Apr 21, 2013 4:02 PM in response to -Chef Jeff-

If you have a Mac, select one of the songs that is duplicated and at the iTunes menu bar go to File and select Show in Finder. Repeat for the duplicate.


If iTunes cannot find the remaining song after one is deleted, the remaining song must not be in your iTunes media folder - the remaining song must be stored elsewhere on your computer's hard drive. You can also use Get Info with a song selected and under the Summary tab for the selected song, it will show where on your computer's hard drive the song is stored.


Were all duplicates downloaded from the iTunes Store?


If not, at iTunes > Preferences > Advanced, do you have Copy files to iTunes Media folder when adding to library selected?

Apr 21, 2013 5:19 PM in response to -Chef Jeff-

Then you should be able to locate the separate files where they are shown to be stored on your computer's hard drive. Can you locate both files on your computer's hard drive for a duplicate?


Does your answer mean both versions were not downloaded from the iTunes Store?


If downloaded from the iTunes Store, you can delete both and redownload the purchased music without having to pay for it again.


Does the same occur regardless which version for a duplicate is deleted? Trying to delete one and the remaining version cannot be found by iTunes, restoring the first one and trying to delete the 2nd next to see if the remaining version can be found by iTunes?

Apr 21, 2013 6:23 PM in response to -Chef Jeff-

Use Shift > View > Show Exact Duplicate Items as this is normally a more useful selection. You need to manually select all but one of each group to remove. If you have multiple references to the same files then don't send to the recycle bin. Use my DeDuper script if you don't want to do it by hand. See this thread for background and please take note of the warning to backup your library before deduping.


(If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)


tt2

Nov 30, 2013 12:15 PM in response to PaNolin

You have a problem with the Windows Scripting Host. Use Google to search for the precise error message. It may require that you reregister the scripting engine.


FWIW iTunes. Windows Media Player, Winamp, MediaMonkey et al are all capable of importing duplicates into the library if you go about things in the wrong way for that software. If you only add what isn't already in the library you won't have a problem.


tt2

Dec 1, 2013 10:03 AM in response to -Chef Jeff-

Ok so How do I make sure it does not keep happening? Do I need to set something in iTunes? Creat a special directory? I think the problem may come from the fact that there are several users on this PC with music files that duplicate parts of the other files. Should I consolidate and delete the other "my music files" first before trying to eliminate the dupicates in iTunes? I can then clear my iPod and start all over. Kind of pain but easier than having most of my ablums with duplicates of every song. I am just surpised Apple has not expected this and given some guidance in iTunes set up to avoid the problem.

Dec 1, 2013 1:15 PM in response to PaNolin

Multiple users adds extra problems, particularly if using a common media folder but separate libraries, as changes one user makse can impact another.


There is an option under Edit > Preferences > Advanced labelled Copy files to the iTunes Media folder when adding to library... If this option is enabled, and you add a folder of files stored outside of the media folder to the library, iTunes will make copies of all the files and forget about the originals. If you add some more files to that folder and then add it to the library again you are effectively instucting iTunes to add duplicates to the library.


I find it best to place files I want to add to iTunes into the media folder, then add just those files to iTunes, or use <Media Folder>\Automatically Add to iTunes which lets iTunes add them, and move them as it wishes.


If you consolidate your iTunes library at least you know that everything in your library is stored in the right place and deduping won't affect the other libraries. You can then clean up any media files stored in your profile, but outside your iTunes Media folder, unless they are still shared with others.


tt2

Feb 25, 2014 12:30 PM in response to michaelaPHL

Enable the status bar with CTRL+S and the count of tracks displayed will be shown at the bottom of the screen. There should also be useful numbers in the summary dialog when the script completes a run. If it says something like 3000 tracks were processed of which 1500 were missing that would explain why nothing was deleted. See this recent post for more information.


tt2

Duplicate songs in iTunes

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