Skip to main content
Contributor I
May 16, 2024

How to solve the Error 913 (Music Library) on a Mac

  • May 16, 2024
  • 251 replies
  • 34532 views

There is a reported bug fix coming mid-June 2024. If you can’t wait until then…

(I did this running Sonoma 14.4.1) And thanks to folks in a separate thread on the details - just tried to put them all in one place.

I made a video of the process if you prefer that way: https://youtu.be/kjhKhDuvgDY


Part 1 - Set up the share (System Settings/Preferences)

  1. Open System Settings (in earlier MacOS it’s called System Preferences).
    • Click on the apple in top left of your screen to find that option.
  2. Choose General
  3. Select **Sharing**.
  4. Enable **File Sharing**
  5. Click the "i" symbol
  6. Click the "+" symbol.
  7. Add a shared folder by choosing the folder where your music is stored and selecting Open
    • The name of the folder here will be the ShareName that you’ll use in Part 3.
  8. Under ‘users’, confirm that the list includes an ‘everyone’ option, and that you set ‘everyone’ to *Read Only* at a minimum (or “Read & Write”)
  9. Ensure the customer's account is set to **Read & Write**
    • I’m not 100% sure ‘customer’s account’, but I took it to mean the account I login with on the computer.
  10. Click the Options button
  11. Ensure that both SMB and the customer's account below are checked and choose Done. 

Part 2 - Find your computer’s name

  1. At the bottom (or sometimes top in earlier versions of macOS) of the Sharing page, you’ll see Local hostname. Everything before the .local is the hostname. Copy that down - that will be your MacName that you’ll need in Part 3.

 

Part 3 - Add the share to Sonos

  1. Open the Sonos app on your mac.
  2. Choose Manage > Music Library Settings
  3. Choose the + for your music folders.
  4. Instead of ‘another folder or drive’, choose Networked Device
  5. Type the network path name when prompted, and press Next. The format will be \\MacName\ShareName
    • Remember the ShareName and MacName you captured earlier? This is where you’ll use them. Make sure the \ are the right ones (not /, but \).
  6. Enter the Mac username and password. The password is the same as when you login opening your laptop.
    • If you’re not sure about the username, you can find it this way:
      • Open an app called ‘Terminal’ on your macbook. (Go into Launchpad and type ‘term’ and it’ll show up)
      • Type whoami and press enter. 
      • The result that shows is your username. (e.g. Perhaps my computer shows my login name as Salami Slices but my username technically is different (salamislices)). Copy and paste that into the username that Sonos is asking for.
  1. If that doesn’t work, someone had mentioned trying the following:
    • From System Settings, on left side, choose ‘users and groups’
    • Click on the ‘i’ next to Guest User
    • Enable “Allow guest users to connect to shared folders” and choose OK.
    • Now, from Sonos app, when get prompted for username and password, leave them blank and just choose enter.
      • The idea is it would treat it as a guest and since gave access to guests, will work.

 

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

251 replies

Ken_Griffiths
July 22, 2024

@krez56

Make sure you have updated the App by going to the Mobile device Apo Store and seeing if the Sonos App shows as being up-to-date.

Then…
In the Sonos App select "Settings (gear icon top right of screen)/System” goto "Manage” (above your system products) and select Music Library in the list below ‘About Your System’, ‘Alarms’ etc. I believe it should be in that list, probably just above ‘Network’. At least that’s where I think it is - let me know if you find it?

Yes - found it. Thanks! But my only option is the fake NAS that I have been using, so I need to keep exporting and renaming playlists when I change one. I was hoping to go back to the before-May app ability where I just had to hit Update Music Library to get the playlists updated.

There should be a ‘scan’ option - to get the index updated?

Trending Lyricist II
July 22, 2024

@krez56

Make sure you have updated the App by going to the Mobile device Apo Store and seeing if the Sonos App shows as being up-to-date.

Then…
In the Sonos App select "Settings (gear icon top right of screen)/System” goto "Manage” (above your system products) and select Music Library in the list below ‘About Your System’, ‘Alarms’ etc. I believe it should be in that list, probably just above ‘Network’. At least that’s where I think it is - let me know if you find it?

Yes - found it. Thanks! But my only option is the fake NAS that I have been using, so I need to keep exporting and renaming playlists when I change one. I was hoping to go back to the before-May app ability where I just had to hit Update Music Library to get the playlists updated.

There should be a ‘scan’ option - to get the index updated?

There is, but that will only access the exported xml file - not the Music Playlists that I update but don’t export. I’d test it, but being able to actually use imported playlists won't work until at least the end of the month update. The previous S2 app auto-updated any playlists when the library was scanned - no Apple Music Library export necessary. But that was back when it was possible to add that library without creating a fake NAS. Sigh.

Apple Music Library user
Ken_Griffiths
July 22, 2024

There should be a ‘scan’ option - to get the index updated?

There is, but that will only access the exported xml file - not the Music Playlists that I update but don’t export. I’d test it, but being able to actually use imported playlists won't work until at least the end of the month update. The previous S2 app auto-updated any playlists when the library was scanned - no Apple Music Library export necessary. But that was back when it was possible to add that library without creating a fake NAS. Sigh.

I’m slightly confused - you were initially referring to Apple playlists held in the library.xml file that are viewable in the MSP service in the Sonos App. If those are altered, in iTunes etc. then you need to export the changed library.xml file and re-index to see the changes in the Sonos App, or are you now referring to Sonos saved playlists that you create and save in the Sonos App? If it’s the latter, the playlists cannot be edited at the moment, as that is a feature not in the App at the moment. Playlist editing is coming soon however as mentioned in this Sonos Support link…

https://support.sonos.com/en-us/article/the-new-sonos-app-and-future-feature-updates

Trending Lyricist II
July 23, 2024

There should be a ‘scan’ option - to get the index updated?

There is, but that will only access the exported xml file - not the Music Playlists that I update but don’t export. I’d test it, but being able to actually use imported playlists won't work until at least the end of the month update. The previous S2 app auto-updated any playlists when the library was scanned - no Apple Music Library export necessary. But that was back when it was possible to add that library without creating a fake NAS. Sigh.

I’m slightly confused - you were initially referring to Apple playlists held in the library.xml file that are viewable in the MSP service in the Sonos App. If those are altered, in iTunes etc. then you need to export the changed library.xml file and re-index to see the changes in the Sonos App, or are you now referring to Sonos saved playlists that you create and save in the Sonos App? If it’s the latter, the playlists cannot be edited at the moment, as that is a feature not in the App at the moment. Playlist editing is coming soon however as mentioned in this Sonos Support link…

https://support.sonos.com/en-us/article/the-new-sonos-app-and-future-feature-updates

Sorry for the confusion. Back in the good old days, my music library was added via the “add music library” desktop option. I set the library to scan daily, and any changes I made to my Apple Music library were applied with the next scan.

That disappeared with the new app, and I was eventually able to get my music back by following the steps to set it up as a fake NAS. I got my playlists back by exporting them from Apple Music (Export Library), renaming the xml file as ITunes Music Library, and moving it to a folder named iTunes that I added directly to my music files. Lather, rinse, and repeat every time I added a song or made any other changes. Then rescan my music library in Sonos.

I was hoping that the addition of local library support would return me to those simpler days, but it appears that is not going to happen. At this point, the best I can hope for is being able to access my imported playlists again.

Apple Music Library user
Ken_Griffiths
July 23, 2024

I’m slightly confused - you were initially referring to Apple playlists held in the library.xml file that are viewable in the MSP service in the Sonos App. If those are altered, in iTunes etc. then you need to export the changed library.xml file and re-index to see the changes in the Sonos App, or are you now referring to Sonos saved playlists that you create and save in the Sonos App? If it’s the latter, the playlists cannot be edited at the moment, as that is a feature not in the App at the moment. Playlist editing is coming soon however as mentioned in this Sonos Support link…

https://support.sonos.com/en-us/article/the-new-sonos-app-and-future-feature-updates

Sorry for the confusion. Back in the good old days, my music library was added via the “add music library” desktop option. I set the library to scan daily, and any changes I made to my Apple Music library were applied with the next scan.

That disappeared with the new app, and I was eventually able to get my music back by following the steps to set it up as a fake NAS. I got my playlists back by exporting them from Apple Music (Export Library), renaming the xml file as ITunes Music Library, and moving it to a folder named iTunes that I added directly to my music files. Lather, rinse, and repeat every time I added a song or made any other changes. Then rescan my music library in Sonos.

I was hoping that the addition of local library support would return me to those simpler days, but it appears that is not going to happen. At this point, the best I can hope for is being able to access my imported playlists again.

Okay I now understand, but according to this Sonos Support link here… 

https://support.sonos.com/en-us/article/itunes-playlists-missing-from-sonos-library-on-usb-drive

… what you’re saying should be working now in the Sonos App. If it isn’t working for you, then I would perhaps report it to Sonos support for them to investigate further. As I mentioned earlier I don’t use the library.xml file for my playlists as I find it a little restrictive, but by all accounts the .xml playlists should be working for you.

rosswells127
Prodigy I
July 23, 2024

@Ken_Griffiths @krez56 

Just FYI. Firmware 16.3 has a problem with imported playlists via the XML file. According to @Corry P Sonos are aware of it and will hopefully be providing a fix. See below thread.

Ross.

 

 

Lyricist III
July 23, 2024

... simply renaming the file extension...

Sorry, I didn't mean I did so. Of course, the .m3u file was created by the export function of the Apple Music application.

A new Sonos App. is coming ? I’ll wait …. and see.

Have a good day.

Trending Lyricist II
July 23, 2024

... simply renaming the file extension...

Sorry, I didn't mean I did so. Of course, the .m3u file was created by the export function of the Apple Music application.

A new Sonos App. is coming ? I’ll wait …. and see.

Have a good day.

Yeah, tried that myself. No go.

Apple Music Library user
Trending Lyricist II
July 23, 2024

Okay I now understand, but according to this Sonos Support link here… 

https://support.sonos.com/en-us/article/itunes-playlists-missing-from-sonos-library-on-usb-drive

… what you’re saying should be working now in the Sonos App. If it isn’t working for you, then I would perhaps report it to Sonos support for them to investigate further. As I mentioned earlier I don’t use the library.xml file for my playlists as I find it a little restrictive, but by all accounts the .xml playlists should be working for you.

“Note that you will need to repeat the steps each time you update your Sonos music library.” That is the part I was really hoping would no longer be necessary. Back in the pre-update days, there was no need to keep repeating those steps every time I updated my library.

My Music Library remains on my internal HD. It is set up as a NAS in Sonos only because that is the only way I can get the new app to recognize it.

Hoping that the unable to browse playlist issue is resolved soon, and not continuously delayed.

Thank you for trying.

Apple Music Library user
Lyricist III
July 26, 2024

Hi,

after some attempts, .m3u playlists from Apple Music application are fully recognised.

But …

_ I have to export them one by one, I haven't managed to get a global export that works

_ so, I will have to update my playlists in .m3u every time something is new in my music library

_ the import “My music file” function in Sonos Mac application has become non-functional and useless

It's not completely satisfactory and a bit disappointing.

Have a nice day