Skip to main content
Trending Lyricist I
October 10, 2024
Answered

I can no longer add full music library - only 20GB of 125GB

  • October 10, 2024
  • 45 replies
  • 1114 views

Before the new app, I was able to listen to my home music library which was kept on a usb hard drive that was attached to a D-Link router. The music library is about 125 GB and consists of around 25,000 files (a mix of mp3 song files, as well as a few jpg for album art, plus each song had an .info file associated with it). Everything played well. I mostly avoided the debacle of the new app rollout as I disabled all software/firmware updates, but unfortunately a firmware update made it through anyway, so I had to update to the new app, rendering my music library unreachable; I believe the issue was the smbv1 was no longer supported with my router. So, I recently updated my router to a TP-Link that also had a usb port so I could continue using the external hard drive I had my music on. Long story short - I can only add a total of 20GB of my original music library.

If I try to add the whole folder in one shot, it seems like it’s doing something for about 10 minutes, then I get an error saying: “[myfolder] is no longer available. The device where music files are stored may not be powered on, or the path may have changed.”

If I set up a folder with a just few artist/abums, Sonos will index it without the error, and they show up on the Sonos app and play fine. If I add more artists/albums to that folder and ask Sonos to update the library, they are added, but only up to 20GB of music. The second I add any additional music (either to the same folder, or a second folder) I almost immediately get the same error message. What is happening? Where is this limit coming from? It shouldn’t be the 65,000 song limit, since I have much less files than that, plus everything played great before all the changes.

Anyone have a similar issue that figured it out? Or is there someone with a similar recently added library set-up (usb drive to router, i.e. not a NAS), that has a library larger than 20GB that works? Then at least I’d know it’s not  a purposeful Sonos imposed limitation.

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.
Best answer by Ken_Griffiths

I understand the 65,000 track limit you refer too is not a track limit, but what I will term as ‘memory slots’ and some tracks may take up more than one slot. There are also these limitations which I found in other threads here in the community…

Field Name Character Limits

  • Artists - 76
  • Album - 92
  • Track - 100
  • Genre - 22
  • File name - 100

So maybe you’re exceeding some limitation that’s causing you an issue, but maybe contact Sonos Support Staff via this LINK and see if they can perhaps assist you further.

45 replies

IzzybonesAuthor
Trending Lyricist I
October 14, 2024

@sambrosius nope, not just you. Have tried to do more reading in the community and it seems like the problem with Sonos accessing/indexing a usb on router via smbv2 predates the new app - it’s just more evident now since they dropped support for Smbv1 recently forcing more people to change over. There was a thread about a year ago where one of the Sonos people said it was a known issue that was being looked at, but had no time frame for a resolution. It doesn’t appear it was a priority to resolve the problem, which makes the forced change to smbv2/3 more bizzare. I haven’t tried to Sonos support route yet, since others have tried with no resolution, and I just don’t have time right now hour+ phone calls. If you glean any new info, let me know.

IzzybonesAuthor
Trending Lyricist I
October 15, 2024

@Ianp I saw that some people had success re-adding the share a few times, but that hasn’t worked so far. If I start from scratch and the indexing fails, nothing gets saved at all in the library, not even the reference to the shared folder. I’ve tried it a number of times in a row, just in case. If I click on the speaker icons (they show up on my PC under the Network area), I can see a few different folders relating to app functions, including a folder for a music library where the indexed files would normally show when things index properly, but those folders remain empty when trying a fresh indexing of the full music catalog. If I do things in smaller increments, it initially works, but I stop having indexing success once Sonos’ saved library index reaches around 20GB and 6,000 files (give or take when I’ve experimented with random groupings).

It’s a head scratcher; I can sort of understand if it has trouble indexing everything at once, or with a single share, but you’d think splitting the catalog over 10 individual shares, with 12GB each - as I’ve been able to index up to 15GB worth of files at once - would work to at least get them initially saved. But it doesn’t, for me. The router wouldn’t know what Sonos has already indexed at other times, so I don’t see how the router would be implementing a limit on subsequent indexing, it must be a Sonos issue (?), but yet not one everyone with a usb drive enabled router + smbv2 experiences. Everything worked fine for me under smbv1. I wonder what is different in the smbv2 protocol that is affecting the indexing.

Collaborator II
October 16, 2024

@Ianp I saw that some people had success re-adding the share a few times, but that hasn’t worked so far. If I start from scratch and the indexing fails, nothing gets saved at all in the library, not even the reference to the shared folder. I’ve tried it a number of times in a row, just in case. If I click on the speaker icons (they show up on my PC under the Network area), I can see a few different folders relating to app functions, including a folder for a music library where the indexed files would normally show when things index properly, but those folders remain empty when trying a fresh indexing of the full music catalog. If I do things in smaller increments, it initially works, but I stop having indexing success once Sonos’ saved library index reaches around 20GB and 6,000 files (give or take when I’ve experimented with random groupings).

It’s a head scratcher; I can sort of understand if it has trouble indexing everything at once, or with a single share, but you’d think splitting the catalog over 10 individual shares, with 12GB each - as I’ve been able to index up to 15GB worth of files at once - would work to at least get them initially saved. But it doesn’t, for me. The router wouldn’t know what Sonos has already indexed at other times, so I don’t see how the router would be implementing a limit on subsequent indexing, it must be a Sonos issue (?), but yet not one everyone with a usb drive enabled router + smbv2 experiences. Everything worked fine for me under smbv1. I wonder what is different in the smbv2 protocol that is affecting the indexing.

A head scratcher indeed. See if you can find the smb.log file, and check in there for errors, in particular the SMB credits error.

Contributor II
October 16, 2024

I seem to have a very similar problem:

I’m trying to add my sonos music library back to sonos after an update removed it.  I’m adding from a NAS and get an error when trying to add it back saying no longer available.  If I split the music folder into very small chunks it will add without a problem.  Any ideas anyone?

 

 

IzzybonesAuthor
Trending Lyricist I
October 16, 2024

I seem to have a very similar problem:

I’m trying to add my sonos music library back to sonos after an update removed it.  I’m adding from a NAS and get an error when trying to add it back saying no longer available.  If I split the music folder into very small chunks it will add without a problem.  Any ideas anyone?

 

 

Are you able to keep adding tracks in small chunks, or have you found a limit that once you’ve added X amount (either GB size or file number), that you get errors trying to add more?

IzzybonesAuthor
Trending Lyricist I
October 16, 2024

@Ianp There is just a general system log, but I don’t see anything that looks like an error message, or anything about smb credit errors.

TPlink got back to me after they initially told me about a 10,000 file limitation on the router - I had inquired whether that limitation was for the media server or the smb protocol, and also detailed the issue I was having with Sonos indexing. TPLink didn’t specifically answer the question about whether the limit was related to the media server or smb, but provided me with a beta firmware upgrade for the router with a 100,000 file scan limit to try. Sadly, it didn’t fix the Sonos problem. But I give them kudos for getting back to me within a couple days and with new firmware to try.

IzzybonesAuthor
Trending Lyricist I
October 16, 2024

Well, in the words of the effervescent Doc. Brown - “Great Scott!” After a new firmware update to my speakers a short while ago, I was able to index my library without issue. And as a bonus, compilation albums appear to be showing correctly. Maybe whatever was messed up with the compilation indexing was also affecting overall indexing? Anyway, glad to be able to play my personal collection again. Thanks to everyone who threw in their input on this thread.

Trending Lyricist I
October 21, 2024

Okay, here is how I got around the SMB horrible issue to work for me.

I created a folder called Sonos01 and copied all music with 01*.mp3 in the name into the folder.  Then I went through and cut the names (manually, yes it is insane) down to 10 characters and removed all quote marks and commas.

I was able to get 01 to index (I did it by 01* because it was an easy way to search and chop up my library.

I then did the same for 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, and 13plus (copied everything that wasn’t in the first 12.

I DID NOT CHANGE ANY OF THE METADATA. I simply changed the file name.

This allowed me to load almost the entire 16,000 songs I have.

Was it easy? Yes.

Was it a total pain in the ass? Yes.

Would I recommend anyone buy Sonos if they plan on using NAS? Hell No.

But….

I was able to get my music loaded and indexed.  The problem will be loading new music purchases in the future, but I’ll cross that bridge when I come to it.

Hope this helps.

DGR1
Chromatic Producer I
October 22, 2024

Okay, here is how I got around the SMB horrible issue to work for me.

I created a folder called Sonos01 and copied all music with 01*.mp3 in the name into the folder.  Then I went through and cut the names (manually, yes it is insane) down to 10 characters and removed all quote marks and commas.

I was able to get 01 to index (I did it by 01* because it was an easy way to search and chop up my library.

I then did the same for 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, and 13plus (copied everything that wasn’t in the first 12.

I DID NOT CHANGE ANY OF THE METADATA. I simply changed the file name.

This allowed me to load almost the entire 16,000 songs I have.

Was it easy? Yes.

Was it a total pain in the ass? Yes.

Would I recommend anyone buy Sonos if they plan on using NAS? Hell No.

But….

I was able to get my music loaded and indexed.  The problem will be loading new music purchases in the future, but I’ll cross that bridge when I come to it.

Hope this helps.

Great work @sambrosius and great to hear that you now have a fully indexed music collection. If you want to standardise your filenames (ignoring metadata just as you did), there are tools which can automate this. For example, truncate all filenames to a certain number of characters, remove certain characters from all filenames. However, I would always tread carefully and recommend testing on a copy of your library rather than wrecking the real thing!!!

IzzybonesAuthor
Trending Lyricist I
October 22, 2024

I noticed Ken picked his reply about file limits as the best answer to my original post, but in my case that was not the issue, as I used the exact same library as I always did, with no changes to file names, or number of files. What seemed to fix it for me was the latest firmware update - right after I applied the speaker update, my entire library of 25,000ish files indexed in one go, just like it used to under smbv1.