Skip navigation

how to delete duplicated songs all at one time?

274499 Views 308 Replies Latest reply: Apr 13, 2014 2:50 PM by turingtest2 RSS Branched to a new discussion.
  • turingtest2 Level 8 Level 8 (43,970 points)

    You're welcome.

     

    tt2

  • Cryo Calculating status...
    Currently Being Moderated
    May 15, 2013 10:13 PM (in response to turingtest2)

    THANK YOU THANK YOU THANK YOU!!

     

    Your script DeDuper saved me a a ton of time!

  • turingtest2 Level 8 Level 8 (43,970 points)
    Currently Being Moderated
    May 16, 2013 2:44 AM (in response to Cryo)

    That's the idea, glad it helped.

     

    tt2

  • abhinav.rellan Calculating status...
    Currently Being Moderated
    May 16, 2013 8:11 AM (in response to turingtest2)

    While trying to delete so many duplicates, I'm getting the error

     

    "cant find script engine"vbscript" for script" ..... destination of script....".

     

    please help.

  • turingtest2 Level 8 Level 8 (43,970 points)

    What version of Windows? Is the Windows Scripting Host installed and enabled?

     

    http://www.ehow.co.uk/how_8392805_enable-script-host-windows-7.html

     

    If you're still having trouble could you post a screen shot of the error message?

     

    tt2

  • VraelSix Calculating status...
    Currently Being Moderated
    May 28, 2013 12:47 PM (in response to Suavecito69)

    Hi TT2,

     

    I'm getting an error just before the delete stage.

    Line: 375

    Char: 39

    Error: Object required: 'T'

    Code: 800A01A8

    Source Microsoft VBScript runtime error

     

    OS is a fully up to Windows 7 SP2

    iTunes version is 11.0.2.26, I'm just updating to 11.0.3 to see if that works (however I never find iTunes updates to be particularly reliable)

     

    any ideas on what the problem could be? or what software I can use to debug the script? (I get the feeling that this is an obvious question but please humor me)

     

    Thanks!

  • turingtest2 Level 8 Level 8 (43,970 points)
    Currently Being Moderated
    May 28, 2013 1:43 PM (in response to VraelSix)

    The current version doesn't cope if the source playlist has multiple references to the same track. This shouldn't happen if you've started with the Songs view and then use Shift > View > Show Duplicate Items, but if you've prepared a playlist elsewhere and dragged suspect dupes into it for sorting later that could be why. I'm scratching my head for other possible reasons just now but if that's not it let me know and I'm sure I can track it down.

     

    Or better yet finish off the next version.

     

    tt2

  • VraelSix Level 1 Level 1 (0 points)
    Currently Being Moderated
    May 28, 2013 2:27 PM (in response to turingtest2)

    thanks tt2

     

    I've just run it again after only selecting whats shown when I view exact duplicates as I was previously running it with all duplicates, and all songs.

    However I'm still getting the same crash, so its crashing on all possible combinations of tracks: "All Songs", "Duplicates" and "Exact Duplicates".

     

    I am asking it to only delete true duplicates ("no" on the final confirmation dialogue) could this have something to do with it?

     

    Thanks for your support!

  • turingtest2 Level 8 Level 8 (43,970 points)
    Currently Being Moderated
    May 31, 2013 6:05 PM (in response to VraelSix)

    No the choice isn't a problem. Have I mentioned turning off iTunes in the cloud yet?

     

    Use View > Hide <Media Kind> in the cloud or Edit > Preferences > Store and untick Show iTunes in the cloud purchases to hide the cloud items.

     

    I've really got to find some time to update all my scripts to account for cloudy items. Been snowed under at work lately but let me know if that makes any difference. If not I'll see what else I can come up with.

     

    tt2

     


  • VraelSix Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jun 2, 2013 11:23 AM (in response to turingtest2)

    I've tried with with cloud purchaces off as well but alas still no avail. It is a strange one :/

  • VraelSix Level 1 Level 1 (0 points)

    I've just had a thought, would it be possible to modify the script so instead of deleting the dupliates it moves the tracks that it would have normally deleted into a separate playlist? Then I can simply delete them by hand.

  • turingtest2 Level 8 Level 8 (43,970 points)
    Currently Being Moderated
    Jun 3, 2013 7:22 AM (in response to VraelSix)

    That's probably a good idea... I've been pressed for time lately so I haven't had a chance to do any testing so see if I can work out was going on but adding to a playlist should be feasible. I'll try to work on it tonight.

     

    tt2

  • MunchBox Calculating status...

    Hi TT2 -

     

    I'm running Windows 8 and iTunes 11 and used your script to create the ExactDuplicates playlist, which worked perfectly.  I then selected the files in the playlist and ran the DeDuper script.  It runs, but doesn't detect any duplicates "No duplicates were found from the xx (where xx is the number of tracks I have selected) processed tracks:  No duplicates were removed."  I've done this with the source being the Exact Duplicates playlist and the show exact duplicates items list.   I have amlost 13,000 duplicates so I'm hoping to avoid doing this manually.  Any ideas what's going on?

     

    Thanks!

  • turingtest2 Level 8 Level 8 (43,970 points)
    Currently Being Moderated
    Jun 5, 2013 1:55 AM (in response to MunchBox)

    Hmm. Just fired up a test library, deliberately created the three types of dupes the script is able to find, and it clears them perfectly. I'm running iTunes 11.0.3.42 on 32-bit versions of Windows 7 & XP. I don't have access to a Windows 8 system as yet but perhaps I can set up a trial virtual machine.

     

    I had hoped to work on the "make a playlist of the dupes" version last night but work intervened. Perhaps I can make time today. In the meantime it might be worth testing what happens if, having revealled the exact duplicates, you then narrow down to a single artist using the search box (click the magnifying glass and untick "Search entire library") and run the script on the smaller selection.

     

    tt2

    Various,iTunes 11.0.3.42,iOS 6.1.3, Windows XP Pro, iPad 2,iPhone 4,iPod classic,nano
  • VraelSix Level 1 Level 1 (0 points)

    Hey,

    Did this and it works perfectly. Selected one album and it de-duped from 22 songs down to 11.
    I'll gradually increase the sample size and see when it starts bugging out.

1 ... 13 14 15 16 17 ... 21 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (7)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.