1 19 20 21 22 23 24 Previous Next 352 Replies Latest reply: Jun 27, 2014 12:41 PM by turingtest2 Go to original post Branched to a new discussion.
  • 300. Re: how to delete duplicated songs all at one time?
    turingtest2 Level 8 Level 8 (46,550 points)

    Right-click and use Download or Save As...

     

    tt2

  • 301. Re: how to delete duplicated songs all at one time?
    mooney8 Level 1 Level 1 (0 points)

    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.

  • 302. Re: how to delete duplicated songs all at one time?
    KateinDC Level 1 Level 1 (0 points)

    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!

  • 303. Re: how to delete duplicated songs all at one time?
    turingtest2 Level 8 Level 8 (46,550 points)

    You're welcome.

     

    tt2

  • 304. Re: how to delete duplicated songs all at one time?
    turingtest2 Level 8 Level 8 (46,550 points)

    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

  • 305. Re: how to delete duplicated songs all at one time?
    mooney8 Level 1 Level 1 (0 points)

    Hi turingtest2,

     

    Any luck looking into that script? Thanks

  • 306. Re: how to delete duplicated songs all at one time?
    turingtest2 Level 8 Level 8 (46,550 points)

    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

  • 307. Re: how to delete duplicated songs all at one time?
    turingtest2 Level 8 Level 8 (46,550 points)

    DeDuper just got an overhaul and is now able to eliminate duplicates where you have both a "missing" track (exclamation mark) and another with identical tag information. Previously all missing files were ignored.

     

    Another recent addition involves alternate dupes, that is files of different sizes or formats that have the same tag details. By default the script will preserve the largest file on the assumption that is likely to be the best quality, but you can set KeepLarge=False to reverse that effect. There is another control variable PrefKind initially set to False. Changing this to True and editing the PrefKinds value allows the script to prefer one file type over another. Multiple file extensions can be listed with the later having higher priority over earlier ones or any not listed. If both files being compared have the same file type, or neither is in the list of preferred types then the choice of which to keep reverts to largest or smallest as controlled by KeepLarge.

     

    As always I strongly recommend that you backup the entire library to another drive before cleaning just in case there are any as yet undiscovered bugs in my code. It is also a good idea to test the behavior with a small group of tracks first so you get an idea of how it works.

     

    I've taken some screenshots of the new version to illustrate it in action.

     

     

     

    Having selected some tracks in iTunes that may contain duplicates this is the screen that you'll see when you run the script.

     

    NewDupe1.png

     

     

    Typically you will answer yes at this point unless you want to test the track-by-track clean up action with small numbers.

     

    If UAC is disabled the script should be able to generate a progress bar so that you see its activity as it scans though the selected tracks a number of times. Closing the progress bar gives an opportunity to abort or resume the script.

     

    NewDupe2.png

     

     

    Next a summary screen shows the breakdown of the different types of duplicates that have been identified.

     

    NewDupe3.png

     

     

    The options should be self-explanatory. Choose yes unless you want to go back to check the details of any alternate dupes.

     

    There will be another progress bar if UAC is disabled, followed by the summary of the completed actions taken by the script.

     

    NewDupe4.png

     

     

     

    tt2

  • 308. Re: how to delete duplicated songs all at one time?
    turingtest2 Level 8 Level 8 (46,550 points)

    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

  • 309. Re: how to delete duplicated songs all at one time?
    Tedis2 Level 1 Level 1 (0 points)

    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?

  • 310. Re: how to delete duplicated songs all at one time?
    markhinkc Level 1 Level 1 (0 points)

    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.

  • 311. Re: how to delete duplicated songs all at one time?
    protect02476 Level 1 Level 1 (0 points)

    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.

  • 312. Re: how to delete duplicated songs all at one time?
    turingtest2 Level 8 Level 8 (46,550 points)

    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

  • 313. Re: how to delete duplicated songs all at one time?
    turingtest2 Level 8 Level 8 (46,550 points)

    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

  • 314. Re: how to delete duplicated songs all at one time?
    turingtest2 Level 8 Level 8 (46,550 points)

    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