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 24 of 32 last Next
  • by TomQA,

    TomQA TomQA Jun 22, 2014 6:56 PM in response to turingtest2
    Level 1 (0 points)
    Jun 22, 2014 6:56 PM in response to turingtest2

    I don't see a Kind column, and my library has only music and a few podcasts. With your explanation, I need to look at my NAS and find out how permissions are controlled. I just noticed that the iTunes folder doesn't have the usual Windows folder Properties | Security tab. However, I have full access to the NAS share, and I can add to the iTunes library, so I wouldn't have thought security permissions was a problem.

    Regards,

    TomQA

  • by turingtest2,

    turingtest2 turingtest2 Jun 22, 2014 11:32 PM in response to TomQA
    Level 10 (85,398 points)
    iPod
    Jun 22, 2014 11:32 PM in response to TomQA

    You should be able to right-click on the column headings and enable the kind column.

    Stream.png

     

    Otherwise I'm struggling to guess why that data cannot be updated.

     

    tt2

  • by JLM015,

    JLM015 JLM015 Jun 26, 2014 11:57 AM in response to turingtest2
    Level 1 (0 points)
    Jun 26, 2014 11:57 AM in response to turingtest2

    The script runs without a progress bar which doesn't bother me but when I go to delete the files it only deletes 997 at a time. I then have to run the script again and the same result happens...

     

    Any help would greatly be appreciated...

  • by turingtest2,

    turingtest2 turingtest2 Jun 26, 2014 1:06 PM in response to JLM015
    Level 10 (85,398 points)
    iPod
    Jun 26, 2014 1:06 PM in response to JLM015

    Do you get the same error as TomQA mentioned here: Re: how to delete duplicated songs all at one time?

     

    Or something else? Can you test with a smaller group of tracks?

     

    tt2

  • by JLM015,

    JLM015 JLM015 Jun 27, 2014 11:58 AM in response to turingtest2
    Level 1 (0 points)
    Jun 27, 2014 11:58 AM in response to turingtest2

    TT2,

     

    Sorry my whole question didn't post.

     

    As far as the error, the script would run just fine and show me all of the duplicates. However when it went to send them to the recycling bin it would only send 997 items. I just ran the script multiple times until the duplicates were under 997 items, still made it a lot easier. Thanks for being so quick to respond...

  • by turingtest2,

    turingtest2 turingtest2 Jun 27, 2014 12:19 PM in response to JLM015
    Level 10 (85,398 points)
    iPod
    Jun 27, 2014 12:19 PM in response to JLM015

    I was hoping you might give me an error line so I could track down the problem. I guess I will just have to create some duplicates to test with.

     

    tt2

  • by JLM015,

    JLM015 JLM015 Jun 27, 2014 12:33 PM in response to turingtest2
    Level 1 (0 points)
    Jun 27, 2014 12:33 PM in response to turingtest2

    TT2,

     

    My system would show no error, it would just give two error sounds and then stop sending items to the recycling bin.

     

     

    Thanks,

  • by turingtest2,

    turingtest2 turingtest2 Jun 27, 2014 12:41 PM in response to JLM015
    Level 10 (85,398 points)
    iPod
    Jun 27, 2014 12:41 PM in response to JLM015

    Hmm. Thanks. I shall have to check the code around the recycling routine to see if it is set to ignore errors.

     

    tt2

  • by fates_eye,

    fates_eye fates_eye Aug 6, 2014 9:35 AM in response to Suavecito69
    Level 1 (0 points)
    Aug 6, 2014 9:35 AM in response to Suavecito69

    OK, I've been struggling with this for ages, if someone posted a solution or a similar solution, i apologize, but I didn't want to read the whole post, i just wanted to share this solution for any who struggled with duplicates as i have.

     

      THIS SOLUTION WORKS, IS EASY AND COST NOTHING.

     

    1) First up, back up all your audio to a separate folder (not necessary, but always safe).

    * If you have multiple locations where you added songs from, you can consolidate iTunes media to get them all in one folder then back the music in the iTunes Audio Folder, or manually cut and paste all music into one single library (easy to find location of your choice, I'm on PC so I stuck with my music) as i did*

    2) Download iTunesDSM which can be found here, http://itunesduplicatesongmanager.blogspot.ca/

    3) Open iTunes, go to edit, preferences, advanced, and under iTunes media folder, change location to an empty folder anywhere (create one if need be)

    4) In iTunes, click on songs, select all, delete. (this will delete the song from iTunes but not from the save location)

    5) Close and open iTunes, (not necessary, but recommended)

    6) Go to edit, preferences, advanced, and under iTunes media folder, change the folder to your library (sometimes this won't work, if this doesn't work here's a workaround, Go to File, add folder to library, and once all the songs are added, you can change the folder in preferences) wait till all songs are added.

    *These above steps ensure that you do not have any duplicated media due to the date added duplicating issue*

    7) Open iTunesDSM.

    8) Click on options, add directory, and locate the music library you are using for iTunes.

    9) Click Select All, enable the options of "backup selected duplicates to a folder" (make a temp folder on the desktop and use that, this is not necessary, but just to be safe) and the option "delete selected duplicates from music folder.

    10) Click Clean Duplicates.  (This may take several minutes if you are backing up the duplicates.

    11) Once that is complete, Click Remove Orphaned Track.  (gets rid of all those annoying songs with an exclamation next to it.

    12) Close and open iTunes, then hold shift and click view, show exact duplicates.  There should now be none, if there are any, it should be the odd few that you can manually delete.

    *If any duplicates re-appear you can repeat steps 7-12 since and just save the back up of the library if you have the space*

  • by turingtest2,

    turingtest2 turingtest2 Aug 6, 2014 11:32 AM in response to fates_eye
    Level 10 (85,398 points)
    iPod
    Aug 6, 2014 11:32 AM in response to fates_eye

    The DeDuper script solution being discussed in this thread also works, costs nothing, is easier to use, and unlike the one you suggest preserves/merges ratings, played/skipped counts/dates, playlist membership and original date added values.

     

    But then I'm slightly biased since I wrote it.

     

    tt2

  • by mcub3d,

    mcub3d mcub3d Aug 27, 2014 3:28 PM in response to turingtest2
    Level 1 (0 points)
    Aug 27, 2014 3:28 PM in response to turingtest2

    I love you. You just saved me hours!

  • by turingtest2,

    turingtest2 turingtest2 Aug 27, 2014 3:29 PM in response to mcub3d
    Level 10 (85,398 points)
    iPod
    Aug 27, 2014 3:29 PM in response to mcub3d

    You're welcome.

     

    tt2

  • by 00derek,

    00derek 00derek Oct 6, 2014 4:30 PM in response to turingtest2
    Level 1 (0 points)
    Oct 6, 2014 4:30 PM in response to turingtest2

    Hi,

     

    I'm getting an error when I run the DeDuper script;

     

    Pass 3, processing 16,701 of 26,729

    Scanning for physical duplicates

     

    Script: M:\<folder name>\DeDuper.vbs

    Line: 614

    Char: 18

    Error: The track is not modifiable.

    Code: A0040203

    Source: (null)

     

     

    My song files are on a NAS, and I'm getting the error when I selected ALL on the Exact Duplicates list. I tried the script on a much smaller group and it worked fine. I moved the .vbs file off the NAS before running it, but same error.

     

    Any ideas?

     

    many thanks for your work.

  • by turingtest2,

    turingtest2 turingtest2 Oct 7, 2014 12:03 PM in response to 00derek
    Level 10 (85,398 points)
    iPod
    Oct 7, 2014 12:03 PM in response to 00derek

    Not sure what that is about, but I've added a little error trapping code around that statement. Should you get an error again it may become clear which track is being processed when it occurs. With luck there will some feature of the file which will explain the cause.

     

    tt2

  • by 00derek,

    00derek 00derek Oct 8, 2014 3:45 PM in response to turingtest2
    Level 1 (0 points)
    Oct 8, 2014 3:45 PM in response to turingtest2

    Thanks for the response.

     

    I don't know if you updated the script where we can download it (http://samsoft.org.uk/itunes/DeDuper.vbs still shows 1.0.2.5 - June 29th 2014 as the latest version) but I ploughed on anyway.

     

    the problem track is somewhere in the "J"s; given that the error appeared at "243 of 345" I guessed that it had to be the 243rd song title beginning with J. But even after deleting +/- 10 tracks either side of the suspect, I get the same error running the script; no new information than in my original post BTW.

     

    Does the script examine tracks in alphabetical order?

first Previous Page 24 of 32 last Next