Previous 1 2 3 Next 40 Replies Latest reply: Apr 2, 2016 8:02 PM by thekopfc
juniortai Level 1 Level 1
the title basically says it all... my iTunes Music Library.xml inside my itunes folder is dated last modified 9/16/09 at a 6:53PM... I've opened itunes and have added new music to my library BUT the iTunes Music Library.xml doesn't update (therefore my DJ program, Serato Scratch Live, doesn't show the newly added songs as well as new changes in my iTunes playlists).

I've upgraded my itunes from 8 to 9, i've upgraded my serato scratch live from 1.9.0 to 1.9.1, the latest.

I've moving my iTunes Music Library.xml to another location, relaunching iTunes, going to File, Library, Export Library to create a new xml at any location but it does not appear when i create it.

I've redownloaded itunes 9 but same thing unfortunately. Any suggestions?

MBP 15", Mac OS X (10.5.8)
  • Chris CA Level 9 Level 9
    My first guess is the iTunes folder your iTunes is using is different than the one you are looking at.
    Is the new music you added in the iTunes music folder in this iTunes folder?
  • Elektrolyte Level 1 Level 1
    I am having the EXACT same problem as above mentioned, but this thread was never responded to and I can't seem to find the answer anywhere else. I am having the same problem with my scratch live not reading my updated iTunes playlist. I have added new songs and rearranged some of my playlists, but my scratch live is not finding the updates, rather it is reading an old version of my playlist (no new songs, no new updated or rearranged playlists, and some songs that were deleted from my itunes are still showing up). I though it may be a problem with scratch live, but after researching their support threads, I have found the problem is in the iTunes files. When I update or change my iTunes playlists, the "iTunes Library" (iTunes Database File) is always and immediately modified. From what I gather, the "iTunes Music Library.xml" file should also be modified every time the playlists in iTunes and the corresponding "iTunes Library" file are modified, correct? For some reason the iTunes Music Library.xml stopped updating. This has now happened twice. On Saturday Nov 14th, I noticed my playlist was not updating in Scratch Live. After researching, I noticed my Library.xml file had not been updating since Nov 8th. After trying many different things with no success, I deleted my playlist file and started over. This was Wednesday Nov 18, and everything seemed fine. When I updated my playlists in iTunes, both my "iTunes Library" and "iTunes Music Library.xml" files were being modified when I would make changes. After a day and a half of working properly, I noticed the same problem. My "iTunes Library" was last modified at 5:54 am, the last time I made a change in iTunes, but the "iTunes Music Library.xml" file says it has not been modified since yesterday at 1:41 am, over 24 hours ago. So after I thought the problem was fixed, it started happening again. Is this a glitch in iTunes? So... the situation is exactly the same as the description that started this thread, but was never responded to. To answer...
    My first guess is the iTunes folder your iTunes is using is different than the one you are looking at.
    Is the new music you added in the iTunes music folder in this iTunes folder?
    I only have 1 iTunes folder, so I can only be looking in 1 iTunes folder. The new music I added to iTunes is in the iTunes Folder, and is on the iTunes Library, but the xml file is not updating accordingly. I have searched for other discussions or threads on this problem, but they either lead to nowhere or have different details. Can you please help?
  • Clane912 Level 1 Level 1
    Same thing is happening to me since I bought the Vestax Spin from the Apple store. My Itunes Library is fine, but the Itunes Music Library.xml will NOT update. This has been going on for several days now and I am at my wits end. PLEASE HELP.
  • Tracy Reynolds Level 3 Level 3
    Mac OS X
    Interesting. I've been experimenting with Beatport Sync, which also reads this Library file. I have had no problems. Could your Dj program be changing the permissions on the .xml file so it can't be written over? But I would think that if this were the case iTunes would give the "can't save iTunes library" error message when closing iTunes.

    In the past when I deleted the .xml file (or moved it) a new .xml file was created as soon as iTunes was launched.

  • Elektrolyte Level 1 Level 1
    I am still having this problem and have gotten no helpful response. I even deleted my entire iTunes and iTunes library. I copied the songs I wanted to keep to another folder, deleted everything associated with iTunes, and re-downloaded the entire application. Less than 20 minutes after installing iTunes, the iTunes Music Library.xml file stopped updating. I didn't even have a chance to add in all of my songs before it stopped updating the file. Please help!
  • Arseniy Ivanov Level 1 Level 1
    Okay, it seems I have figured out something here.
    XML creation crashes on some of the characters that it's unable to convert to XML-entities correctly.
    In my case, it was this particular sequence in the Composer field, which made it crash.

    54 43 4F 4D 00 00 00 15 00 00 01 FF FE 9E DA

    So just check whether any of your files contain some kind of weird characters.
    The following method might be helpful:

    1. Create new smart playlist with a rule "Playlist is Music"
    2. Set limit to approx half your library size, ordered by Artist
    3. Try to export in XML the playlist via File -> Library -> Export playlist
    4. If the file has been created, delete it, increase the limit by some amount; if the export has failed, decrease limit by some amount.
    5. After several tries you will find a limit number, after which the creation fails. Go down to the end of this playlist and check the info of the file.

    It also might happen that several files contain those nasty characters, so you will have to clean them all up.
  • Johnny Jr Level 1 Level 1
    Arseniy is a genius. I have been trying to solve this same issue for months. I undertook the painstaking (yet clever and effective)process outlined in Arseniy's post to isolate the music files that are prohibiting the XML file from updating itself. I found that the following symbols contained within the music file names were the issue, and once removed, the XML file updated itself automatically. Perfecto!

    I'd remove all symbols except possibly commas, apostrophes, underscores, hyphens, but these definitely created the problem for me: "&", "." except those of course that distinguish the type of music file (like ".mp3" or ".m4p", etc.), "#", "+", etc.
  • Jonathan Feldman Level 1 Level 1
    I was having the same problem. I've been trying to use this program called Tune Up and it wasn't finding a lot of songs (also has the problem with Djay and verified same problem in iPhoto). Tuneup Support suggested that I delete my iTunes library file and make a new one by reimporting my XML file, which is an odd suggestion since that's the file that I found was not being updated.
    Instead I looked at the modification date of the XML file and then went to my iTunes library and found the last song I imported at that time and date. And what do you know, I found some gibberish looking character in the composer field of that mp3. Right after fixing that I saw that the XML file updated.
    So checking your XML modification date and comparing it against the Date Added field of your library is another method of checking.
  • Dodik Level 1 Level 1
    Great debugging.
    Very helpful.
    Problem solved.

  • findjacko Level 1 Level 1
    all good replies although i've now deleted all composer data, hunted through the library for peculiar characters and still no result...

    the xml file is stuck in mid '09 (i think i had to reinstall windows around then) and i've reinstalled itunes & the music folders since then.

    any other suggestions?
    how can i create a new library xml file from scratch?

    thanks, this is driving me mad...
  • DJ HI-Vibes Level 1 Level 1
    I have the same exact problem. itunes wasn't updating the xml, and traktor thus couldn't read any updates. went to the date where it stopped updating, seen 3 albums around that date and made smart playlists for those albums and tried exporting an .xml file for that playlist. it only stopped exporting with one of those albums. so i checked that album for odd characters, but there was nothing out of the ordinary that i haven't done before, so i ended up deleting a duplicate song and the 3 of the songs i didn't really like. the library now exports an .xml file! so i guess you never know what it could be just check anything out of the ordinary around the screw up date. i hope apple fixes this in their numerous updates.
  • pcorrect Level 1 Level 1
    Thanks to Arseniy and Johny Jr.

    This led me to find that a 'dropbox' type application called Zumodrive that allows you to share your music from iTunes library so you can play from your iPhone at any time was holding the iTunes Music Library.xml file open and not allowing iTunes to update it so Serato was opening a stale copy all the time.

    So it got the bash on the head and now all good.

  • roodyvazquez Level 1 Level 1
    How do you know which characters/codes are the one's that are affecting the .xml file to not update?
  • TamasK Level 1 Level 1
    I have succesfully recovered from this issue. In fact I deleted the «iTunes Library.xml» file and had no backup. So I had to rebuild the XML, but I had no clue how to do that (I used PowerTunes). iTunes could not rebuild the XML correctly. According to this topic the solution was to get rid of the annoying characters. Instead of the xml exporting stuff I was using my iPhone and the Apple Remote App to quickly and efficiently scroll through the artists, song names etc.

    I found that in my case the artist names had the annoying characters... All I can say that those charcacters were not latin characters. Remember it was my case, maybe yours are different.

    Anyway, you can rebuild the iTunes Library.xml with the help of PowerTunes which is a powerful library tool.

    Good luck!
Previous 1 2 3 Next