Previous 1 14 15 16 17 18 Next 397 Replies Latest reply: Feb 23, 2015 10:29 AM by turingtest2 Go to original post Branched to a new discussion.
  • VraelSix Level 1 Level 1 (0 points)

    A bit of testing later, it looks to me as though the problem is when you are trying to de-dupe large number sof tracks. Works fine with 999 selected items, any more and it fails. I'm currently trying to find the exact threshold.

     

    Erm.. just did a few more (the last two tests) that have disproved the above theory.  I hope the tests are of some use.

     

    Tests are below.

     

    28 Duplicates from 112 Selected Items

         28 Physical

         No Problems

     

    954 from 2251

         798 Physical

         156 Alternate

         - 'No' - Delete all but alternate dupes

         - Failed.

     

         Line: 375

         Char: 39

         Error: Object Required: 'T'

         Code: 800A01A8

     

    114 from 245

         108 Physical

         6 Alternate

         - 'No'

         - Success

              108 Deleted

              6 Skipped

     

    375 from 856

         301 Physical

         74 Alt

         - 'No'

         - Success

              301 Removed

              74 Skipped

     

    416 from 1110

         333 Physical

         74 Alt

         - 'No'

         - Failed - error as before

     

    423 from 1000

         336 Physical

         85 Alt

         - 'No'

         - Success

     

    416 from 1037

         321Physical

         95 Alt

         - 'No'

         - Failed

     

    253 from 1346

         201 Physical

         52 Alt

         - 'No'

         - Success

  • turingtest2 Level 9 Level 9 (56,440 points)

    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

  • VraelSix Level 1 Level 1 (0 points)

    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?

  • turingtest2 Level 9 Level 9 (56,440 points)

    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

  • Doc_Goodnight Level 1 Level 1 (0 points)

    How can I do this script on my Mac?

  • turingtest2 Level 9 Level 9 (56,440 points)

    My scripts are written for Windows. try Dupin or Dupin Lite from Doug's Scripts.

     

    tt2

  • GruffaloMonster Level 1 Level 1 (0 points)

    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.

  • GruffaloMonster Level 1 Level 1 (0 points)

    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...

  • turingtest2 Level 9 Level 9 (56,440 points)

    I'm busy with some other projects right now, but I'll try to take a look at this and see what I can come up with as a workaround in the next few days. Feel free to nudge me.

     

    tt2

  • evenstill2 Level 1 Level 1 (0 points)

    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

  • Chris CA Level 9 Level 9 (77,720 points)

    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

  • turingtest2 Level 9 Level 9 (56,440 points)

    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

  • evenstill2 Level 1 Level 1 (0 points)

    Sweet!  Thank you both for the tip . . . I'll check out Dougscripts to see what I can find.

  • GuyH77 Level 1 Level 1 (0 points)

    I had to post to say a big thanks to turingtest2 for his script.  It's saved me so much time and hassle sorting my itunes files out!  Really appreciate your hard work and sharing it with us. 

     

    Guy

  • turingtest2 Level 9 Level 9 (56,440 points)

    You're welcome.

     

    tt2

Previous 1 14 15 16 17 18 Next