Previous 1 2 3 Next 43 Replies Latest reply: Oct 27, 2014 1:33 AM by turingtest2 Go to original post
  • turingtest2 Level 9 Level 9 (56,405 points)

    Step 4 is designed to put the libray back into a portable layout...

     

    And yes, just hold down the option key as you start iTunes.

    See HT1589: How to open an alternate iTunes Library file or create a new one for the long version.

     

    If you find the library is sluggish running from the external drive you can move the library files back to the internal, but you should put them on the external drive, then open and close iTunes at least once, before moving the drive to another system, or if you need to copy the library to a different drive.

     

    tt2

  • strangegeek Level 1 Level 1 (0 points)

    I just wanted to say thanks Turingtest2 - I followed your instructions and the switch over went completely smooth!

     

    Thank you so much for your time and help!

  • turingtest2 Level 9 Level 9 (56,405 points)

    You're most welcome.

     

    tt2

  • vaharrisons Level 1 Level 1 (0 points)

    Good morning!

    Thank you for all of the comments about iTunes on an external drive.  I have read through many of them on this thread as well as others.  I am hoping that you might be able to help me as well.... I am hoping this is just a quick oversight on my part. 

     

    I have followed steps in moving my iTunes library to an external Western Digital drive.  This is what the external drive has:

    Image 9-27-12 at 10.46 AM.jpg

    This is what the files look like on the iMac hard drive (no content on the iMac hard drive - it is all on the external drive.  I deleted the hard drive content because I was running out of disk space):

    Image 9-27-12 at 10.44 AM.png

    I have gone into preferences and I have this:

    Image 9-27-12 at 1.52 PM.png

     

    I have gone into Library, consolidate library and clicked "OK" - ( I have also clicked on the reorganize the folders in the library so now that is greyed out)

     

    Now I get this when I open iTunes:

    Image 9-27-12 at 1.55 PM.jpg

    .... and I am Not able to pull up my music, movies, books, etc.

     

    I am assuming that this file structure is off somewhere, but for the life of me I can't figure out where????  Or, am I missing something entirely??

     

    THANK YOU for any help that might be out there!

  • turingtest2 Level 9 Level 9 (56,405 points)

    You need to hold down option as you start iTunes, click Choose at the prompt and open the file //Volumes/Public/iTunes/iTunes Library.itl.

     

    If your active library is in the default location of <User's Music>/iTunes and you move the libray, or delete it after copying elsewhere, iTunes behaves as if it had just been installed for the first time and creates a new empty library for you. Changing the preference for the media folder location doesn't fix this problem.

     

    BTW your iTunes folder contains the folders Automatically Add to iTunes and Downloads both of which should be empty and redundant. The active versions should be those in the iTunes Media folder.

     

    tt2

  • vaharrisons Level 1 Level 1 (0 points)

    Thank you for your quick reply!

     

    I held the option key and chose //Volumes/Public/iTunes/iTunes Library.itl as you suggested.  Image 9-27-12 at 2.54 PM.png

    iTunes is still acting as though it is new.  (However, shows my playlists with nothing in them) 

     

    Side note - I did delete the redundant folders "Automatically Add to iTunes" and "Downloads".  They are both present in the iTunes Media folder as you mentioned.

     

    I assumed that my active library was the //Volumes/Public/iTunes library because if I click on File, Add To Library then it automatically pops up my external hard drive iTunes folder:

    Image 9-27-12 at 3.05 PM.png

    You mentioned that changing the preferences won't fix the problem of iTunes acting as new.  Is there something else that I can do to have it recognize the media that I have?

     

    Thank you so much for your time.

  • vaharrisons Level 1 Level 1 (0 points)

    I just realized I moved the movies folder before taking that second screen shot.  (It is now back where it belongs under iTunes/iTunes Media) 

  • turingtest2 Level 9 Level 9 (56,405 points)

    The active library is <User's Music>\iTunes until you explicitly change it using option-start-iTunes.

     

    Changing the setting of the media folder tells iTunes where to put new media, not where to look for existing content nor which library file to open.

     

    Looks as if you managed to pull an empty library into the external drive, rather than your original. Perhaps this approach will work... (if not you may need to rebuild your library from what is in the media folder, losing ratings, playlists, play counts etc.)

     

    Empty/corrupt library after upgrade/crash

    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.

     

    RestorePrevious.png

     

    Windows images, but you get the point. Depending on the age of your library the library file might not include the .itl extention. Make it match the file you are replacing.

     

    See MusicFolder Files Not Added and Super Remove Dead Tracks for tools to catch up with any changes since the backup file was created.

     

    tt2

  • vaharrisons Level 1 Level 1 (0 points)

    YAY!  Thank you SO much for all of your help!!!  It was definitely the iTunes Library.itl file!  As soon as I copied a previous file I was able to pull everything in!  THANK YOU!!!!!

  • turingtest2 Level 9 Level 9 (56,405 points)

    You're welcome.

     

    tt2

  • ScotchZombie Level 1 Level 1 (0 points)

    TT2, I have a situation that I *think* is a bit different from what has been posted here thus far.  I am running iTunes 11 on Windows 7.  My iTunes content is currently organized as follows:

     

    D:\Users\John\Music\iTunes

    - Album Artwork

    - iPod Games

    - iTunes Media (empty)

    - Mobile Applications

    - current .itl and .xml files

     

    D:\iTunes

    - folders for Artists (eg music content)

    - folders for Books, Downloads, Movies, Podcasts, etc

    - Music folder (with subfolders for Artists - eg music content)

     

    In iTunes, D:\iTunes is set as the default media folder.

     

    The problem is that some of my music is in the 'root;' iTunes directory and some is in the Music subfolder.

     

    Is there a way to merge the music content in D:\iTunes into D:\iTunes\Music?

     

    Thanks for your advice!

  • turingtest2 Level 9 Level 9 (56,405 points)
    1. File > LIbrary > Organize Library. If not greyed out tick the option to Rearrange files in the folder "iTunes", either way tick Consolidate files while you've got this box open and click OK.
    2. Under Edit > Preferences > Advanced untick Keep media folder organized and click OK.
    3. Under Edit > Preferences >Advanced tick Keep media folder organized and click OK.

     

    If you're interested I can also walk you through the steps to get the library files at D:\iTunes and the media at D:\iTunes\iTunes Media which is how it ought to be.

     

    tt2

  • ScotchZombie Level 1 Level 1 (0 points)

    Wow - so easy and makes total sense.  TT2 - thank you so much.  Especially since I just realized that I asked a Windows question in a Mac forum! 

     

    Your instructions worked very well.  I did notice that it left behind the artist folders under D:\iTunes (but recreated them with the actual media files under D:\iTunes\Music).  No big deal to delete those empty folders.

     

    I would be interested in moving the library files in the right place as well.  Are these the correct steps?

    1. Closing iTunes.

    2. Move the contents of D:\Users\John\Music\iTunes to D:\iTunes.

    3. Open iTunes while holding "shift" and enter D:\iTunes as the new library location.

     

    Thanks again.

     

    SZ

  • turingtest2 Level 9 Level 9 (56,405 points)

    It would work, but it's not ideal...

     

    1. Delete redundant content from D:\Users\John\Music\iTunes leaving behind:
      - Album Artwork
      - Previous iTunes Libraries [You should keep two or three most recent backups in here]
      - iTunes Library.itl
      - iTunes Music Library.xml
      - iTunes Library Extras.itdb
      - iTunes Library Genius.itdb
      - sentinel [Hidden file]

    2. Copy the contents of D:\Users\John\Music\iTunes except iTunes Music Library.xml to D:\ [This will be recreated as iTunes Library.xml automatically]

    3. Press and hold down shift as you start iTunes and open the library file D:\iTunes Library.itl - check that media still plays properly.

    4. Close iTunes, rename the folder D:\iTunes as D:\iTunes Media, start iTunes - check that media still plays properly and check under Edit > Preferences > Advanced that the media folder now reads D:\iTunes Media - if necessary correct, then close and reopen iTunes.

    5. Close iTunes, create a folder called D:\iTunes. Move the following items from D:\ into D:\iTunes:
      - Album Artwork
      - iTunes Media
      - Previous iTunes Libraries
      - iTunes Library.itl
      - iTunes Library.xml
      - iTunes Library Extras.itdb
      - iTunes Library Genius.itdb
      - sentinel [Hidden file]

    6. Press and hold down shift as you start iTunes and open the library file D:\iTunes\iTunes Library.itl - check that media still plays properly and check under Edit > Preferences > Advanced that the media folder now reads D:\iTunes\iTunes Media - if necessary correct, then close and reopen iTunes.

    7. When you are happy all is working correctly you can delete D:\Users\John\Music\iTunes.

     

    That's all folks! If the library doesn't work properly at some point reverse the previous action that you took and check that you did the right thing, or ask for further help...

     

    Putting everything in this structure means your library is all in one place, is easy to backup (hint!) and is portable, meaning you can migrate the library to any new drive/path/computer when needed and that a clone of the iTunes folder on any path (e.g. that backup I mentioned) is a working copy of the library.

     

    tt2


     

    Message was edited by: turingtest2

  • ScotchZombie Level 1 Level 1 (0 points)

    TT2, thanks again.

     

    I completed the steps above and all of my iTunes files are now under D:\iTunes and the media under D:\iTunes\iTunes Media.

     

    There was one twist however.  When I got to Step 6, I found that the media folder was still listed as D:\iTunes.  I changed it and iTunes refreshed my library.  When I did so, it moved all of the artist folders to D:\iTunes\iTunes Media when I was expecting them to be in D:\iTunes\iTunes Media\Music.

     

    No big deal (and I probably messed up a step), but is there a simple way to fix that?

     

    Thanks!!


    SZ