Suavecito69

Q: 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

Close

Q: how to delete duplicated songs all at one time?

  • All replies
  • Helpful answers

first Previous Page 19 of 32 last Next
  • by AuggieDoggies,

    AuggieDoggies AuggieDoggies Nov 8, 2013 5:36 AM in response to turingtest2
    Level 1 (4 points)
    iPhone
    Nov 8, 2013 5:36 AM in response to turingtest2

    Thanks tt2. It looks like dBpoweramp is not even in the 'tasks' running - it's not there at all - so I assume when it's installed is where the problem lies and only uninstalling it, running the script, then reinstalling it will solve the problem.

  • by turingtest2,

    turingtest2 turingtest2 Nov 8, 2013 9:38 AM in response to AuggieDoggies
    Level 10 (86,510 points)
    Apple TV
    Nov 8, 2013 9:38 AM in response to AuggieDoggies

    The task might have a different name... Are you using the free version or, if not, do you have your registration information handy? It would be a shame to uninstall, then not be able to reinstall it properly.

     

    tt2

  • by AuggieDoggies,

    AuggieDoggies AuggieDoggies Nov 8, 2013 9:48 AM in response to turingtest2
    Level 1 (4 points)
    iPhone
    Nov 8, 2013 9:48 AM in response to turingtest2

    Yes I'm registered so I should be able to reinstall properly . I'll have another look at the task manager too, thanks.

  • by AuggieDoggies,

    AuggieDoggies AuggieDoggies Nov 10, 2013 3:07 PM in response to AuggieDoggies
    Level 1 (4 points)
    iPhone
    Nov 10, 2013 3:07 PM in response to AuggieDoggies

    Quick update . I couldn't use the link I had previously used to retrieve my registration details until I saw a link on their webpage which allowed 'registration retrieval' ! That's a new one to me so I'll try that. I also noticed they have a 'Perfect Tunes' software download which also removes duplicates. So, failing using your script I may try that...it is £23 though .

  • by Perry.Bryant,

    Perry.Bryant Perry.Bryant Nov 17, 2013 7:02 PM in response to turingtest2
    Level 1 (0 points)
    Nov 17, 2013 7:02 PM in response to turingtest2

    Thank you for your script. When I try using it, it runs into an error. I'm not sure if there is an issue creating the shell object or the folder object. I am running Windows 7 x64 and the latest version of iTunes 11.

     

    An thoughts on how to fix this? Thanks for your help.

     

    2013-11-17_205256.png

  • by turingtest2,

    turingtest2 turingtest2 Nov 18, 2013 8:03 AM in response to Perry.Bryant
    Level 10 (86,510 points)
    Apple TV
    Nov 18, 2013 8:03 AM in response to Perry.Bryant

    Hmm, not sure what is happening there. I'm running 32 bit Windows 7 here and the script works fine if I create some duplicates for cleaning. If the file system object or shell objects hadn't been created there ought to have been problems earlier. The line in question reads:

     

    Set Folder=SH.NameSpace(FolderName)

     

    So at a guess there is something wrong with the value of FolderName such that nothing sensible comes back from the call SH.NameSpace(FolderName), but offhand I've no idea what might be the problem.

     

    If the problem is repeatable then you could try inserting an extra line before the problem statement and using:

     

    MsgBox FolderName

     

    to display the value that causes the failure.

     

    tt2

  • by Perry.Bryant,

    Perry.Bryant Perry.Bryant Nov 18, 2013 6:24 PM in response to turingtest2
    Level 1 (0 points)
    Nov 18, 2013 6:24 PM in response to turingtest2

    Interesting. Not sure why there is the "\..\..\..\" but this is what I get for FilePath and FolderName. It seems like the playlist file list where it is located and then points to where the file is located. The two paths are seperated by the "\..\..\..\"

     

    2013-11-18_201803.png

     

    2013-11-18_202015.png

  • by Perry.Bryant,

    Perry.Bryant Perry.Bryant Nov 18, 2013 7:13 PM in response to Perry.Bryant
    Level 1 (0 points)
    Nov 18, 2013 7:13 PM in response to Perry.Bryant

    I sort of fixed the script. I edited FilePath to exclude everything to the left of "\Shared" and added the drive "D:" It worked but is specific to me. It is not a universal solution.

  • by turingtest2,

    turingtest2 turingtest2 Nov 18, 2013 11:20 PM in response to Perry.Bryant
    Level 10 (86,510 points)
    Apple TV
    Nov 18, 2013 11:20 PM in response to Perry.Bryant

    Well done, and interesting indeed. The constuction \,, in a file path means "parent of" the current folder, so having drilled down to Playlists the path then pops back up to D:\ before going down again into D:\Shared\Music\Etc. I wonder how iTunes managed to end up using this format rather than an absolute path?

     

    You might want to take a look at my post make a split library portable at some point.

     

    tt2

  • by L-Kent,

    L-Kent L-Kent Dec 3, 2013 9:40 PM in response to Suavecito69
    Level 1 (4 points)
    Dec 3, 2013 9:40 PM in response to Suavecito69

    turingtest2,

    I am amazed at your knowledge and your willingness to share it!!

    I am encountering the error below when I run DeDuper.  Any suggestions?  My apologies if you have addressed this already and I just missed it when going through the previous posts.

    Thanks,

    Kent

     

     

    DeDuperError.png

  • by turingtest2,

    turingtest2 turingtest2 Dec 4, 2013 4:40 AM in response to L-Kent
    Level 10 (86,510 points)
    Apple TV
    Dec 4, 2013 4:40 AM in response to L-Kent

    L-Kent wrote:

     

    turingtest2,

    I am amazed at your knowledge and your willingness to share it!!

    I am encountering the error below when I run DeDuper.  Any suggestions?

     

    This looks like a problem someone else had back here. We never did get to the bottom of it, but it seemed that working with smaller chunks of the Exact Dupliactes enabled him to finish the task.

     

    My apologies if you have addressed this already and I just missed it when going through the previous posts.

     

    There are a few aren't there?

     

    tt2

  • by L-Kent,

    L-Kent L-Kent Dec 4, 2013 8:41 PM in response to Suavecito69
    Level 1 (4 points)
    Dec 4, 2013 8:41 PM in response to Suavecito69

    Thanks, tt2!!  Your suggestion to work with smaller chunks of Exact Duplicates was the key!  Appears that I had a corrupt file.  By processing only a subset at a time, I was able to narrow it down to the offending file and delete it.

    Thanks again!!!

    Kent

  • by jpl2407,

    jpl2407 jpl2407 Dec 14, 2013 4:16 AM in response to Suavecito69
    Level 1 (0 points)
    Dec 14, 2013 4:16 AM in response to Suavecito69

    Hi Turingtest2, many many many thanks for this script, it is a lifesaver, however, can you tell me why I get prompted to delete each and every duplicate, I am running Windows 8 64bit, and, with 13867 duplicates it is going to take quite some time to aknowledge each and every deletion.

     

    I have disabled UAC, I don't use the recycle bin, and, have selected not to be prompted upon file deletes.  Your script identifies all my duplicates, and when pressing the yes button to delete all tracks automatically I am presented with a delete file confirmation dialogue box for every dupe:

     

    file delete.jpg

  • by turingtest2,

    turingtest2 turingtest2 Dec 14, 2013 5:26 AM in response to jpl2407
    Level 10 (86,510 points)
    Apple TV
    Dec 14, 2013 5:26 AM in response to jpl2407

    Hmm. the script is designed to use the recycle bin so that in the unlikely event that it deletes more than intended there is a chance of recovering the deleted tracks. There is a part of the code that suppresses the normal warning before sending to the recycle bin, if enabled, then restores the user's preference once the file has been deleted. I don't have time to test it just now but I'm guessing that if the recycle bin is disabled that I'd have to change different registry keys to suppress the confirmation box.

     

    I can probably cook up a tweak that either enables the recycle bin or allows unconfirmed deletions when the bin is disabled, but it won't be able to get to it today.

     

    If you enable the recycle bin I think you'll find the script works as intended. Please let me know either way.

     

    tt2

  • by jpl2407,

    jpl2407 jpl2407 Dec 14, 2013 8:50 AM in response to turingtest2
    Level 1 (0 points)
    Dec 14, 2013 8:50 AM in response to turingtest2

    Hi thanks for the quick response....enabling the recycle bin has no effect on the prompting.....maybe its a Windows 8 thing...will try it on my XP machine.

first Previous Page 19 of 32 last Next