Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 21, 2007, 11:30 AM   #1
apb3
macrumors regular
 
Join Date: Aug 2006
Location: PTSD therapy
Any way to "rebuild" the itunes music library.xml file??

Hey... Somehow the above file (and maybe the Itunes Music Library file as well) got corrupted. I get a message that the .xml file isn't a proper file or something to that effect, when iTunes starts and then it proceeds to try to "update" the Itunes Music Library file and saves the old one with a different name.

Only problem is that when it does this, I lose 3/4 of my music and all of the formatting (like "Purchased" and other manual playlists).

Has this happened to you? Any suggestions. I know I could just re-add all the files (all the songs./movies/etc are still on my external drive) but I'll lose the files' data and, as mentioned, the playlists/Purchased/Movie/etc info...

Any and all assistance is appreciated
apb3 is offline   0 Reply With Quote
Old Nov 21, 2007, 11:31 AM   #2
netdog
macrumors 603
 
netdog's Avatar
 
Join Date: Feb 2006
Location: London
Clear the library (but don't erase the files) and then just drop all the files onto the library and they will re-import. You won't lose the data. Not sure about the playlists.
__________________
We don't see the world as it is. We see it as we are. -Anais Nin
Classical Homeopath and Naturopathic Doctor in London
netdog is offline   0 Reply With Quote
Old Nov 21, 2007, 12:27 PM   #3
apb3
Thread Starter
macrumors regular
 
Join Date: Aug 2006
Location: PTSD therapy
Quote:
Originally Posted by netdog View Post
Clear the library (but don't erase the files) and then just drop all the files onto the library and they will re-import. You won't lose the data. Not sure about the playlists.
Thanks but that's what I was talking about at the end of my post. I know I can re-import everything, I was just wondering if anyone knows of a way to, basically, "rebuild" the original "bad" Library file (I saved it just in case) so I don't lose all the files' data, playlists, categories, etc...

Thanks anyway.
apb3 is offline   0 Reply With Quote
Old Nov 21, 2007, 12:42 PM   #4
Mindflux
Banned
 
Join Date: Oct 2007
Location: Austin
Quote:
Originally Posted by apb3 View Post
Thanks but that's what I was talking about at the end of my post. I know I can re-import everything, I was just wondering if anyone knows of a way to, basically, "rebuild" the original "bad" Library file (I saved it just in case) so I don't lose all the files' data, playlists, categories, etc...

Thanks anyway.
I think if you option-click your iTunes icon (or cmd-option click maybe) it should come up and ask you if you want to rebuild the library...

this is starting with iTunes closed out completely.
Mindflux is offline   0 Reply With Quote
Old Nov 21, 2007, 12:45 PM   #5
apb3
Thread Starter
macrumors regular
 
Join Date: Aug 2006
Location: PTSD therapy
Quote:
Originally Posted by Mindflux View Post
I think if you option-click your iTunes icon (or cmd-option click maybe) it should come up and ask you if you want to rebuild the library...

this is starting with iTunes closed out completely.
Thanks for the suggestion but no joy.....

edit:

to be more precise, tried all key-combos and clicking on itunes icon and all it did was launch itunes.

Last edited by apb3; Nov 21, 2007 at 12:48 PM. Reason: clarification
apb3 is offline   0 Reply With Quote
Old Nov 21, 2007, 02:27 PM   #6
cptpower
macrumors regular
 
Join Date: Sep 2007
Location: Calgary, AB
are you able to open the xml file using textedit?
__________________
MacBook Pro C2D 2.2Ghz
cptpower is offline   0 Reply With Quote
Old Nov 21, 2007, 03:34 PM   #7
apb3
Thread Starter
macrumors regular
 
Join Date: Aug 2006
Location: PTSD therapy
Quote:
Originally Posted by cptpower View Post
are you able to open the xml file using textedit?
Yes. I was looking at this the last few days and there seems to be data corruption of some strings. NOt sure what it is supposed to be though and it looks to be extensive without some automated way of either picking out the "bad" data (and thus losing only the data for those files) or rebuilding the file completely. That sounds like wishful thinking though at this point.
apb3 is offline   0 Reply With Quote
Old Nov 21, 2007, 03:41 PM   #8
cohibadad
macrumors 6502a
 
cohibadad's Avatar
 
Join Date: Jul 2007
just pull a valid version off Time Machine. Or have you tried this? http://docs.info.apple.com/article.html?artnum=93313
cohibadad is offline   0 Reply With Quote
Old Nov 21, 2007, 07:27 PM   #9
apb3
Thread Starter
macrumors regular
 
Join Date: Aug 2006
Location: PTSD therapy
Quote:
Originally Posted by cohibadad View Post
just pull a valid version off Time Machine. Or have you tried this? http://docs.info.apple.com/article.html?artnum=93313
Don't have a recent backup (1 month or so... which is what I'm going to have to use and then just re-add the stuff added in the interim - was trying to find an easy fix). And that apple doc would help if the xml file wasn't corrupt. Which brings me back to the original question

Oh well, guess I'm going to have to bite the bullet and lose some data and manually re-add it.

It's just strange what itunes chooses to pull in when I tried to add my old music library back in en masse. It selectively skips stuff.
apb3 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
playlists songs gone, no iTunes Music Library file cgm707 Mac Applications and Mac App Store 1 Feb 14, 2014 01:09 PM
SUID file "System/Library/CoreServices" has been modified and will not be ... DJTaurus OS X Mavericks (10.9) 4 Feb 9, 2014 10:03 AM
How to rebuild a new iTunes library? Bronze84 Mac Applications and Mac App Store 0 Dec 8, 2012 01:47 PM
iTunes music library.XML not updating??? Bronze84 Mac Applications and Mac App Store 1 Nov 1, 2012 04:38 AM
iTunes Music Library XML Problem dominickvaris OS X 0 Aug 9, 2012 11:44 PM

Forum Jump

All times are GMT -5. The time now is 11:03 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC