After spending almost an hour in a Chat and then a virtual session with Sonos support, I was left with the resolution of “I have no idea why your playlists are not coming in from your Apple music app.” This even after the tech in the virtual session re-pointed the Sonos app to the folder where everything was located, re-indexed and there were no imported playlists. I have my music on a networked drive that I have used for years with no problems, but the last time I made changes to the drive, I had to reformat and create my library from scratch.
After the first indexing, all the music was there, organized the way the Apple Music app sets things up but no playlists showed up. After searching these forums and finding info about exporting an .xml file, I did that. I put that file in the folder searched by Sonos, re-indexed but still no playlists. That’s when I turned to the Sonos tech folks.
A day after not having a solution from Sonos tech support, I had an idea that I tried and it worked.
Apparently, the Sonos software engineers haven’t kept up with Apple with regard to the file that is created when you export the library from the Apple app. That file gets the default name Library.xml. I searched back through some old files and found a previous music library .xml file that had the name iTunes Library.xml. I renamed the new file exported from the new Apple app (that replaced iTunes) from Library.xml to iTunes Library.xml. After re-indexing all the playlists were there in the Sonos app.
Bottom line is that the library file has to be named iTunes Library.xml or the Sonos app won’t read the file. Hopefully, this will save a lot of folks the frustration I went through.
Suggestion for the Sonos folks—how about coding the Sonos app to just directly read the library file that the Apple Music app uses and not require exporting that to an .xml file? That way, any changes to the music library made in the Apple Music app will automatically reflect in the Sonos app with nothing more than a re-index. If that is not possible for technical reasons, then at least update your support articles to reflect that the .xml file requires a specific name. Or update the Sonos app to read the file that Apple creates without having to change the filename. And, tell your tech support folks about the filename requirement until/unless the Sonos app is changed as suggested.