Skip navigation

how to delete duplicated songs all at one time?

274390 Views 308 Replies Latest reply: Apr 13, 2014 2:50 PM by turingtest2 RSS Branched to a new discussion.
  • colin1117 Level 1 Level 1 (0 points)

    I'm hoping this will work.  I don't see a progress bar.

     

    I have a message at the bottom of the prompt that says - NB Disable user access control to allow progress bar to operate...  I'm not sure what it's asking of me.

  • turingtest2 Level 8 Level 8 (43,955 points)
    Currently Being Moderated
    May 8, 2012 12:38 AM (in response to colin1117)

    The script will do its job quite effectively with or without a progress bar but when processing large numbers of files it is nice to be able to see that it is still working and get an idea of how long it will be before it finishes. Unfortunately the code to create and contol the progress bar uses a feature of Windows where one program (my script) is allowed to control another (an instance of Internet Explorer). Security features introduced in Windows Vista break this method. I don't have the resources to develop or purchase an alternative progress bar control that is compatible with UAC so the easiest approach, at least from my point of view, is to detect if UAC is active and suggest that you disable UAC if you want to see a progress bar while running the script. You can reset UAC later.

     

    How to disable User Account Control

     

    tt2

  • Cap Level 2 Level 2 (365 points)
    Currently Being Moderated
    May 14, 2012 11:31 AM (in response to turingtest2)

    I've just learned the term "deduplication," and a program like DeDuper certainly holds great promise for me.  I'm not interested in writing scripts, and the process of going through the library manually, using Apple's "exact" duplicate-sniffing system, is tedious, requiring going one alphabetical letter at a time and zapping every other line.

     

    I was so frustrated I impulsively took up Amazon on their offer to give me unlimited storage of all my music without charge.  However, it appears not to screen out any duplicates, and the process of uploading 70 GB is now in its 2nd week.

     

    Theoretically, it should work to re-download all of the Amazon uploads, put them through the DeDuping program, then re-upload them (if Amazon's offer still holds).  Apple's Cloud and Match service still leave me somewhat mystified about how much is being matched when and where.  It may be far superior to Amazon's Cloud, but Amazon's system is straightforward enough to give me a sense of what's actually backed up.  The major drawback seems to be the cumbersome Amazon player.  If you think that manually deleting duplicates is a chore in iTunes, wait til you try to do the same in Amazon's player!

     

    Cap

     

    (I should also mention that Amazon's service returned a truckload of "protected" files (DDRM?), which is another problem. I don't know how involved it is to remove the copyright protection.  As I understand it, Apple has no such restriction.)

  • turingtest2 Level 8 Level 8 (43,955 points)
    Currently Being Moderated
    May 14, 2012 11:59 AM (in response to Cap)

    Songs bought from iTunes prior to April 2009 will have DRM protection. These can usually be upgraded to iTunes Plus for a fee. Alternatively you can burn and then rip them, but you'll lose more audio quality in the process.

     

    My DeDuper script only works with songs in the iTunes library. There should be no need to re-download the content that should still be on your computer.

     

    I haven't subscribed to match. Main issues I've seen posted about are respawning playlists and where, for example, an explicit version of a song has been replaced with clean one, though for that to have you still have to delete your current copy and then download the matched verison and I don't get why people do that.

     

    If you need to backup your iTunes library see this user tip. Certainly won't take two weeks!

     

    tt2

  • mmanfrey Level 1 Level 1 (0 points)
    Currently Being Moderated
    May 14, 2012 12:06 PM (in response to turingtest2)

    turingtest2,

     

    Thanks for the scripts.  I used FindTracks on my library which seems to have worked great.  Now I'm trying to use DeDuper but ran into a issue...

     

    I'm not sure if it's because I'm using iCloud/MusicMatch, but after DeDuper analyzes my songs, I get prompts for each song it wants to delete with an extra option to remove it from iCloud.  I have a ton of duplicates and was hoping I didn't have address each dialog box.  Does your script provide a way around this that I missed?  Can i change this behavior in itunes? 

     

    mnythx,

     

    ~m

  • turingtest2 Level 8 Level 8 (43,955 points)
    Currently Being Moderated
    May 14, 2012 12:47 PM (in response to mmanfrey)

    Sorry, I don't have access to the iTunes Match service so I'm not able to explore and test its behaviour. I would think it best, if possible, to turn off the service, tidy the library, then turn it back on again. But again I really don't have any practical experience with how it works.

     

    tt2

  • samuelfromkenosha Level 1 Level 1 (0 points)
    Currently Being Moderated
    May 14, 2012 1:21 PM (in response to turingtest2)

    Thanks much for the quick and helpful reply.  (My thought in redownloading my files from Amazon prior to deduping was that Amazon might eventually attach a fee to the service, in which case the smaller my library in the Cloud, the better.)

     

    "Respawning" is a good word for the problems I'm currently observing. When I had more space than music files on my iMac, it didn't matter. Now that I've begun to receive continual warnings about a maxed-out hard drive, I'm paying the price. So besides freeing up space by eliminating dupes, I'm hoping to get my iTunes Music folders down to a single one.

  • mmanfrey Level 1 Level 1 (0 points)

    i had the same thought about turning off the service temporarily.  I'll give it a shot.

     

    thx

     

    ~m

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

    Again this is where I think I'm missing the point. I want all my media stored on my local hard drive and with all my OCD tag edits. A cloud service where I could stream/download to other computers/devices on demand might have a certain appeal were I able to take advantage of it and thought it value for money, but I wouldn't ever delete my copies of my songs. I'm too conscious of the risk that something wouldn't be stored exactly the way I have it, and I certainly wouldn't want to eat my bandwidth uploading all my files.

     

    As to respawning playlists I was referring to this issue: After turning on iCloud/iTunes match, my playlist was duplicated 2000 times

     

    tt2

  • eolandra Level 1 Level 1 (0 points)
    Currently Being Moderated
    May 28, 2012 6:22 PM (in response to turingtest2)

    Thanks so much for this information. It made things a lot easier

  • jerryogara Level 1 Level 1 (0 points)
    Currently Being Moderated
    May 29, 2012 8:45 PM (in response to Suavecito69)

    I have the same question, but it appears to be a manual process.  I somehow got all 13,000 songs entered twice into my library and don't want to have to manually select every duplicate to delete.  Anyone have any ideas?

  • Chris CA Level 9 Level 9 (73,410 points)
    Currently Being Moderated
    May 29, 2012 9:08 PM (in response to jerryogara)

    jerryogara wrote:

     

    Anyone have any ideas?

    Yes.

  • turingtest2 Level 8 Level 8 (43,955 points)
    Currently Being Moderated
    May 30, 2012 12:24 AM (in response to jerryogara)

    Read this post towards the start of this thread. If it is clear that your duplicates are either all logical duplicates or are all physical duplicates then this section...

    If all the duplicates have recently been added into your library then you could sort the list on the date added column, select a range of tracks with SHIFT-click and delete all the recent entries.

    Gives you a quick solution. For logical duplicates do not delete the files, for physical duplicates do. If you're not sure what I'm talking about then read the post.

     

    If things are more complicated then use the DeDuper script.

     

    Whatever approach you take, please backup before you start so that, if something goes wrong, you can restore the current state of the library,

     

    tt2

    Various PCs, iTunes 10.6.1.7, Windows XP Pro, iPad 2,iPhone3GS,iPod Classic+Nano
  • daughterofthestars Level 1 Level 1 (0 points)
    Currently Being Moderated
    May 30, 2012 7:40 AM (in response to Suavecito69)

    turingtest2:

     

    Thank you so much for that script! I had an overwhelming amount of duplicates in my library and was at a total loss of what to do besides selecting them all individually and deleting them. I didn't even understand how they all got there in the first place.

     

    Your script nabbed and deleted the majority of them (about 1200 duplicate songs) in less than 5 minutes, allowing me to deal with the ones that were duplicates because of misnaming or actual physical duplicates in the files. Your script worked quickly and smoothly and I am absolutely delighted, so thank you so much for putting time into scripts that you let other people use for free. This issue has been bothering me for AGES and I am so happy that I have been able to finally deal with it. I do wonder if you have any advice for doing the same thing in Windows Media Player?

     

    My itunes is clean and beautiful and "I Feel Good" just started playing which describes my mood right now perfectly!

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

    Thank you for the feedback.

     

    A while back I decided to commit to iTunes and imported whatever WMA I had into iTunes. WMP doesn't expose a programming interface like iTunes, but if you have them share a common media folder then any tidying you do with iTunes can be picked up automatically by WMP. Just make sure iTunes is in charge. See my post on Getting iTunes & Windows Media Player to play nicely for details.

     

    tt2

1 ... 3 4 5 6 7 ... 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.