How to remove duplicate entries in iTunes

6

For some reason, songs in my itunes library are listed twice. Note: It is the exact same song just referenced twice, so removing one of the songs will keep one reference in the library but delete the song efficiently making the remaining song just a dead link.

this is similar to other superuser questions but not exactly.

Makach

Posted 2010-08-19T21:02:06.123

Reputation: 498

Answers

2

Might want to use this project to remove the duplicate files. Note the zip file contains the sources as well as binaries, the binaries are in iTunesCOMSample\iTunesCOMSample\bin\Release\ folder.

Sathyajith Bhat

Posted 2010-08-19T21:02:06.123

Reputation: 58 436

1dang this is gone now... – Damon – 2015-02-05T03:14:35.647

I will try a variation on this, it's the closest answer i s'pose :) – Makach – 2010-09-06T12:54:14.257

4

Open iTunes and click on "View" and "Show Duplicates."

More /additional info:

Nifle

Posted 2010-08-19T21:02:06.123

Reputation: 31 337

1bottom 2 links are the same ;) – John T – 2010-08-19T22:09:28.600

1@johnt Thanks! Edited. Talking about duplicates ;) – BloodPhilia – 2010-08-19T22:28:07.087

1When you find the duplicates and go to delete one of them, you'll get a choice between "Move to recycle bin" or "Keep file." Make sure you click keep file so the other reference will be unaffected. – David A. – 2010-08-20T01:12:54.440

@mvdavid7 if you select keep file, the double entry is kept (nothing happens in iTunes) – Makach – 2010-08-21T11:58:10.270

this doesn't work and is not related to my question. – Makach – 2010-08-21T11:59:55.693

2

  1. In the menu bar, go to File > Library > Organize Library...

  2. Check both Consolidate files and Upgrade to iTunes Media organization. alt text

  3. Give your computer some time to process this, depending on how many items you have in your library.

  4. It should now be solved. You're done.

Hope it works for you!

jsejcksn

Posted 2010-08-19T21:02:06.123

Reputation: 2 854

@Makach I'm just curious: what, if anything, happened when you tried this? – jsejcksn – 2010-09-07T02:50:27.940

2

Press the Alt or Option key (for Mac OS X), or Shift (for Windows) -> View -> Show Exact Duplicate Items to display 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 trash...
http://www.iphone-mac.com/find-delete-duplicate-items-in-itunes-library.html

coolisonkeny

Posted 2010-08-19T21:02:06.123

Reputation: 21

1

This is a slight variation on KronoS above but I might suggest the following as a last resort:

This is assuming that you have previously allowed iTunes to organize your Music such that you have a well formed iTunes music tree (i.e. on a Mac, ~/Music/iTunes/...).

Go into ~/Music/iTunes and delete the following files:

  • iTunes Music Library.xml
  • iTunes Library Genius.itdb
  • iTunes Library Extras.itdb
  • iTunes Library
  • Any other very similar *.db or * Music Library * files in that directory which look to be backups.

At this point you should have got rid of all the extra linking which is causing all your problems.

Once this is complete - you can try the following:

  1. Start iTunes as normal.
  2. At this point the list of music in iTunes should be blank.
  3. Inside iTunes go File > Add to Library and select ~/Music/iTunes/iTunes Media/

This should reimport all your music with only a single entry per file.

WARNING: This method will kill off all your podcast subscriptions, playlists and possibly album art and should only be used as a last resort.

dtlussier

Posted 2010-08-19T21:02:06.123

Reputation: 1 985

Well of course this will work but I don't want to lose my library... – Makach – 2010-09-01T07:01:03.373

0

Have you tried uninstalling and then reinstalling itunes? Also a selection of organize my itunes and then cancelling that operation may cause the duplicates to arise.

James Mertz

Posted 2010-08-19T21:02:06.123

Reputation: 24 787

0

Just use the native iTunes duplicate track remover.

You can also follow these instructions in order to remove your duplicate tracks from your iTunes library:

http://en.kioskea.net/faq/9226-how-to-remove-duplicate-tracks-in-itunes#add-artwork-and-tags-to-itunes-songs

Ruslan Ivanoff

Posted 2010-08-19T21:02:06.123

Reputation: 79