Force iTunes to recreate Library.xml from iTunes Library.itl

Updated playlists in iTunes are not showing up when I export them using iTunesExport and I'm guessing it's because Library.xml has not been updated. How do I force iTunes to update/recreate Library.xml?

Posted on Oct 8, 2024 7:06 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 8, 2024 11:58 AM

Thanks. I just enabled the Preferences - Advanced - Share iTunes Library XML with other applications and I'll play around some more


Edit: interestingly enough when I did that it created an iTunes Library.xml file which has the update playlist data in it.


Come to think of it now, I think i created the original Library.xml file (via file export Library) and then forgot that I had done so...

3 replies
Question marked as Top-ranking reply

Oct 8, 2024 11:58 AM in response to Limnos

Thanks. I just enabled the Preferences - Advanced - Share iTunes Library XML with other applications and I'll play around some more


Edit: interestingly enough when I did that it created an iTunes Library.xml file which has the update playlist data in it.


Come to think of it now, I think i created the original Library.xml file (via file export Library) and then forgot that I had done so...

Oct 8, 2024 10:48 AM in response to namaste1961

The stuff below is something I copied an pasted from a support article several years ago. The article no longer exists as such and now you have to painstakingly work your way through Apple's new user information files to try to find information. I probably also took it from a Mac version. Still, it might provide you with some leads.


About iTunes library files - iTunes - Official Apple Support - new with iTunes 12.2, preference setting to not create .xml


"About the iTunes Library.xml file




The iTunes Library.xml file contains some, but not all, of the same information that's stored in the iTunes Library.itl file. The purpose of the iTunes Library.xml file is to make your music and playlists available to other applications on your computer, such as iPhoto, Garageband, iMovie, and third-party software, in OS X Mountain Lion and earlier. These applications use this file to make it easier for you to add music from your iTunes library to your projects. By default, iTunes 12.2 and later doesn't create an iTunes Library.xml. If you're using OS X Mountain Lion or earlier or a third-party app that uses the XML file, you need to enable Legacy library XML support"


Do you still see a .xml file? If you do, have you tried moving it elsewhere and then start iTunes to see if it creates a new one?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Force iTunes to recreate Library.xml from iTunes Library.itl

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.