"importing itunes music library.xml" pops up every time I launch iTunes

My MacBook Pro crashed this morning, requiring a "safe mode" restart. Anyway, on relaunch, everything seems to be working okay now. EXCEPT -- now whenever I first launch iTunes (after rebooting the computer), I get the popup progress box "importing itunes music library.xml" which is followed by a message about the iTunes library being moved to a "iTunes Library (damaged)" message when complete.
I guess my iTunes library has gotten corrupted somehow.
I've searched for this error message and found numerous posts, but all seem to be in reference to moving the iTunes music library from one computer to another.
Can someone assist me in how to correct this problem? I don't want to try resyncing my iPod without fixin this first...

same prob here, but mine goes one step farther (read: worse). i reported in the form from previous post, but no response yet.
in addition to displaying the "importing..." message, the system ultimately indicated that the file was damaged and saved a version as such. Over half my music is not shown in the new file, and thus not in itunes (though the music files are still there.
has anyone figured this out? would hate to have to individually add everytihg back.

Similar Messages

  • Can I manually edit the iTunes Music Library.xml file

    Here's why.
    Noticed on my Apple TV that there were a number of podcasts that when selected would say "Apple TV cannot play the current song".
    Looked in iTunes and these podcasts are no where to be found. Did some searches in Spotlight and also, turned up zeros. Not found.
    I then looked directly into my iTunes Music Library.xml file and sure enough there are the records.
    What is odd is that the location of all the bad songs have a similar invalid path.
    Bad path.
    <key>Location</key><string>file://localhost/Volumes/iTunes/iTunes/iTunes%20Music/Podcasts/KQED/podcast.mp3</string>
    Correct Path
    <key>Location</key><string>file://localhost/Volumes/iTunes/Music/Podcasts/KQED'/podcast.mp3</string>
    Now, all of these have dates that lead me to believe this was due to an iTunes upgrade back in September of 2005. It doesn't look like they are causing problems with iTunes itself. However, it is quite annoying for my Apple TV.
    Question. Is there a different way to fix this than just manually removing the entries from the xml file?
    I haven't tried to edit the iTunes Music Library.xml file just yet as I want to make I don't totally screw things up first.

    I did some additional testing here and I deleted the track information from the iTunes Music Library.xml
    On start up of iTunes, it does not add the deleted file back in. On the Apple TV, it still shows the bad file.
    What I think that means is that even the Apple TV gets its playlist information from another source.
    I have also started on another track which is to remove all of my podcasts from iTunes. Which I have now done.
    The only ones left are these bad tracks that only show up in the iTunes Music Library.xml file and more importantly on my Apple TV.
    I'd put this on the podcast or the Apple TV thread, but still believe this is an iTunes issue.

  • Itunes deleted my "Itunes Music Library.xml" file?

    Here are the facts (and then I'll pose the question):
    -Ipod 80gb Classic
    -Just upgraded to Itunes v. 7.4.2.4 (after following the pop-up window asking me to upgrade to the latest version)
    -Windows XP Pro
    -My "Itunes Music Library.xml" file and the "iTunes Library.itl" file are stored in "C:\Documents and Settings\XXXXXX\My Documents\My Music\iTunes" but all of my music/tv shows/etc are stored in another location on my HD
    Here's the problem:
    After I upgraded Itunes, the "Itunes Music Library.xml" file and the "iTunes Library.itl" file were replaced with brand new blank files (10kb and 32kb, respectively). When I open Itunes, the library is blank. All of the music files are still on my hard drive in the other location, but they do not show up in Itunes.
    When I plug in my Ipod (which still contains all of the music), Itunes says "The Ipod "my ipod" is synced with another Itunes library...What would you like to do?"
    Here's my question:
    How do I get Itunes to show the proper content that is already on my ipod and on my HD? I just need my old Itunes music library files back.
    Thanks in advance.

    One point where this seems to occur consistently is if you reboot or turn off Windows while iTunes is running, and have a largeish music collection.
    Explanation: Programmatically, iTunes main window apparently responds OK (=TRUE) to the Windows WM_QUERYENDSESSION message and at the same time starts to write the *.ITL and *.XML files to the hard disk. Meanwhile, Windows continues to end the session because - after all - it was OK'ed by iTunes. Now, if the iTunes music library is "large enough", Windows will finish ending the session before iTunes has finished writing said files, and the next time you run iTunes they'll turn up corrupt. This is a huge caveat during iTunes reinstallation, because most of the time a reboot is needed whilst iTunes will necessarily be running at the same time (consequently, if you have a largeish music library, always back up the *.XML and *.ITL files before reinstalling or updating iTunes!!!!)
    This is nearly an elementary bug, and a sad indication of the level of testing done by the Apple to products before they're released.
    Workarounds: I myself just frequently backup the *.ITL and *:XML files to a different directory, and restore if file corruption occurs. Another workaround is to have another program (say, Notepad.exe) with an edited but unsaved file currently open. When Windows session ends, you will have one extra chance to delay the session end, so that either you remember to close iTunes first, or if iTunes was closed first, it'll have enough time to complete writing the library metadata back to disk.
    Asian and European phone giants have nothing to afraid about iPhone, if iTunes and iPod classic are any indication of its quality.

  • Topics: iTunes Music Library.xml

    How can I import my iTunes Music Library.xml into a spreadsheet or database?

    After examining the file, I realized it was a Applescript file.  Using Info to change the opening app to text edit fixed the problem.  It no longer turns into a game file. PFL

  • ITunes not opening, "iTunes Music Library .xml"

    Hi, my iTunes wont start up and its currently stuck on -
    Importing -
    "iTunes Music Library .xml"
    But nothing else seems to be happening.
    Not sure what to do and I really don't want to lose all my play counts & playlists I have compiled over the last 5 years.
    Please Help!
    Thanks.

    I eventually got around to trying to fix this problem but what I did was to let the message -
    Importing - "iTunes Music Library .xml"
    - continue to see what happens and after about 20 minutes it said my 'iTunes Music Library .xml' was damaged and was going to create another, so I let it do so.
    The good news is everything is fine, all my playlists, play counts, ratings etc are there.
    The bad news is the amount of songs!
    I always keep a log of my iTunes Library in iCal everytime i buy a new CD and rip it.
    I had - 24,105 Songs, 85.1 Days, 129.79 GB
    I now have - 22,842 songs, 80.4 Days, 123.76 GB
    So looks like I have lost or so it seems 1,263 songs!
    Any ideas?
    Thank You.

  • ITunes Library.xml versus iTunes Music Library.xml

    Hi.
    What is the difference between the two?
    Thanks

    From this article: http://support.apple.com/kb/HT1660
    iTunes Library (iTunes Library.itl in Windows) is a database of the songs in your library and the playlists you've created. Some song-specific data is saved in this file. If you delete the file, iTunes creates a new, empty copy when you open the application, but any playlists, song ratings, comments, or other information you created is lost. The iTunes Library file is only used by iTunes.
    iTunes Music Library.xml file contains some (but not all) of the same information stored in the iTunes Library file. The purpose of the iTunes Music Library.xml file is to make your music and playlists available to other applications on your computer. In Mac OS X other iLife applications (like iPhoto, iDVD, and iMovie) use this file to make it easier for you to add music from your iTunes library to your projects.

  • Remaining junk in iTunes Music Library.xml

    Hello all,
    while browsing the cover view of iTunes, I discovered 2 remaining covers from a podcast and a TV-Show which I already deleted long time ago. Just the covers were listed and as the original files are gone, I neither could work/edit them nor could I delete them.
    I checked the "iTunes Music Library.xml" and found 2 entries representing the old podcast/TV-Show.
    Now I would like to know, how I can get rid of those. If I delete the xml file, it is being rebuild with exactly the same error.
    Any ideas out there?

    When you add things to your library, iTunes creates folders to hold the files. You may have deleted the podcast and TV show files, but the empty folder could still be in your iTunes folder and showing up in your library. Can you check to see if there are empty folders that need to be deleted? I don't have any podcasts or TV shows in my library to figure out where these might be located. But, do you have a podcast and TV show folder inside your itunes main folder similar to the iTunes music folder? If you do, look inside these for the empty folders.

  • ITunes Music Library.xml not updating when adding new songs

    I have about 150.000 music tracks on my iMac and iTunes didnt have any difficulty with it. When using the songs in DJ program Native Instruments Traktor Pro, this program checked the latest update of the iTunes Music Library.xml file and everything went ok. Whenever I changed a smart playlist or added songs, my Traktor looked at the updated .xml file and Traktor updated it's own files.
    SUDDENLY, and I dont know why, this iTunes Music Library.xml file did not update anymore. Whenever I change a song or add a song, the 'update date' in my finder next to the iTunes Music Library.xml file stays the same (1 May 2010) This means my DJ software does not show the updated/added songs...
    Plse help... what should I do... I am a professional DJ and I especially bought this iMac for the purpose of DJ'ing. Because of this issue, I can't use it anymore...

    try if the suggestions in this thread help: http://discussions.apple.com/thread.jspa?threadID=2168081&tstart=0.
    JGG

  • Description column and iTunes Music Library.xml??

    I see that there is a column in Itunes called description. I'd like to use it to store information but Itunes doesn't give me access to it. Why is it there then? I tried to open iTunes Music Library.xml file and add a description tag but that doesn't work. Does anybody ever tried to edit the xml file?
    Thanks
    JL
    PC   Windows XP  

    I found an update from sony (entertainment platform update)

  • How to avoid the dtd validate of the "iTunes Music Library.xml " when read?

    Hi all,
    In the article of What are the iTunes library files?("http://docs.info.apple.com/article.html?artnum=93732" ),there is something about the function of "iTunes Music Library.xml " of iTunes.I can get information by reading this xml file.But this file must be validated online(dtd validate).When the net is unconnected,the web exception may be threw.How to avoid the dtd validate of the "iTunes Music Library.xml " when read?Thank you.

    You can do this with YamiPod (Free)
    http://www.yamipod.com/main/modules/downloads/
    Or manualy:
    Here is a link to where it tells how to do this manualy:
    http://discussions.apple.com/message.jspa?messageID=797432#797432

  • Every time I launch iTunes I get the message: "Do you want the application iTunes.app to accept incoming network connections" Any suggestions?

    every time I launch iTunes I get the message: "Do you want the application iTunes.app to accept incoming network connections" Any suggestions?

    Just fixed this on my machine, the easiest way to remove this pop-up assuming you are no longer needing that software to print is the following:
    Open Finder
    Go > Go To Folder...
    Type In: "~/Library/Application Support"
    Delete All Folders Named Kodak
    Open System Preferences
    Go to "Security & Privacy"
    Click the lock and enter your admin password
    Click the Firewall Tab
    Go to "Firewall Options..."
    Find KodakAiO
    Right-click KodakAiOBonjourAgent or equivalent (I forget the exact name)
    Click "Show in Finder"
    Go Back to a folder and delete the Kodak Folder there.
    Remove Kodak from Firewall Options by selecting it and clicking the " - " button the base of the list.
       or
    Open Finder
    Go > Go To Folder...
    Type In: "~/Library/Printers"
    Delete All Folders Named Kodak
    I'm going off memory, so If I forgot something let me know.

  • Why does iTunes invite me to log on every time I launch it?

    Why does iTunes invite me to log on every time I launch it? It never used to do this. How can I stop it ? When I open the app I usually want to just listen to the music collection I have in it, not download anything or buy from the store.
    How can I stop this default ?

    I have checked and it isn't.
    This never used to happen, but I suspect something changed at the last iTunes update.

  • Get Sign In dialogue every time I launch itunes!

    Suddenly I'm getting a dialogue box to sign in every time I launch iTunes. It's very annoying. Does anyone konw why or how to dimiss it. I tired looking in the iTunes preferences and my iTunes account but I can't find any way to make it remember me.

    Thank you for your unhelpful reply. I did a search and got nothing form the searach engine.
    If you've nothing positive to add (you didn't even bother to paste a link to one of these threads) then don't waste other people's time by posting pointless responses. Maybe you've nothing to do all day but some of us have a life.

  • Every time I launch iTunes I get message "We could not complete your iTunes Store request. An unknown error occurred (4002)." Anyone know what this is?

    Hi everyone. Every time I launch iTunes I get a message "We could not complete your iTunes Store request. An unknown error occurred (4002)." Anyone know what this is or what I need to do to stop it? Any suggestions much appreciated.
    Geoffrey

    Re: An unknown error occurred (4002).
    This might solve your problem....

  • Every time I launch itunes it always asks for password

    Every time I launch iTunes it always asks for password. I have no pending downloads or app updates. Nothing. There is no downloads plist to delete, no preferences to set - Fed up wth this. Been searching for answer for months. iTunes Store help just gives the runaround.

    Good idea, thanks, but no, that didn't solve it. Any other thoughts?

Maybe you are looking for

  • What is the use of Alternative Calculation Type =2 and 4

    Dear Friends In pricing procedure in gross value, Net value for Item and Net value has Alternative calucation type is 2. What is the use of it? Without using it these value line are also fetching net value then what is the work of it. Please give me

  • Strange problem: ORA-01403: no data found when report has a sort

    Hi, I have a report which behaves very strangely but only for one particular user. The report runs fine when no columns are set as sort-by in the report attributes. As soon as I try and set a column to sort (any column, it doesn't matter) this user g

  • Lost beats audio

    Have an HP Pavilion dv6 running Win 7.  Was listening to Pandora in Firefox  -   went to Beats Audio to adjust sound.  On the Volume screen, I clicked on the white box at lower right of the third speaker volume control.  Sound stopped and I can't get

  • Update iPhone to version 4.3.3 from 4.1 version.

    I try to update my iPhone to version 4.3.3 from the current 4.1 version. I click UPDATE, and I get an answer that says my iTunes version 9.2.1 is the current version.My iPhone is stuck at version 4.1. Thanks Eyad Khalil

  • Business Objects Training

    Hi I am a SAP BI Consultant/Developer. I am intrested in Attending Business Objects Training. Can any one update me with the List of BO courses that are apt for SAP BI Consultant/Developer