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

how to delete duplicated songs all at one time?

I would like to get help deleting duplicated songs, I do not know how they got their in the first place.

Windows 7

Posted on Aug 28, 2011 10:29 AM

Reply
Question marked as Best reply

Posted on Apr 6, 2017 10:14 PM

Some how I got duplicates of my library on iTunes and to get rid of all the new duplicates I went to the library I looked for the date the new duplicate songs were added to the library then I went to columns and where you see Artist, song,

bit rate, time, etc and added 'date added' once that's done click on the box enclosing 'date added' and you will see all songs added by date. Proceed to the last one of the songs with that date press command to highlight it then scroll all the way to the first song and press 'shift' to highlight all of the songs added on that date then simply press delete.

you will be asked if you want to delete these songs...That's it.

483 replies

Mar 10, 2012 11:30 AM in response to turingtest2

turingtest2 wrote:


The script avoids the more complex problem of trying to detect and selectively remove what I earlier called type 3 duplicates, that is alternate recordings or rips at different bit rates of the same tune, principally because that is a much harder problem to automate, but also because "best track to keep" from a set of potential candidates will be a subjective matter.

Having given this matter some more thought I've now rewritten the script to take this last group of duplicates into account. I've decided that in most cases the largest type 3 or alternate duplicate will be the one that you want to keep, but I've made this part of the new script fully optional so that those who prefer to check their alternate versions more closely can stll make use of the script.


The latest version of DeDuper also adds a feature to preserve playlist membership, though not necessarily the precise position. If a "dupe" is removed from a given playlist the "original" is added to the playlist unless it is already a member of it.


tt2

Mar 13, 2012 12:53 PM in response to turingtest2

Hi tt2,

Thank you for you for your posted help so far. I had a problem error message thouhg pop[ up interrupting DeDuper. I got a message noting "error: file is unassociated"


I don't believe i've seen a fix for this otherwise, and this issue is preventing me from eliminating my duplicates with the benefits you designed into DeDuper.

Thanks,

Mar 14, 2012 10:18 AM in response to turingtest2

Hi tt2 and all,

no i don't appear to have broken files with elxclamation makes at least not in the info colums highlighted my itunes.


i got this repeat message trying the deduper today, and also this separate one too:

line: 415

Char: 5

Error: the track is not modifiable

code: A0040203

source: (null)


line: 1008

Char: 5

Error: object named "internetexporer.appplications".

code: 800704A6

source: WScript.createobject


thanks everyone, are these new issues or already debugged?

Mar 14, 2012 11:18 AM in response to PWWW

The error on line 415 is generated by iTunes and occurs if the SkippedDate value is updated. I can't see a good reason for iTunes to reject this call, even if the track in question were locked or currently playing since the data only goes in iTunes own database. Not ever seen the issue myself. Easiest thing might be to simply comment out that line with a single quote.


The error on line 1008 looks like a security setting is preventing the script from creating a local IE browser object to host the progress bar used by the script. I thought I'd written in some code to detect if IE can't be invoked but it may not be thorough enough. I've only got XP to test on where the script works as expected. This page on IE security zone settings may be useful but I'll have to find time to access and test the script on a Windows 7 system again.


There's a note in my script regarding line 1060 - Causes error if UAC is active - so it looks like I've already determined that if UAC is enabled the script shouldn't attempt to use the progress bar feature. However I recall rewriting the way the progress bar is invoked during the different phases of the script so I probably just need to do some housekeeping there.


tt2

Mar 15, 2012 3:25 AM in response to turingtest2

am i correct to say that the DeDuper didn't delete any copies during my usage since it comes up with an error mesage every time i use it on my exact uplicate list in itunes?

should i try it on smaller sets of of that library to more usefulness?


let me know if there are fixes or additions to the code that i should re-download to use again.


Thank you for all of your help so far, hoping to get this to work and be over/done with it.

Mar 15, 2012 11:49 PM in response to turingtest2

thank you tt2, appreciate your time in responding.

i guess i'm the only one having these issues.

I have my UAC enabled, and i even merged all my music folders, consolidated (while converting to aav files for hours...), and deleted the old folders.


anyhow, tried the deduper again and still have come up with this message:

i got this repeat message trying the deduper today, and also this separate one too:

line: 418

Char: 5

Error: the track is not modifiable

code: A0040203

source: (null)

Mar 16, 2012 12:21 AM in response to PWWW

I wonder if there is a permissions issue. Try this.


Right-click on your main iTunes folder and click Properties, then go to the Security tab and click Advanced. If necessary grant your account and SYSTEM full control of this folder, subfolders and files, then tick the option to replace permissions on child objects which will repair permissions throughout the library. If your media folder is separate from the library folder then repeat for the media folder. This is the XP dialog but Windows 7 shouldn't be too different.


If it won't let you change the permissions use the Owner tab to take ownneship from an account with administror privileges.


User uploaded file


tt2

Mar 16, 2012 1:36 AM in response to PWWW

Try to identify one of the tracks that the script is going to want to update, i.e. one of your sets of exact duplicates. Can you modify say the comment field via Get Info or is the file locked?


Even if the permissions dialog says you have full control there may be files with incorrect permissions within the folder structure. The tip above repairs the permissions for all files within the folder it is applied to.


Alternatively the files could be marked as read-only. Open the properties of the top folder, clear the Read-only checkbox, and apply the change to This folder, subfolders and files.


In the current build line 418 is a comment so that shouldn't cause an error. Can you check the line number please?


tt2

how to delete duplicated songs all at one time?

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