You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

What does "Share iTunes Library XML with other applications" do?

In Edit > Settings > Advanced there is the check box "Share iTunes Library XML with other applications". What does it actually do?


The docs say "Allow other applications to access your iTunes library." But what are the details of that?


I'm not seeing any iTunes Library XML file ever being created, like it was years ago. I believe now I have to do File > Library > Export Library to explicitly create an XML file. If that's the case, then what does that check box do?


Posted on Jan 21, 2023 9:43 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 26, 2023 3:55 PM

The XML file can potentially be used to rebuild a lost .itl file, however on import to an empty library each file needs to be at the location recorded for it in the XML file (can be edited if say the files are now on a different path), date added details will be reset, and iTunes will updated with any current embedded metadata rather what is in the XML file.


See Backup your iTunes for Windows library with SyncToy - Apple Community for my advice on backups. If you want the potential to recover from corrupted metadata it may be better to take the occasional snapshot of the .itl file. I have a script called ExportImport that can be used to export data from one .itl file (it may be necessary to temporarily rename the media folder so that iTunes cannot read the "current" metadata) and then import into another.


tt2

3 replies
Question marked as Top-ranking reply

Feb 26, 2023 3:55 PM in response to LolMaroon

The XML file can potentially be used to rebuild a lost .itl file, however on import to an empty library each file needs to be at the location recorded for it in the XML file (can be edited if say the files are now on a different path), date added details will be reset, and iTunes will updated with any current embedded metadata rather what is in the XML file.


See Backup your iTunes for Windows library with SyncToy - Apple Community for my advice on backups. If you want the potential to recover from corrupted metadata it may be better to take the occasional snapshot of the .itl file. I have a script called ExportImport that can be used to export data from one .itl file (it may be necessary to temporarily rename the media folder so that iTunes cannot read the "current" metadata) and then import into another.


tt2

Feb 26, 2023 12:46 PM in response to turingtest2

Does this mean I can then do "File > Library > Export Library..." (image below)...


...and then save an XML file (image below) so I can import said XML file at a later date to restore my Library as it was at that time?


Will all the metadata I manually filled in on tracks I imported be saved? Comments and all? (image below)


I'm just asking before testing myself cuz I don't wanna destroy all the work I've done over the years. :)

What does "Share iTunes Library XML with other applications" do?

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