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.
Signing in quickly to say thank you so much for offering this script and for the patient explanations on this thread -- they saved much of my sanity as well as my time!
Also wanted to say that I ran the script on Windows 8 with no apparent problems.
Cheers and thanks again!
mooney8 wrote:
Has there been any fix for the Object T error. I am getting it too and tried the test scripted. It is erroring at line 350 now.
Thanks for the help.
Sorry not to have got back sooner on this one. The script works for me in various test scenarios. I'm can't look into it right now but I will try over the weekend. Give me a nudge if you haven't heard back from me by Monday...
tt2
Thanks for the nudge. Real lifeTM has been keeping me busy but I'm in the process of an update that allows the script to purge "missing file" duplicates. Sadly I haven't been getting the error which makes it hard to work out what might be going on.
tt2
mooney8 wrote:
Hi turingtest2,
Any luck looking into that script? Thanks
Have a try with the new build of the script. With luck the changes in the new build will eliminate the problem, otherwise at least my line numbers will match yours.
tt2
I'm getting same error.
Windows 7
Itunes 11.1.5.5
I think the line is:
If Tracks(J).PlayedDate>Tracks(I).PlayedDate Then Tracks(I).PlayedDate=Tracks(J).PlayedDate
I'm no coder, but Itunes 11 calls that field "Last Played" and not PlayedDate if that is significant.
Sorry for being a noob and if this has already beenm answered, but how do I prevent Windows 8 from asking me to confirm each deletion. My libray points to a mapped drive letter on a NAS, if this should mean anything to you.
Thanks in advance.
Tedis2 wrote:
Hi tt2 - I am having an issue with line 467 and char 55. It says the track is not modifiable. How do I fix this?
Make sure that you're not including any tracks that are missing, locked, in the cloud, or URL streams.
tt2
markhinkc wrote:
I'm getting same error.
Windows 7
Itunes 11.1.5.5
I think the line is:
If Tracks(J).PlayedDate>Tracks(I).PlayedDate Then Tracks(I).PlayedDate=Tracks(J).PlayedDate
I'm no coder, but Itunes 11 calls that field "Last Played" and not PlayedDate if that is significant.
PlayedDate is the internal label for the property in the COM interface. The label in the iTunes interface will depend on regional settings.
tt2
protect02476 wrote:
Sorry for being a noob and if this has already beenm answered, but how do I prevent Windows 8 from asking me to confirm each deletion. My libray points to a mapped drive letter on a NAS, if this should mean anything to you.
Thanks in advance.
You may need to lower the UAC setting, or it could possibly be a feature of your AV. I've had the script working on Windows 8 but I can't recall taking any special measures to make that aspect of it work...
tt2
Hi tt2,
I disabled UAC howver, Windows still asks to confirm each deletion. Also, the progress bar you speak of never appeared with UAC disabled. Is there a value in the script that can automate answering "ok" to each confirmation request?
Can you confirm which build of Windows you are running, and is there any chance of a screenshot of the confirmation prompt? What happens if you delete a file from the NAS using Windows Explorer? Do you get the same prompt?
I've been meaning to write an option to move the unwanted files to a new subfolder rather than deleting them directly not least because on a NAS there is no active recycle bin to recover from if there is a problem.
tt2
protect02476 wrote:
Hi tt2,
Also, the progress bar you speak of never appeared with UAC disabled.
Turns out Windows 8 has complicated the picture. Disabling UAC under Windows 8 leaves another setting, called LUA, enabled. This is what prevents the progress bar from operating. Disabling LUA breaks Metro Apps so it may not be desirable, but I've added EnableLUA to the scripts collection which displays the current setting and optionally changes it if wanted.
tt2
Hi tt2,
Using Windows 8.1 Pro
The same delete confirmation appears when deleting files on the NAS via Windows Explorer.
Here are the two DeDuper screens - not the screenshots I was hoping for:
First: I select "Yes"
---------------------------
DeDuper
---------------------------
Scan selected tracks/current playlist for duplicates and optionally
remove them.
Plays & skips will be merged, most recent played/skipped dates will be
used, and the track that is preserved will be added to any playlists
that the removed tracks were in.
It should help to reduce the overall execution time if you use the
iTunes feature to ''Show Exact Duplicates'' and select the displayed
tracks before running the script.
WARNING!
Are you sure you want to process 67706 tracks?
Yes : Process tracks automatically
No : Preview & confirm each action
Cancel : Abort script
NB: Disable User Access Control to allow progress bar to operate
or change the declaration ''Prog=True'' to ''Prog=False'' to hide this message.
---------------------------
Yes No Cancel
---------------------------
Second: I have selected both "Yes" & "No"
---------------------------
DeDuper
---------------------------
There were 44741 duplicates found from 67706 items:
43941 physical (multiple copies of file with identical properties & size)
800 alternate (multiple formats/bitrates with identical properties)
leaving
22965 original (unique files after deduping)
Would you like to delete the duplicates?
Yes : Delete all duplicate tracks automatically
No : Delete all but alternate dupes (safer)
Cancel : Abort script
---------------------------
Yes No Cancel
---------------------------
I receive now other notifications.
Thanks, p
The same delete confirmation appears when deleting files on the NAS via Windows Explorer.
This is the key... You need to change whichever option in Windows Explorer is resposible for generating this confirmation. Try this:
http://www.howtogeek.com/howto/windows-vista/disable-delete-confirmation-dialog- in-windows-vista/
Alternatively I'll work on that "move rather than delete" option...
tt2
I don't know if Windows 8 does it by default but the recycle bin box was already unchecked.
Okay so here's the thing, with the recycle bin box unchecked when deleting files ON my laptop via Windows Explorer, I dont get a delet confirmation alert but do when the file is on the NAS. This is a Synology NAS, if that means anything to you.
how to delete duplicated songs all at one time?