Library Search / Playlist management

Ver. Volumio 4.073
HDW: Pi 3 Model B Plus Rev 1.4

Filesystem                       1K-blocks       Used  Available Use% Mounted on
udev                                295704          0     295704   0% /dev
tmpfs                               178068       5668     172400   4% /run
/dev/mmcblk0p2                     4039924     804316    3009844  22% /imgpart
/dev/loop0                          711296     711296          0 100% /static
overlay                           26101420    1461536   23288644   6% /
tmpfs                               445164          0     445164   0% /dev/shm
tmpfs                                 5120         16       5104   1% /run/lock
tmpfs                               445164       8996     436168   3% /tmp
tmpfs                               445164          0     445164   0% /var/spool/cups
tmpfs                                20480         60      20420   1% /var/log
tmpfs                               445164          0     445164   0% /var/spool/cups/tmp
/dev/mmcblk0p1                      374000      93820     280180  26% /boot
stor1.dredel.com:/volume1/music 9608413056 5297633280 4310677376  56% /mnt/NAS/Stor1
tmpfs                                89032          0      89032   0% /run/user/1000

               total        used        free      shared  buff/cache   available
Mem:          890332      540144      124120       18768      309684      350188
Swap:              0           0           0

Searching local music database regularly halts the system - I believe it is related to this bug: uPnP Media Server Browsing Causes System Crash on Bookworm (Raspberry Pi 5) · Issue #226 · volumio/volumio-os · GitHub I disabled UPNP Render and this seems to have been a workaround. However, adding music to playlists remains spotty. Searching for and album and adding to playlist creates the expected mpd push log; Selecting an album from albums or artists also creates an event:

an 02 09:57:03 volumio-lr volumio[1325]: info: Listing playlists
Jan 02 09:57:07 volumio-lr volumio[1325]: info: Saving local item Jazz vocals
Jan 02 09:57:07 volumio-lr volumio[1325]: info: Pushing Favourites {"uri":"albums://Carmen%20McRae/Here%20to%20Stay","favourite":false}
Jan 02 09:57:07 volumio-lr volumio[1325]: info: Listing playlists

However, selecting and album from Genres creates no push event.

Overall, musicdb seems much slower and fragile then on previous versions. Is there a pruning utility? or a way to drop and recreate the db?

Do you mean like this - Rescan

Or do you mean via the command line?

I’ve done a rescan, but things still feel very pokey and unstable. Searches are hit and miss, making me think there may be db corruption? I wasn’t sure if there’s a way to drop the whole db and just recreate it?