neil2711

Q: Missing iTunes library and playlists...please help

Hello, This morning to my horror I started iTunes and all of my 20,000+ songs and playlists I have spent years developing are missing.  Could it be a problem with my hard drive or start up disc which is enabling iTunes to locate the files?  I checked the file path and it seems the music is still in their folders however re importing it all wouldn't get the playlists back and on top of that the last back up I have was from 2014.    Can anyone help

MacBook, Mac OS X (10.6.8)

Posted on Jan 23, 2016 9:08 PM

Close

Q: Missing iTunes library and playlists...please help

  • All replies
  • Helpful answers

  • by Kenichi Watanabe,Apple recommended

    Kenichi Watanabe Kenichi Watanabe Jan 24, 2016 12:15 AM in response to neil2711
    Level 8 (38,416 points)
    Mac OS X
    Jan 24, 2016 12:15 AM in response to neil2711

    One possibility is that your iTunes library file became corrupted, so iTunes started up using a brand new iTunes library.  Or you may have mistakenly set iTunes to open a new iTunes library.  If you are using the default setup, the iTunes library file is in your iTunes folder and called iTunes Library.itl, at this location

     

    [startup disk]/Users/[your user account name]/Music/iTunes/iTunes Library.itl

     

    NOTE:  This iTunes library file is a database that defines your iTunes library.  It does not contain your actual iTunes media files, which are organized and stored separately.

     

    Go to that location using a Finder window; what do you see?  If you see a file called iTunes Library.itl there, quit iTunes (if running) and use this method to open iTunes using that library file.

     

    Open a different iTunes Library file or create a new one - Apple Support

     

    If it does not open, or you still get an empty library in iTunes, do you use Time Machine to backup your startup disk?  If you do, you can Restore your iTunes library file from a backup (date/time) state when it did not have this problem.  In your case, it would be immediately before the last time you used iTunes with a working library.  Time Machine makes incremental backups every hour, so this should be very close to when the problem occurred, so your iTunes library should be mostly up-to-date.

     

    If you don't have a backup (why not?) of your user data, look in the iTunes folder for a folder called Previous iTunes Libraries.  iTunes makes these backups when there is a major update to iTunes, in case something bad happens or the user needs to go back to previous version of iTunes for some reason.  If the most recent "previous" iTunes library backup is not too old, you can use that library file to open iTunes, using this procedure

     

    If you don't see your content after you update iTunes - Apple Support

  • by neil2711,

    neil2711 neil2711 Jan 28, 2016 10:07 PM in response to Kenichi Watanabe
    Level 1 (0 points)
    Jan 28, 2016 10:07 PM in response to Kenichi Watanabe

    Hi Kenichi,

    thank you for your reply, it was helpful to know how to open different iTunes libraries. 

     

    Unfortunately I have been slack with backing up my library (the last was in 2014), so I assume that I am stuck with either creating a new library and importing all my music again or if possible fixing the problem that is creating this, weather it is with iTunes or my computer.

     

    I hope it's ok to ask a few more questions?

    Firstly do you have any idea why my computer says iTunes is up to date with version 11.4 when 12.3.2 is available for download?  Is that because I have an older computer and am running snow leopard still?

     

    I had a good look at my iTunes folder and there is a file called "iTunes Library (damaged)".  Is this why my old iTunes has gone missing?  Also in the iTunes folder there were other files called

    iTunes Library.itl

    iTunes Library.xml

    iTunes Music Library.xml

    iTunes Library extras.itbd

    iTunes Library Genius.itbd

     

    I tried opening the first two files (the itl and xml), nothing happens with the itl file and when opening the xml, it just re imported the songs that I purchased from the iTunes Store. (I'm assuming this just duplicated the existing files as I now have less free space on my HD.

    Could any of this have to do with icloud or match or anything like that? Because now when I open iTunes and only see the music purchased from iTunes, at the top of the side bar next to music, movies and TV shows it has a little cloud symbol.  This wasn't there before the problem started the other day.

     

    As you can tell I'm confused with the whole process.  Can you answer any of these problems?

     

    Thank you for you time

     

    Neil

  • by Kenichi Watanabe,Apple recommended

    Kenichi Watanabe Kenichi Watanabe Jan 28, 2016 10:50 PM in response to neil2711
    Level 8 (38,416 points)
    Mac OS X
    Jan 28, 2016 10:50 PM in response to neil2711

    You may want to run Disk Utility, and do a Verify Disk (under First Aid) on your startup disk.  You may have more general data corruption, not just to the iTunes Library file.

    Is that because I have an older computer and am running snow leopard still?

    Yes.  You need Mountain Lion (10.8.5) or later to run the latest iTunes, according to System Requirements on the iTunes download web page.

    I had a good look at my iTunes folder and there is a file called "iTunes Library (damaged)".  Is this why my old iTunes has gone missing?

    Interesting that it got renamed like that.  Yes, I think the "damaged" one is your iTunes library.  The one currently named iTunes Library.itl is probably the new one iTunes created (that is blank), when your actual iTunes library file became corrupted.  Do you see a folder there called Previous iTunes Libraries?

     

    The .xml file is something iTunes creates for external applications to access data from iTunes.  You may be able to rebuild your iTunes library from the .xml file, if it is more up-to-date than anything else you have as a backup.  In the Finder window, look at the modified date on the iTunes Library.xml file.  This article describes how to do it

     

    http://www.touchgeeks.com/rebuild-itunes-library/

    Could any of this have to do with icloud or match or anything like that? Because now when I open iTunes and only see the music purchased from iTunes

    The problem is probably not related to iCloud or iTunes Match.  Because your current iTunes library is new, it does not show any songs you have stored on the computer's drive (this library does not know you have those songs).  I think you can see those purchased songs because iTunes is showing them from iCloud (iTunes Store); they are not stored on your computer's drive.  If you make the iCloud Download column visible (it has a cloud symbol in its heading) in your iTunes music library song list, you should see a cloud with down-arrow symbol for those songs.  If you sign out in iTunes (from your Apple ID), those songs will probably disappear from the song list.

     

    The actual cause is likely to be your iTunes Library file becoming corrupted for some reason.  Files on hard drives can become corrupted; the entire drive can become corrupted or mechanically faulty.  That's the reason for doing regular backups.  Time Machine is a way (a built-in feature of OS X) to automate the backup process; set it and forget it (until you need it).

  • by dannydaniels,

    dannydaniels dannydaniels Mar 2, 2016 2:52 AM in response to neil2711
    Level 1 (0 points)
    Mar 2, 2016 2:52 AM in response to neil2711

    If you have Time Machine, open the Time Machine File - not Time Machine itself, but the Backups. folder and into the your archieves. Then go to (Name of your Mac)>  Latest> Mac HD> Users> (Your Computer ID Name)> Music> iTunes and then drag and drop onto your desktop:

     

    iTunes Library Extras.itdb

    iTunes Library Genius.itdb

    iTunes Library

     

    You do not need the iTunes Music Folder as it should be already in your El Capitan Music Folder, as the files are stored there during your update. Once you have dragged and dropped these items, open your Music Folder, go to iTunes and drag and drop these into that folder. You will be asked if you want to replace the already existing items, and click Replace. I did this, and all my old Library is now in my new iTunes from El Capitan.

     

    Hope it works for you.