Is there a 99 artist limit for libraries on thumb drives?

Hi,
I’ve installed and reinstalled Volumio 2 (multiple sub-versions over months) to multiple Pi 3B+ systems with 3 different DACS and 3 different touchscreens in various combinations. Originally, I was using 256GB microSD cards with a separate partition which held about 220GB of music files. This mix included a couple hundred artists, at least. Volumio was able to scan those partitions into my library without any problem. Unfortunately, while using those devices, each of them eventually corrupted at least one of those expensive memory cards to the point of being unable to recreate partitions. As a result, I gave up on large microSD cards and switched to plugging a thumb drive containing around 10,000 music files (~230GB on a 256GB thumb drive) into a USB port on the Pi to use as a local USB music library. The boot SD is now a 32GB dedicated card on each machine.

Using a separate thumb drive for music storage seems to be less prone to corruption, so far. Unfortunately now, I have a different problem. After I plug in the USB thumb drive, I tell Volumio to scan or update the music library. It quickly counts up to 99 artists, pauses, resets the artist count to 0 and then stops scanning completely. The 99 artists that it supposedly scanned are never actually added to the library. There are zero entries in the library. There are no error message popup. It doesn’t do anything at all. So, I can’t get it to scan my music library on any of the hardware combinations I’ve tried. I even put the 230GB of files on huge 512GB thumb drives, in case Volumnio needed extra space on the library drive for storing its own information. The result is the same. It counts up to 99 artists then resets to zero and aborts without an error. Nothing is ever added to the library.

The file structure on the thumb drive is alphabetical folders in the root directory (folders with single letter names of the letters A through Z). Then, each alphabetical character folder contains alphabetically sorted artist name folders which start with that letter of the alphabet. Then, inside each artist folder is a set of folders holding each of their albums. Each album folder optionally holds disc folders when it is a set. The last level is the individual tracks for each disc stored as FLAC files. It’s organized this way to absolutely prevent any particular folder from having more than 510 entries in it. In reality, none of the folders in this tree ever reach more than 30-40 entries. The root folder, which literally can’t have more than 510 entries under FAT32 only has about 30 entries total. So, folder limitations aren’t causing the problem. Plus, as I said earlier, this file structure worked fine when it was on a partition of the microSD card. It just corrupted the microSD over time (despite me always using shutdown).

I have made a much smaller test version of my library using the same thumb drives and which had less than 99 artists on it. In those cases the library updates with no problem. The problem always occurs when the thumb drive has music from more than 99 artists on it. Also, when I have the full sized library plugged in, I can browse to all of the artist folders using the file manager, so the Pi is definitely able to read the entire 512GB and 256GB drives.

SO - My question: Is there an artificial limit of 99 artists built into Volumio for USB storage of the music library?

If not, what’s going on here? In every case, on every hardware combination, it stops and resets at 99. Any ideas?

Thanks!
-Bill Dempsey

P.S. I’m having another issue where Volumio won’t let me add an entire artist to the queue or start playback for an entire folder being read from a DLNA server, but that one isn’t as critical as solving the local library issues for my particular application.

Hi again,
I just updated to the newest version of Volumio 2 as of 11/09/2018. All of the problems I mentioned still occur under the new version. It still stops scanning my music library on the USB thumb drive right after it hits 99 artists. Then, it resets the library to 0 artists, 0 albums, 0 tracks, and 0:00 playtime with no messages about why it stopped. Since my library has a few hundred artists, it aborts the scan every time without adding any of my music files to “My Music.”

The only way I can play any music at all is to browse to a hard drive connected to my router which has DLNA functionality and select music one album at a time. When I’m browsing the drive over my network, and I try to play an artist folder containing multiple albums, it doesn’t work. In a much earlier version, I was able to add entire folders, entire artist folders, and anything else stored on local storage, but I don’t think it has ever worked through the network. I don’t know if it still works on local storage because I can’t get it to scan my entire music collection (see above.) Also, I tried adding that shared hard drive as a network drive in Volumio 2 and it wouldn’t mount it. Perhaps that’s because the drive is already available as a DLNA server?

One more problem I forgot to mention is that when I try to load the Touchscreen Plugin (I’m using the official 7" display on this particular Pi,) the plugin installation locks up while asking me to select a keyboard. There is no way to actually select a keyboard in that installation output window, so I am stuck there until I reload the page. Unfortunately, reloading the page doesn’t unlock the administration files which were locked by the plugin installation. So, trying to install keyboard-configuration via ssh returns an error saying the admin files are locked by another process. When I do a clean reboot and then install it, the plugin installation no longer hangs. Perhaps a dependency is missing? Anyway, I think removing that keyboard question from the touchscreen plugin installation script would allow the installation to succeed instead of hanging up. This is assuming there is a default keyboard configuration that is active.

Can anyone offer some help fixing any of these issues? Keep in mind, I’m really not a Linux guy when replying. I can type command lines as well as a trained monkey, though. So, step-by-step instructions would be greatly appreciated.

Thanks!