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
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
I would like to get help deleting duplicated songs, I do not know how they got their in the first place.
Windows 7
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.
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?
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
I stumbled upon this thread while checking to see if people were having problems with the new iTunes version just released. (They usually do 🙂) I used your script and it worked perfectly! Thank you so much for automating an tedious chore. Great job.
Tom D.
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.
Yep, it will be crashing out before it does anything useful. I don't know where you are but it's around 11am here in the UK. I won't really get a chance to look at it until some point this afternoon, at which point I can upload a new build. I'll post back here when it is done.
tt2
New build uploaded. Should fix the issue with trying to create a progress bar on systems running UAC and I've moved that SkippedDate assignment which might help out with that issue. Hopefully I can get access to a Windows 7 test machine later this evening just to check for any other weird issues.
tt2
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)
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
I ensured that the permissions incl child onne are all full control, and deleted the old deduper and downloaded the new one and ran it.
and the error occured again. you're right, the line is 411 for the track not modifiable.
i'm going to read over your latest post to test permissions.
i changed the itunes music folder to be cleared of the read-only function.
i ran deduper again, this time i got to the pop-up screen alerting me to the number of exact and secondary duplicates to delete.
It looks like we have successfully figured out why this program was not working for me.
I really apprecaite your help streamlining my media and helping me through the step-by-step of how to enable my frustrating computer to utilie your great program.
I hope this helps future users to get their files cleared more rapidly and without confusion with these setting parameters needing to be met!
THANK YOU tt2
Thank you so much for the script, it has sorted out all my music problems, I still consider myself an itunes newbie and after much googling I could not find a soltion until I came across this thread-great work.
I have a lot of the type 2 duplicates and ran the script but am getting the following errors. I appreciate that your still following this thread and have put so much time into it. Any ideas? (Windows 7, full permissions, no read only on the files)
Thank you.
Hmm, the relevant line from the script is:
Set iTunes=CreateObject("iTunes.Application")
Which is fundemantal to the script doing anything useful. Looking up the error code 800a01ad would suggest that the error occurs when the automation object we want to connect to hasn't been registed properly. A repair install of iTunes might fix it.
tt2
Im having a problem, because my music was on an external HD i had all my music there now i moved it to my laptop and so ever single song is a double, but when i try to use the DeDuper it just says select 2 or more tracks. 😕 so i have about 20 k songs for deduping
The message you have seen simply means you haven't selected any files before starting the script.
Normally I suggest you hold down Shift and click the menu File > Display Exact Duplicates to cut down the number of files to compare, but if you have essentially doubled up all entries there is no point in that step.
Press CTRL-A on your keyboard to select all files before running the script. You will need to repeat the process for each source, Movies, Podcasts, TV Shows etc.
tt2
how to delete duplicated songs all at one time?