ironteeth

Q: Itunes XML missing!! Nothing has worked to make a new one

I am currently running iTunes 12.3.2.35 on OS X 10.11.3. After installing iTunes 12 my .xml file disappeared. I have since been unable to recreate the file. So far I have checked the option "share iTunes Library XML file with other applications" and have tried to export the library as XML file. Neither has produced an XML file. I am looking in the correct location and have searched for the file on my computer and there is none to be found. The only other thing to note is that I have a very large library and it is therefore stored on an external hard drive. But it has been this way for a long time and I had no issues with an XML file being created or updated previously. Also to note, this was a new install on a fresh computer so there are no old versions of the XML file. Also iTunes is otherwise operating very well, no other issues of note... it hangs sometimes but that seems to be the norm for a large library on an external drive. I am going crazy trying to figure this out. I wouldn't mind because everything is otherwise working but I know I have massive amounts of duplicates and I am wanting to run some kind of duplicate management program but they all operate from the xml file. Any help would be greatly appreciated. Oh I have also tried removing the ITL file to the desktop and rebuilding the entire library.... twice! Which took me forever! That didn't work either.

Posted on Feb 13, 2016 11:19 AM

Close

Q: Itunes XML missing!! Nothing has worked to make a new one

  • All replies
  • Helpful answers

Page 1 Next
  • by turingtest2,

    turingtest2 turingtest2 Feb 13, 2016 11:36 AM in response to ironteeth
    Level 10 (85,361 points)
    iPod
    Feb 13, 2016 11:36 AM in response to ironteeth

    The XML file should be created in the same location as the active iTunes Library.itl. You should see that the ITL file is updated each time you open and close iTunes so there should be no doubt if you have the right location. I'm somewhat surprised that actively exporting an XML to say the desktop doesn't work, but iTunes does have a habit of failing silently when it can't/won't do what is asked of it.

     

    tt2

  • by Chris CA,

    Chris CA Chris CA Feb 13, 2016 11:38 AM in response to ironteeth
    Level 9 (79,451 points)
    iPhone
    Feb 13, 2016 11:38 AM in response to ironteeth

    Just curious. what are you needing the .xml for?

    I am looking in the correct location

    which is where?

    What files are in /Music/iTunes/ folder?

    Take a screen shot & post it here.

    Oh I have also tried removing the ITL file to the desktop and rebuilding the entire library.... twice! Which took me forever! That didn't work either.

    When you rebuild the iTunes library, it uses the .xml file.

     

    What is shown in iTunes prefs > Advanced and the Tunes media folder location?

    Look there for the .itl file.

  • by ironteeth,

    ironteeth ironteeth Feb 13, 2016 11:47 AM in response to turingtest2
    Level 1 (4 points)
    iTunes
    Feb 13, 2016 11:47 AM in response to turingtest2

    Yes I am surprised as well! It hangs for a second like its going to start saving and then is done... with no xml file. I see the iTunes Library.ITL file. It is in user/Music/iTunes which is where I am choosing to save the XML file and nothing appears.

  • by turingtest2,

    turingtest2 turingtest2 Feb 13, 2016 11:50 AM in response to ironteeth
    Level 10 (85,361 points)
    iPod
    Feb 13, 2016 11:50 AM in response to ironteeth

    Try exporting a small playlist in XML format to the iTunes folder and to the desktop, just to prove it works for both. Perhaps there is some feature of the library that is causing a hiccup.

     

    tt2

  • by ironteeth,

    ironteeth ironteeth Feb 13, 2016 11:51 AM in response to Chris CA
    Level 1 (4 points)
    iTunes
    Feb 13, 2016 11:51 AM in response to Chris CA

    I am needing the XML file to use with other third party applications... specifically I want to run a program to find and help me eliminate duplicate files in the library.

     

    I rebuilt the iTunes library from scratch without an XML file. I created an all new iTunes and then imported all of my files to create a new clean library. I was worried about the previous library possibly being corrupt.

     

    Like I said before the iTunes library file is located on my main HD while the media folder is located on an external drive. The XML file is not on the external drive either. I can find the ITL file, just not the XML file.

     

    Screen Shot 2016-02-13 at 11.48.16 AM.png

  • by turingtest2,

    turingtest2 turingtest2 Feb 13, 2016 11:55 AM in response to ironteeth
    Level 10 (85,361 points)
    iPod
    Feb 13, 2016 11:55 AM in response to ironteeth

    Something is odd, I don't expect to see those plist files there.

     

    tt2

  • by ironteeth,

    ironteeth ironteeth Feb 13, 2016 11:59 AM in response to turingtest2
    Level 1 (4 points)
    iTunes
    Feb 13, 2016 11:59 AM in response to turingtest2

    It was able to export the playlist as an XML to the desktop, but still will not produce a library xml file.

  • by turingtest2,

    turingtest2 turingtest2 Feb 13, 2016 12:01 PM in response to ironteeth
    Level 10 (85,361 points)
    iPod
    Feb 13, 2016 12:01 PM in response to ironteeth

    Would it write one out to the iTunes folder? If not there may be a permissions problem with the folder.

     

    tt2

  • by Chris CA,

    Chris CA Chris CA Feb 13, 2016 2:51 PM in response to ironteeth
    Level 9 (79,451 points)
    iPhone
    Feb 13, 2016 2:51 PM in response to ironteeth

    I also don’t see a Previous iTunes libraries folder (unless you deleted it).

  • by ironteeth,

    ironteeth ironteeth Feb 14, 2016 7:43 AM in response to turingtest2
    Level 1 (4 points)
    iTunes
    Feb 14, 2016 7:43 AM in response to turingtest2

    It will write an XML playlist to the iTunes folder, but nothing happens when I try to write an XML of the library. I have tried writing the XML to the desktop too. Same thing... it will write a playlist XML but not a library one.

  • by ironteeth,

    ironteeth ironteeth Feb 14, 2016 7:45 AM in response to Chris CA
    Level 1 (4 points)
    iTunes
    Feb 14, 2016 7:45 AM in response to Chris CA

    You are correct there is no previous iTunes libraries folder. I have not deleted it per se, but one has not been created since creating my "fresh start" library about  3 or 4 months ago... which may be a related issue.

  • by ironteeth,

    ironteeth ironteeth Feb 14, 2016 7:49 AM in response to ironteeth
    Level 1 (4 points)
    iTunes
    Feb 14, 2016 7:49 AM in response to ironteeth

    I appreciate all of the responses and attempts to figure this out.... it has really been driving me crazy for a while now. This is actually my first issue I have not been able to solve on my own or by doing some research on forums and general internet searches. So any help from advanced users would be greatly appreciated!

  • by turingtest2,

    turingtest2 turingtest2 Feb 14, 2016 7:52 AM in response to ironteeth
    Level 10 (85,361 points)
    iPod
    Feb 14, 2016 7:52 AM in response to ironteeth

    What happens if you create a new empty library and add a few test songs to it? Will that generate the XML if the option is enabled?

     

    FWIW if your media is on an external drive I would normally put the library files there too. See Make a split library portable for details. If you end up having to start over it may pay to start by making a new library in the root of the drive, check that it is making an XML, and then gradually add media to it while keeping an eye that the XML is being updated.

     

    tt2

  • by ironteeth,

    ironteeth ironteeth Feb 14, 2016 9:43 PM in response to turingtest2
    Level 1 (4 points)
    iTunes
    Feb 14, 2016 9:43 PM in response to turingtest2

    I didn't know that putting the library files in the root of the external was possible... that would have been very useful before I rebuilt the library. I may rebuild it just to have it more convenient. Can I just move the ITL file to the external drive or do I have to rebuild the library by importing all of the files again? My library is an excessive 10TB so I would rather not have to re-import again. Also I thought the overall performance would be better if I kept the ITL and XML files on the startup drive rather than the external, is there any truth to that assumption? Since its an extremely large library performance is an issue... although Apple claims library size doesn't affect performance.... but I am not so sure.

Page 1 Next