JoeBloggs

Q: iTunes - Two Libraries by Mistake on same iMac, How to Amalgamate and Deal with Duplicates?

I'm using iTunes 9.2.1 on a PPC iMac G5 running OS X 10.4.11.

 

I have previously had lots of problems with a damaged iTunes library: https://discussions.apple.com/thread/2009146?threadID=2009146&stqc=true

 

As a result of this (and I'm not sure how), all music I have added since I got it working again has been stored in a folder called "iTunes Music" (Macintosh HD:Users:Username:Desktop:iTunes Music) which appeared on the Desktop. I also have various iTunes Library files (plus .itdb and .xml files)  on the Desktop (I didn't put them there, that's just what appeared).

 

All music added priror to this is in Macintosh HD:Users:Username:Music:iTunes:iTunes Music.

 

Everything works in iTunes (as you would expect - it just points to the relevant folder).

 

I would like to amalgamate the two iTuens Music folders and file all the music in the correct place (wherever that may be) - is there a simple way of doing this?

 

Another problem I have is duplicated music - I  imported into iTunes lots (probably 20+ Gb) of duplicate albums at a higher bitrate than I previously had and deleted the existing lower-bitrate version from iTunes. Unfortunately, I didn't realise that, because of the two iTunes music folders, the older version is still stored in the older folder, even though iTunes isn't using it.

 

Is there a simple way to identify and remove the older lower-bitrate music from the machine without searching every single album in Spotlight?

 

I've spent an awfully long time correcting and completing track names, information and artwork in iTunes so I really don't want to lose any of that in the process.

 

Thanks in advance ...

iMac G5

Posted on Aug 4, 2012 5:17 AM

Close

Q: iTunes - Two Libraries by Mistake on same iMac, How to Amalgamate and Deal with Duplicates?

  • All replies
  • Helpful answers

  • by JoeBloggs,

    JoeBloggs JoeBloggs Aug 12, 2012 7:30 AM in response to JoeBloggs
    Level 1 (8 points)
    Desktops
    Aug 12, 2012 7:30 AM in response to JoeBloggs

    Can anyone offer any advice on safely merging the two library locations?

     

    I have now manually removed most of the duplicated music in the older location.

  • by Deborah Terreson,Helpful

    Deborah Terreson Deborah Terreson Aug 12, 2012 7:58 AM in response to JoeBloggs
    Level 4 (1,004 points)
    Mac OS X
    Aug 12, 2012 7:58 AM in response to JoeBloggs

    I totally feel your pain. I too have a similar setup, a G4 running Tiger wherein I ripped my vinyl to a higher bitrate than my CD copies. I have in one of thses threads a script that was written for me that would rummage across the home network and pull down all the lower bitrate copies and move them, but I had a hard drive snafu, ran out of space and never got around to it..

     

    I DO think however, that you can display the bitrate of the files in the list view options within iTunes and sort the files that way, and move the duplicate files you don't want to the trash. From within iTunes.. Let me go fire up the livingroom frankenbox to check..

     

    Yup.. If you use the View Options you can sort through the master list in iTunes by bitrate..

     

    http://imageupper.com/i/?S0300010100011D1344782818223713

     

    Takes a bit to sort out the tracks but it's workable..

     

    As to joining the libraries that you've gotten them cleaned up, you need to drop all the song files into a single folder and let iTunes sort them into the default location. There is a submenu here:

     

    http://imageupper.com/i/?S0500010010011A1344783379227569

    http://imageupper.com/i/?S0500010010021A1344783379227569

     

    Good luck!

     

    Deb.

  • by JoeBloggs,

    JoeBloggs JoeBloggs Aug 15, 2012 12:18 PM in response to Deborah Terreson
    Level 1 (8 points)
    Desktops
    Aug 15, 2012 12:18 PM in response to Deborah Terreson

    Deb,

     

    Thank you, that's a very useful function I didn't know existed.

     

    However, my older lower-bitrate files are still in the old iTunes Music folder - everything added since my iTunes disaster has been entered into the new music folder on the Desktop (just what happened, not by design). I deleted the files from iTunes when I re-ripped the music - so the old ones don't appear there - but they do still exist in the old folder and location.

     

    I need to somehow merge the two iTunes Music folders without duplicating or losing anything.

  • by Limnos,Helpful

    Limnos Limnos Aug 15, 2012 1:17 PM in response to JoeBloggs
    Level 9 (54,642 points)
    Mac OS X
    Aug 15, 2012 1:17 PM in response to JoeBloggs

    There's no easy way.  You could add two identical copies of a file to iTunes and it cannot tell they are identical -- that's for you to call.  Oh, there is a "show duplicates" feature in one of the menus, but the problem with that is it isn't very good at deciding what is a duplicate. It used to just go by artist and track name.  Now I think it adds in album name too if you say choose exact duplicates.  Still, the entries have to be perfectly exact.  Same spelling, etc.  The problems are still there though.  It doesn't include things such as bitrate, etc.  The bottom line is, if you really want to guarantee you are keeping only what you need to keep, and thowing away only what is truly duplicated, you will have to do it by hand.

     

    You can check the Dougscripts website for the commerical utility Dupin.  I think that extends the criteria selection more.

  • by turingtest2,

    turingtest2 turingtest2 Aug 15, 2012 2:04 PM in response to JoeBloggs
    Level 10 (88,247 points)
    Apple TV
    Aug 15, 2012 2:04 PM in response to JoeBloggs

    You could:

    1. Close iTunes
    2. Move your <Old Media> folder inside <New Media>/Automatically Add to iTunes
    3. Start iTunes
    4. Wait while it absorbs the files
    5. Use Option > File > Display Exact Duplicates
    6. Sort on Date Added
    7. Select and delete the files added today, sending to trash (you may want to be certain you have a backup of these older files "just in case")

     

    You will probably still have some duplicates where the metadata in iTunes wasn't exactly the same but this should catch the bulk of them. You can fillet the rest by hand or invest in Dupin or Dupin Lite.

     

    tt2

  • by JoeBloggs,

    JoeBloggs JoeBloggs Aug 18, 2012 3:27 AM in response to turingtest2
    Level 1 (8 points)
    Desktops
    Aug 18, 2012 3:27 AM in response to turingtest2

    Thanks very much for the reponses. I think I've caught the majority of the duplicates now manually.

     

    If I move the <Old Media> folder into the <New Media> folder, should this also sort out the various iTunes Library files (.xml and .itdb) and folders (Album Artwork) which are on the Desktop?

  • by Limnos,

    Limnos Limnos Aug 18, 2012 3:28 PM in response to JoeBloggs
    Level 9 (54,642 points)
    Mac OS X
    Aug 18, 2012 3:28 PM in response to JoeBloggs

    I don't know how those ended up on the desktop.  Normally they are in your Music/iTunes folder.  Check the modifcation dates of the files on the desktop and compare them with the dates of the ones in the iTunes folder.  I suspect the ones on the desktop are not being used and you can just delete them.

     

    Read this to learn more about what hte various files & folders do.

     

    What are the iTunes library files? - http://support.apple.com/kb/HT1660

     

    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management

     

    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html

  • by turingtest2,

    turingtest2 turingtest2 Aug 18, 2012 3:31 PM in response to Limnos
    Level 10 (88,247 points)
    Apple TV
    Aug 18, 2012 3:31 PM in response to Limnos

    I concur with Limnos.

     

    iTunes placing files on the desktop can sometimes happen if a security permissions foul up prevents it writing to the correct location, but perhaps these were backup copies made while following another set of instructions at some point.

     

    tt2