iTunes Just Wiped Out My Music Library

LaMerVipere

macrumors 6502a
Original poster
Jan 19, 2004
971
0
Chicago
I was listening to music and suddenly the whole computer froze, and the song I was listening to got stuck. So I did a reboot. When I turned the computer back on, and opened iTunes, I got a warning message that the "Library was damaged" or something, and when the iTunes window finally opened, all my Playlists were wiped out and all but 1GB of the music in my library was gone.

I still have the physical MP3 files on my HD, but why would iTunes do this? Now this is just a huge pain in the neck.

:confused: WTF :confused:
 

yogi477

macrumors regular
Jun 8, 2002
189
0
England
Same here....

I got the same but without the freezing just every few weeks my library becomes 'damaged' and so I lose all my playlists as I have to load all the music into a new library. If anyone knows how I can fix this or has had a similar problem please help becuase it is so annoying having to sort music for my iPod every few weeks.
 
Comment

shanner

macrumors member
Jul 21, 2004
65
0
please spell this out for a dim-wit

Hi,
that same thing happened to me..."damaged library" and so on. I seem to still have all the music, but how do i get it back to iTunes???

(any responses could not be simplified enough)

Thanks!
 
Comment

apunkrockmonk

macrumors 6502a
Nov 20, 2005
760
6
Rochester, NY
I don't know what to tell you about getting your library back. But sounds like once you get things how you like it again you should start backing up your iTunes Library.itl and iTunes Music Library.xml files. That way if it happens again you can revert to the backup and you'd be good to go. I have no clue why it got corrupted in the first place though.
 
Comment

mad jew

Moderator emeritus
Apr 3, 2004
32,199
5
Adelaide, Australia
In the iTunes folder in your Music folder (or My Music on a PC), there should be those two files that apunkrockmonk mentioned. Usually, when iTunes crashes like this, it makes you a new version of each and renames the old one to iTunes Library (previous) or something similar. Has this happened for you?

In simple terms, is there more than one iTunes Library data file in your iTunes folder? :)
 
Comment

shanner

macrumors member
Jul 21, 2004
65
0
I've got all my music in a folder in the iTunes folder in "Music".

In that location I also have the (recently reduced) songlist with an iTunes icon beside it. These are the songs which appear in the iTunes library when i open it.

How do I get all the songs in the folder to appear in my iTunes library?

thanks.
 
Comment

mad jew

Moderator emeritus
Apr 3, 2004
32,199
5
Adelaide, Australia
I'm not sure if we're on the same wavelength. :eek:

Get out of iTunes, open up a new Finder window, go to the Music folder, then open up the iTunes folder. Name the items you see. At the very least there should be three items; iTunes Library, iTunes Music (this one is a folder) and iTunes Music Library.xml. Are there any more items?

Sorry if this is oversimplified and apologies if you've already answered me but I've failed to comprehend you. :)
 
Comment

shanner

macrumors member
Jul 21, 2004
65
0
I appreciate the help Mad Jew... (and everyone)

Can't be too simple for me.

Here's what I have in the location you described...

iTunes Library
iTunes Music (a folder containing all the music which used to be, and which i want to be in iTunes when i open the app... how do I get it there?):)
iTunes music library.xml
Previous iTunes Libraries.
 
Comment

mad jew

Moderator emeritus
Apr 3, 2004
32,199
5
Adelaide, Australia
shanner said:
Previous iTunes Libraries.

Excellent! I think. If you quite iTunes, drag the file named iTunes Library to the Desktop, and then remove the term Previous from the newest of those other iTunes Library files, then reopen iTunes, do you get your music back? Just tell me if you want this worded differently. :)

If you're really struggling, then maybe post a screen shot of this folder by holding down COMMAND-SHIFT-3 and then showing us the result. :)
 
Comment

shanner

macrumors member
Jul 21, 2004
65
0
/Users/shane/Desktop/Picture 2.png
Yikes! here's the result. I renamed that open folder by removing the word 'previous', but iTunes Library folder on the desktop and reopened iTunes and it seem there's no music there at all now.
 
Comment

gauchogolfer

macrumors 603
Jan 28, 2005
5,555
5
American Riviera
shanner said:
/Users/shane/Desktop/Picture 2.png
Yikes! here's the result. I renamed that open folder by removing the word 'previous', but iTunes Library folder on the desktop and reopened iTunes and it seem there's no music there at all now.
Umm, please upload that image to a server somewhere :rolleyes: :rolleyes: :)

Then, we'll be happy to take a look. You might need to rename the library file inside the folder as well, since mine has a name like "iTunes Library 2005-9-7". Did you do this?
 
Comment

mad jew

Moderator emeritus
Apr 3, 2004
32,199
5
Adelaide, Australia
Okay, the attachment didn't quite work. You have to press the Manage Attachments button near the bottom of the Reply To's Additional Options box and work from there.

Irrespective, if the renaming method didn't work then I'm not sure what else you can do. I'd drag all the files except the folder with your music in it (should be the only folder there) to the Desktop to start afresh. Then, I would drag the folder with the music in it to an open iTunes window to manually re-add all your songs. Of course, this will unfortunately lose all your play counts and playlists. :(

Just to be sure though, don't do anything until you've shown us what you were renaming. :)
 
Comment

shanner

macrumors member
Jul 21, 2004
65
0
Sorted!

I didn't know you could just drag and drop song files to an open window in iTunes!
I don't mind about losing playlists or any of that.

Unfortunately, I'll never get this afternoon back, but there you go.

I really appreciate your time and patience, Thank You! ... smiley faces for everyone!

:) :) :) :) :)
 
Comment

howesey

macrumors 6502a
Dec 3, 2005
535
0
quigleybc said:
I have my 110 gig iTunes library backed up in triplicate over the span of 40 + DVD's.

But, if what happened to you guys, happened to me I would be fuming....
Thought of an external HDD?
 
Comment

-Jacko-

macrumors newbie
Aug 5, 2008
1
0
Help

How to import music files from your computer into iTunes -

Simple. Just open up iTunes, and hold down Ctrl + O. Now browse for your music file, and open it, and it will come up on your iTunes. For instance, if you use a file server such as Limewire or Frostwire, download and enqueue the file. Then click Save As at the bottom. Save it to your Desktop or whatever, go into iTunes and press Ctrl + O, browse for the playlist and open it. And its on iTunes.
--------------------------------------------------------------------------

And about the topic of this forum, I have been having the same problem. If you have ever updated iTunes to a newer version (such as the 7.5), a folder will be created in something similar to this: User/(YourUsername)/(My) Music/iTunes/Previous iTunes Libraries.

In there you should find your libraries you had before you updated to a new iTunes. In my case, there is two in here because I have upgraded twice. So there is two. If you have upgraded once, there will be one. The file extension is unknown, but the file type is: iTunes Music Database File. If there is a way of getting that into iTunes, I will be happy :)
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.