Previous 1 13 14 15 16 17 Next 475 Replies Latest reply: Jan 28, 2016 2:53 AM by turingtest2 Go to original post Branched to a new discussion.
  • turingtest2 Level 9 Level 9
    expertise.itunes
    iTunes

    You're welcome.

     

    tt2

  • Cryo Level 1 Level 1

    THANK YOU THANK YOU THANK YOU!!

     

    Your script DeDuper saved me a a ton of time!

  • turingtest2 Level 9 Level 9
    expertise.itunes
    iTunes

    That's the idea, glad it helped.

     

    tt2

  • abhinav.rellan Level 1 Level 1

    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 9 Level 9
    expertise.itunes
    iTunes

    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 Level 1 Level 1

    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 9 Level 9
    expertise.itunes
    iTunes

    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

    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 9 Level 9
    expertise.itunes
    iTunes

    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

    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

    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 9 Level 9
    expertise.itunes
    iTunes

    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 Level 1 Level 1

    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 9 Level 9
    expertise.itunes
    iTunes

    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

  • VraelSix Level 1 Level 1

    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.

Previous 1 13 14 15 16 17 Next