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, yes thanks. I'm just reviewing the script now and while I still can't see for certain why it isn't working I can see scope for checking that the current line 350 has assigned a valid track object. If it doesn't that might explain the failure on line 375. Of course that doesn't explain how I've managed to get an invalid object reference stored in the list of things to delete earlier in the script, assuming that is what is going on when it fails. 😕
tt2
It works 90% of the time with sample sizes less than 1500, so is still incredibly helpful.
I have stumbled accross another bug, however I'm not sure if it is intentional. If the genre differs between two songs, it won't identify them as duplicates.
I have two copies of Employment by the Kasier Chiefs, same song names, lengths durations etc, only differences are that one is list as "Alternative" and the other as "Rock", and one is in AAC and other other in MP3.
Is this something that the script should pick up on?
The script is neutral as to genre. Having the same tracks in two formats should mean they appear as "alternate" dupes, presumably one being better quality (for which the script uses larger in the hope it means the same thing) than the other. There might be some tiny difference in the tags that isn't immediately apparent that means they don't get seen as being the same.
Logical dupes are recognized by having the same file path.
Physical dupes are recognized by having the same combined properties for Artist, Album, DiscNumber, TrackNumber, Name and Size, ignoring case.
Alternate dupes are as physical dupes but without the matching size criteria.
"Kasier Chiefs" is in fact spelt "Kaiser Chiefs", perhaps you have one correct spelling and one mispelt.
tt2
Hi, Great work, thank you. I am using windows seven in french and the text I see when I right-click a file with Windows Explorer, is the text "Supprimer", with no underline at all nowhere. When I change your script on line 491 from "&Delete" to "Supprimer", it does not work and still says it cannot delete the file. Any idea ? (I have 15000 duplicates... lot's of wait and click and the duplicate file is still there with a "2" in the file name).
How could I find another way to get the right string to substitute for "&Delete"
Thanks a lot and best regards.
Oh I found that If I press Alt, the french word for Delete: Supprimer, becomes "Supprimer" with the second letter "u" underlined. So I tried to subsitue "&Delete" to "S&upprimer" at line 491.... But it did not work, bummer as it was a good try...
Hey tt2, your vbscripts sound PERFECT for what I'm needing.
I currently have almost a TB of stuff in my iTunes and have slightly
different versions stored on various hard drives which I'm working on
merging into a single iTunes library. It looks like a few of your
VBScripts are EXACTLY what I need to remove all the many, MANY
duplicates after each merge and I really, REALLY need them but, alas,
I use a mac. I am not very skilled with computers and have zero
programming skill . . . is there any way that you can convert these
few scripts to Applescript or perhaps tell me if there's some sort of
automatic converter online that will do it for me? The scripts that I
think will be particularly useful are FindTracks, ExactDuplicates, and
DeDuper. You may have some others that I'm not aware of that would
help with this process too. Anyway, I really hope you have some
suggestions that might help me.
Many Thanks!
~ evenstill2
evenstill2 wrote:
Hey tt2, your vbscripts sound PERFECT for what I'm needing.
I currently have almost a TB of stuff in my iTunes and have slightly
different versions stored on various hard drives which I'm working on
merging into a single iTunes library. It looks like a few of your
VBScripts are EXACTLY what I need to remove all the many, MANY
duplicates after each merge and I really, REALLY need them but, alas,
I use a mac. I am not very skilled with computers and have zero
programming skill . . . is there any way that you can convert these
few scripts to Applescript or perhaps tell me if there's some sort of
automatic converter online that will do it for me?
You can get similar AppleScripts for iTunes at Dougscripts.com
What Chris said. I've only just got hold of a Mac and have yet to get to grips with AppleScript but many of my scripts will have existing parallels. Those that don't may not be easy to replicate as I believe there are differences between the iTunes methods & properties and general programming tools that are available within AppleScript compared to vbScript.
tt2
There's something wrong with the system that uses Internet Explorer to create a progess bar. There's probably a way to fix/register the IE automation object but I don't have a link to hand just now.
You can find add edit the line near the beginning that reads:
Prog=True ' Display progress bar
and change it to:
Prog=False ' Display progress bar
which should stop the error. You'll just have to be patient during the scanning phase because there won't be any visible clue that it is working.
tt2
Hi
Question no. 1: I'm trying to replicate the "Display Exact Dupliates" option under ITunes 11.1 (126 - 64 bit) and the OPTION key and then click File Menu doesn't offer me any seeming way to select "Display Exact Duplicates".
All I get in the File menu is the menu that one gets whether or not one presses the OPTION key previous to clicking the File.
I somehow found most of my files were put in the trash (it appears!) and I added them again, and now I noticed that I have what appear to be duplicates or triplicates of many songs and I'm trying to find a quick way to delete without having to select each, as I appear to have to do when I use the method: View > Show Duplicate Items.
Question no. 2: Further more, with the above View > Show Duplicate Items option, I'm not sure if all the titles (songs) listed include both the original and the duplicate (or triplicate as the case may be) or if those titles displayed are solely duplicates (or triplicates, etc)?
Thanks for any insights any of you can provide!
Hi tt2,
This sounds like the perfect script for me, unfortunately I get an error too when I try and run it. I'm getting:
Line 599
Char 3
Error The requested operation requires elevation
Code 800702E4
Source (null)
Any ideas?
Thanks
In that case you probably need to tweak UAC so it either prompts for permission or is disabled completely. The line causing the error (assuming you've got version 1.0.1.8 dated September 6th 2013) is the one that establishes access to the iTunes COM object without which the script cannot do anything useful at all.
tt2
That's also what I was afraid of. I followed the instructions in that link last night and they didn't lead me to the result that it indicates. I didn't find the values in either location they suggested. Which, as I figured, forces me to try and do about 1000 songs manually.
I'm using this script and it works as far as sorting out the duplicates but I can only delete them one by one which is going to take ages 😟. Is there any way to remove them automatically ? I'm using Windows 8.1 and the latest version of iTunes.
Hi, I suspect you're not using the script quite the way it is intended. You should use iTunes Show Exact Duplicates feature to show all exact duplicates, select them, then run the script and follow the prompts.
tt2
how to delete duplicated songs all at one time?