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.

📰 Newsroom Update

Billie Eilish is Apple Music’s Artist of the Year for 2024. Learn more >

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

Apple Music no longer has a xml file.

How can you created one so Sonos can read your Playlists?

iMac 21.5″ 4K, macOS 11.2

Posted on Mar 30, 2021 1:21 PM

Reply
13 replies

Mar 31, 2021 6:10 AM in response to Jimzgoldfinch

You are correct. I am working on your suggestion that I Export the Library. So far, Sonos is not reading it. It is possible the NAS software is interfering or it just may take time for Mac to transfer the file to the NAS from which Sonos reads the Music.

To be clear, my Mac holds the Music files, syncs them with a Network (NAS) drive to which the Sonos is pointed.

Mar 31, 2021 5:58 AM in response to Community User

CatsAreCoolToo wrote:

I don't know if you've already tried this but if you go to Edit / Preferences / Advanced, You can check the option 'Share iTunes Library XML with other applications.


Hi,

This is not the case for the music app as it does not create a xml file automatically. As previously mentioned you can create one by using export library command.


Jim

Mar 30, 2021 3:03 PM in response to mallwalk

You get the XML file. No more, no less. The XML file is a plain(ish) text version of the library database that can be read by other software. The XML file created with Export Library should contain both a listing of all of the tracks, and all of the playlists. I've just tried it here in Catalina and the data appears to be there on a quick inspection.


tt2

Mar 31, 2021 5:36 AM in response to mallwalk

I don't know if you've already tried this but if you go to Edit / Preferences / Advanced, You can check the option 'Share iTunes Library XML with other applications.

I don't exactly know what it does but I hope it's pretty self-explanatory.


I hope this helps. :-)

-Casey Black

Mar 31, 2021 7:14 AM in response to mallwalk

Not only will you need to create the XML manually, but you'll probably need to direct your Sonos software to it. Any automatic system to read the iTunes version is unlikely to work the differently named file produced by Music in a different location. I'm afraid I don't have any practical experience with Sonos so I cannot tell you exactly how to get it working, but it should be possible.


tt2

Apple Music no longer has a xml file.

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