You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

📰 Newsroom Update

Billie Eilish is Apple Music’s Artist of the Year for 2024. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

All the content from my iTunes library has disappeared

The other day I went onto iTunes and everything had disappeared from it except for the music in the Cloud. All the music is still intact in the folders on my computer and when I double click any song it reappears on iTunes but without any information like number of plays, and I obviously don't want to do this manually for every song as I have nearly two thousand. I synced my iPod with iTunes again but no message came up and the music is still on my iPod, as if it is only 'hiding' on iTunes. I'm not sure if it's something to do with the fact i got a new iPod a few days ago, but iTunes worked perfectly when I first got it so I'm confused about what's happened.

iPod touch

Posted on Apr 2, 2013 8:54 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 2, 2013 9:02 AM

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. Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.


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.


User uploaded file


Alternatively, depending on exactly when and why the library went missing, there may be a more recent .tmp file in the main iTunes folder that can be copied and renamed as iTunes Library.itl to restore the library to an earlier state. Look for a recent .tmp file that is similar in size to the .itl files in the Previous iTunes Libraries folder. If it has happened repeatedly you may want the earliest such file generated since the last iTunes upgrade.


If applicable, see iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.


When you get it all working make a backup!


Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.


I've noticed more of these missing library posts of late and a common factor to most since I started asking is AVG Anti-Virus. It seems in some cases it might be at least part of the reason why the library file disappears. Try excluding the iTunes folder from any AV scanning process.


tt2

184 replies

May 6, 2013 12:18 PM in response to QuoteNotes

I have three parallel copies of my library, and haven't personal every had a problem, so my experience with iPod recovery tools is limited to some track only recoveries I've done for others. My guess is that playlist recovery works as the same tracks are copied into the library. A while back I wrote a script called SyncStats that can import stats from an iPod even when it was originally populated with a different library. I've been thinking about extending that idea for playlist import, but so far nobody has pressed me to produce on the offer.


Obviously you can only recover what is on the device so I wouldn't delete everything. Have you scanned the media folder for new content, and considered other locations you may have things stored things in? Video files may have ended up in the new Home Movies section of the library.


tt2

May 6, 2013 1:41 PM in response to turingtest2

Hold on. I found something. Here is my folder structure on my PC:


-- My Music

-- dozens and dozens of subfolder alphabetically by artist name

-- iTunes

-- Album Artwork

-- Cache...

-- Cloud Purchases...

-- Download...

-- iTunes Media

-- Automatically Add to iTunes

-- Downloads

-- Mobile Applications

-- Music...

-- TV Shows...


So I should do: File > Add Folder to Library > My Music > iTunes > iTunes Media ???


May 6, 2013 2:08 PM in response to QuoteNotes

Boo. You can clean up the unwanted apps by putting the Apps section into list view and deleting the recently added apps. At this point it seems there is no telling where the lost video files are. 😕


As given earlier the way to restore your lost playlists would be from a backed up .itl file or with mixed chances of success, a renamed .tmp file. If neither are avaialble then we're back to seeing if they can be extracted from the iPod. Let me look at the scripting option.


tt2

All the content from my iTunes library has disappeared

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.