Skip navigation

iTunes Library organization in one folder...

20321 Views 34 Replies Latest reply: Feb 23, 2013 2:06 PM by turingtest2 RSS
1 2 3 Previous Next
sal1k Calculating status...
Currently Being Moderated
May 30, 2012 10:41 PM

I have a Mac Mini which serves as the family Video Server to an AppleTV (and all the other Mac / iDevices we own). It is running Lion 10.7.4, with iTunes 10.6.1.

 

The iTunes library is set up on a connected Drobo via USB. iTunes runs on the Mac Mini's internal HD (of course), but the Library is located on the Drobo.

 

This is what I want: I want the iTunes folder (including the iTunes Media folder, and all the xml / library files) to all be on the Drobo, in one self contained folder, as though it was on the Mac Mini. For some reason, iTunes chooses to keep the library files etc, on the Mini itself, when the movie / TV files are on the Drobo. Everything works as it should, but I want a tidy iTunes folder on the Drobo itself, with nothing on the Mini (which will make moving the entire library easier in the future, if necessary).

 

Regardless of my Choosing to Consolidate library / Organize Libfary (which do nothing not even a progress bar), nothing happens.

 

Here is the current state of my iTunes:

 

This is on the Mac Mini: (contains no media files, they're all on the Drobo)

Picture_138.jpg

 

This is on the Drobo: (contains the actual movies and television show files)

 

Picture_139.jpg

 

This is what I want on the Drobo only, to contain everything in one folder, rather than split between two drives.

 

Picture_140.jpg

 

Is this possible? If so, how? Do I need to start from scratch? I will if that is the only way.

 

I currently have a little over 550GB of movies and TV shows.

 

Thanks,

Sal

Mac Pro, Mac OS X (10.7), 2.8 GHz Quad Nahalem 16GB RAM
  • turingtest2 Level 8 Level 8 (43,860 points)
    Currently Being Moderated
    May 31, 2012 2:06 AM (in response to sal1k)

    Make a split library portable

     

    Here are the typical layouts for the iTunes folders:

     

     

     

    In the layout above, with the media folder (everything in the red box) inside the library folder, the library is considered to be portable. A portable library can be moved from one path to another without breaking the links between the library and the media and being self-contained is much easier to backup.

     

    You can rearrange things to make a split library portable by taking a number of small steps which don't break the library.

     

    Before you start any media files that are outside of the media folder will need to be consolidated. If the library is in the old style layout then it should ideally be be upgraded to iTunes Media Organisation (Library > Organise Library > Rearrange files in the folder <Media Folder>) to ensure that iPod Games, Mobile Applications etc. are brought inside the media folder.

     

    The basic non-fatal manipulations are:

    • You can connect to an alternate set of library files by holding down Shift (Win) or Option (Mac) when starting iTunes.
    • You can move the library files to a new location as long as the media stays put.
    • You can move the library files and the media together if the media folder is a direct subfolder of the library folder.
    • If you have already moved/copied the media content from a subfolder of the library folder to a different location then you only need to copy the library files for it to appear as if you have moved the entire library in the way allowed above. I.e. just copy the library files into the parent folder of the media folder.
    • You can rename the media folder to iTunes Media (if it isn't already) if the media folder is inside the library folder.
    • iTunes uses the name of the folder holding the library files as the window title. Having made a library "portable" you may need to take a final step of renaming the library folder to iTunes or, if the library files have ended up at the root of a drive, moving all of the library files and content folders into a new folder called iTunes.

     

    After each change you need to open, test and close the relevant library before attempting another change. If a change broke the library, undo it or revert to using the previous set of library files.

     

    In essence all you need to do to make your library portable is copy the library files into the parent folder of the media folder on the external/secondary drive and use the hold-down-shift/option-when-starting-iTunes method to connect to it. Other manipulations may be required to normalize the library so that the library and media folders have standard names.

     

    tt2

    Various PCs, iTunes 10.6.1.7, Windows XP Pro, iPad 2,iPhone3GS,iPod Classic+Nano
  • turingtest2 Level 8 Level 8 (43,860 points)
    Currently Being Moderated
    May 31, 2012 2:37 AM (in response to sal1k)

    In your specific case,

    1. Library > Rearrange file in the folder "iTunes Library". Should be grayed out since I can see a Music folder at /iTunes Library on the Drobo..
    2. Library > Consolidate files. Just in case.
    3. Close iTunes.
    4. Copy the contents of .../Music/iTunes, with the exception of iTunes Media & iTunes Music (which should be empty or hold redundant copies), from the Mac mini into the root folder of the Drobo.
    5. Delete iTunes Music Library.xml, (iTunes will be making a new file called iTunes Library.xml) and, if it were not already the case, rename iTunes Library (file) as iTunes Library.itl.
    6. Option-start iTunes and connect to the library file in the root of the Drobo.
    7. Check everything works... Close iTunes.
    8. Rename iTunes Library as iTunes Media.
    9. Start iTunes, check everything works, close iTunes.
    10. Create a folder iTunes in the root of the Drobo, move the iTunes library files, Album Artwork, iTunes Media and Previous iTunes Libraries folder inside iTunes.
    11. Option-start iTunes and connect to the library file at /iTunes/iTunes Library.itl.
    12. Check everything works... Enjoy the music.

     

    tt2

    Various PCs, iTunes 10.6.1.7, Windows XP Pro, iPad 2,iPhone3GS,iPod Classic+Nano
  • turingtest2 Level 8 Level 8 (43,860 points)
    Currently Being Moderated
    May 31, 2012 8:50 AM (in response to sal1k)

    Yep. Reorganize files... is a one-time only tool needed to convert from the old layout to the new one. Again I mention it so that others finding this thread might know they should use it if they can.

     

    The reorganize check box stays dimmed once the library is in the new layout. If there is nothing to consolidate then there is nothing to do. Perhaps iTunes can tell quite quickly if it that is the case, so no progress bar needed.

     

    tt2

  • turingtest2 Level 8 Level 8 (43,860 points)
    Currently Being Moderated
    May 31, 2012 4:59 PM (in response to sal1k)

    You're welcome.

     

    tt2

  • good11br Calculating status...
    Currently Being Moderated
    Aug 8, 2012 6:24 PM (in response to turingtest2)

    Would I be able to get your help as well?

     

    I have an XP with iTunes 10, which has both the library and music files on the hard drive.  I want to move my library to my new Win7 machine, and move the actual music files to an external HD.  I've tried a lot of other forums without success, so if you can give step by step instructions I would really appreciate it!

     

    Let me know if you need any screenshots.  Thanks in advance

  • turingtest2 Level 8 Level 8 (43,860 points)
    Currently Being Moderated
    Aug 9, 2012 1:56 AM (in response to good11br)

    Where is everything now?

     

    If the layout of the library & media folders is like that on the right in the image above then you should just copy the iTunes folder to the root of the external drive. Connect the drive to the new machine, hold down shift as you start iTunes, then choose the library on the external drive.

     

    If things are less organized or the library is split or in the older layout then give me some more details...

     

    tt2

  • good11br Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 12, 2012 12:44 PM (in response to turingtest2)

    Thanks - yes, as it turns out, all I had to do was copy all the files to the remote drive, then copy all of the iTunes DB files to the default location on my new computer...

  • strangegeek Calculating status...
    Currently Being Moderated
    Aug 13, 2012 2:43 PM (in response to turingtest2)

    Dear Turingtest2,

     

    Could I please get your input on a somewhat related situation that I am currently having?

     

    Here is my set up:

     

    Mid 2009 15" MacBookPro

     

    Mountain Lion (latest/only version)

     

    Itunes is up to date as far as this morning is concerned (I check for software updates pretty much daily).

     

    External HD is a Western Digital My Book for Mac 1TB that is a few years old. I've had a few issues with it over the past with it improperly ejecting itself for no known reason but lately those incidents have increased and this weekend it started making some very nasty clicking noises.  I've decided to replace this HD and have a 3TB LaCie on it's way.

     

    The issue that concerns me is when I get the new HD I should be able to attach it to my MacBookPro through a USB hub so both external HDs are attached to the machine at the same time. 

     

    I'm wondering what is the best way to move all of my Itunes (and Iphotos and my Ipod, Iphone, and Ipad) to the new drive with little to no loss of data.

     

    Any thoughts or advice would be greatly appreciated.

     

    Thanks for listening!

  • turingtest2 Level 8 Level 8 (43,860 points)
    Currently Being Moderated
    Aug 13, 2012 3:28 PM (in response to strangegeek)

    Hi. Are library files on the external too? Old layout or new one?

     

    If new layout and all on external you should be able to copy the entire iTunes folder to the new drive and option-start-iTunes to connect to it.

     

    Otherwise I would start by connecting your new drive and making a folder at <Root>/iTunes/iTunes Media on it, set this as your media folder and use File > LIbrary > Organize Library > Consolidate files (or iTunes may prompt you when you change the folder). If library in old layout use File > LIbrary > Organize Library > Reorganize files in folder "iTunes Media" and then consolidate again (doing it in this order cuts down the workload on the old drive). Then, if you want, copy the library files into <Root>/iTunes and option-start-iTunes to make your library portable.

     

    tt2

  • strangegeek Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 13, 2012 7:58 PM (in response to turingtest2)

    At the risk of sounding a little clueless I'm not sure what you mean by old or new layout? 

     

    When I go to Itunes Preferences > Advanced Settings and look at Itunes media folder locations it says "/Volumes/My Book/Itunes" which is on my old external hard drive.

  • turingtest2 Level 8 Level 8 (43,860 points)
    Currently Being Moderated
    Aug 14, 2012 2:38 AM (in response to strangegeek)

    See this post earlier in the thread for a diagram. The layout on the left is old school. The one on the right has an extra folder called Music into which all the artist folder get put, but more importantly Mobile Applications is inside the media folder instead of in the libray folder.

     

    Given your media folder is where you say its is a fair bet that your library files are going to be in <User>/Music>/iTunes on the internal drive so you have a split library.

     

    When you get the new drive do it like this:

    1. Create the folders /Volumes/<Lacie>/iTunes and /Volumes/<Lacie>/iTunes/iTunes Media.
    2. Set your media folder to /Volumes/<Lacie>/iTunes/iTunes Media and let iTunes copy the files to the new location when it asks.
    3. If the media folder is in the old layout use File > LIbrary > Organize Library > Reorganize files in folder "iTunes Media" and then File > LIbrary > Organize Library > Consolidate files.
    4. Copy the library files from <User>/Music/iTunes  into /Volumes/<Lacie>/iTunes and option-start-iTunes to make your library portable. [Optional]

     

    tt2

  • strangegeek Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 14, 2012 4:06 PM (in response to turingtest2)

    Very helpful - Thank you TT2!

     

    If I may ask a few more questions - you said it appears I have a "split library", is there anyway to consolidate this while I'm making the move?

     

    I'm a little confused as to step #4 in your post above:

     

    4. 

    Copy the library files from <User>/Music/iTunes  into/Volumes/<Lacie>/iTunes and option-start-iTunes to make your library portable.[Optional]

     

    I know this sounds like a really dumb question but what does this do exactly and how do I do it - just hold down the option key while I start up Itunes?

     

    Again - thank you for your patience and help!

1 2 3 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (6)

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.