I have been using Sonos controller to play my iTunes playlists on Sonos. I’ve been using it for over two years. Suddenly only a handful of old playlists (some not even on iTunes at this time) are showing in Sonos music library. None of my recent playlists show up when I update the music library. After looking for solutions, I tried to export the .xml file for the playlist BUT the .xml files are now showing up as Microsoft Edge html files. Is that why Sonos does not recognize them??? The path to the iTunes music folder is correct but the playlist and library files in that folder are html not xml. If I open the file in notepad it looks like the correct .xml file but will not save as an xml file. Is there anyway to fix this and get my playlists back on Sonos??? Thanks
You can see the types of files Sonos can ‘see’ in the supported audio formats FAQ. You’ll note HTML isn’t in there. Note that Sonos only reads existing files, it doesn’t ‘do’ anything to them.
It sounds like you’re using a non-music application to deal with music files. Normally speaking, they don’t support music formats as a ‘save’ function, as that isn’t what they’re designed for.
Many years ago, on a machine that may have been retired, I downloaded a free version of mp3.tag, or something like it. It had the capability at the time to open music files, make certain changes, and save them as music files. I’ve not used this application in a very long time, but if you’re concerned about a ‘save as’ function, I’d encourage you to look much further than a text editor, which is designed to work with text, not music files.
I have been using Sonos controller to play my iTunes playlists on Sonos. I’ve been using it for over two years. Suddenly only a handful of old playlists (some not even on iTunes at this time) are showing in Sonos music library. None of my recent playlists show up when I update the music library. After looking for solutions, I tried to export the .xml file for the playlist BUT the .xml files are now showing up as Microsoft Edge html files. Is that why Sonos does not recognize them??? The path to the iTunes music folder is correct but the playlist and library files in that folder are html not xml. If I open the file in notepad it looks like the correct .xml file but will not save as an xml file. Is there anyway to fix this and get my playlists back on Sonos??? Thanks
Are you exporting the .xml file from iTunes as mentioned in this link…
https://support.apple.com/en-gb/guide/itunes/itns2998/windows
What makes you say the format is HTML? Is that the extension listed on the file, or has your OS been set to open .xml files using Microsoft Edge? I’ve had to struggle in the past to keep Edge from taking over my windows OS, despite the fact I don’t want to use it.
Again, thank you for trying to help me out. When I check “properties” of the file it says “Microsoft Edge HTML Document”. Interestingly I just checked my back up files as far back as 2021 and as recently as January 2025. On the backup folders the files have the Edge logo BUT the details show iTunesLibrary.xml. I copied them from my backup and pasted onto my desktop to see what would happen...once on the computer they became Edge HTML document. So I don’t know if they are really still xml and just have the HTML document label or if they are truly HTML documents. I appreciate your efforts to help.
It sounds like you’ve defined the OS to open .xml files in Microsoft Edge (or, more likely, Microsoft did this for you).
I need to go to my windows machine (I’m mostly iOS and Mac) to figure out how to alter this, I don’t recall off hand.
Here is a good reference:
https://td.usd.edu/TDClient/33/Portal/KB/ArticleDet?ID=9080
I’d first download and install
so you have something to point the OS to. For all I know, it may automatically, during the install, set the OS to open the necessary files in it, rather than Microsoft Edge.
Thank you Bruce
I will certainly give it a try!
I have the same problem. Were you eventually able to resolve it eg by implementing Bruce’s suggestion?
I am surprised there has not been more “outrage” about this,,,It seems that as a result of a recent update Windows has automatically converted all iTunes xml files into Microsoft Edge HTML Documents which cannot be read by Sonos. The files are still in xml format but subtle changes make them incompatible with Sonos/iTunes.
I have tried to make iTunes the default programme to open .xml files but Windows will not allow this.
Surely there must be some way to reverse Microsoft’s highhanded action which makes it impossible to uss Imported Playlists on Sonos.
Hello ANRM
I solved it a different way than Bruce suggested. It wasn’t that Sonos wasn’t reading the HTML correctly. iTunes on my new machine was looking for the ITL file in the iTunes folder on the desktop. (upon loading iTunes on the new computer, it created a new ITL on the desktop - of course that new ITL had no info in it) I had my original ITL on the external drive with the libraries. Once I realized this, I just copied the ITL from the external drive and placed it in the iTunes folder on the desktop and it worked fine. Hope this helps you.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.