Thanks for the feedback, your results suggest a problem with the mpd_oled binary package on Volumio, and the library issue may explain the recent frozen display reports.
For a while I have been creating a single mpd_oled binary package for Volumio and Moode by building it on whichever player is based on the earlier debian distribution. It may be that I should go back to providing separate binary packages for the different players.
Regarding mpd.conf.tmpl, the plugin uses a different way to set up the audio copy for the spectrum than in the instructions I provide, and it is correct that the plugin has not changed this file.
I will see if I can set up a Volumio machine and take look at what is going on, and then make separate binaries if this seems necessary. This might not be until next week though…
I had a look, and I built the mpd_oled package on Moode 8.3.2, but Moode switched to debian bullseye with version 8.3.1. I’ll look at building packages on Raspberry Pi OS based on buster, and hopefully that will be fine for both Moode and Volumio for a while. It takes some time to set things up and test, so it will still probably be next week before I can update the binary package.
I happened to wake up early today, so I looked at this, and have uploaded a new binary mpd_oled package, which I built on Raspberry Pi OS Lite Legacy (based on buster).
The binaries work on Volumio, but the mpd_oled plugin will crash when music is played, for the reason that I originally suspected was causing the crash Here is the relevent (cava) error from the Volumio log
Error loading config. No HOME found (ERR_HOMELESS), exiting...
The error can probably be fixed by setting the HOME environment variable to /tmp for mpd_oled when it is executed. If mpd_oled is executed from a bash script then you can export HOME and then exec mpd_oled. See the end of
If this is done (and Karl is normally pretty quick) then I will publish a new mpd_oled binary package, and new installations of the Volumio mpd_oled plugin should work again, without having to make any changes to the plugin code.
Seems the latest Volumio update V3.509 breaks mpd_oled due to non met dependencies. MPD_OLED expect V8.0.0, but Volumio comes with V14.15.4
volumio@volumio-allo:~$ node -v
v14.15.4
Downloading plugin at https://plugins.volumio.workers.dev/pluginsv2/downloadLatest/mpd_oled/volumio/buster/armhf
END DOWNLOAD: https://plugins.volumio.workers.dev/pluginsv2/downloadLatest/mpd_oled/volumio/buster/armhf
Creating install location
Unpacking plugin
Checking that the plugin is suitable for this version of Volumio Plugin failed the dependency check Plugin has native addons 8.0.0 which may not be usable with 14.15.4 The plugin cannot be installed on this version of Volumio.
An error occurred while installing the plugin Plugin failed the dependency check Plugin has native addons 8.0.0 which may not be usable with 14.15.4 The plugin cannot be installed on this version of Volumio.
it seems only to fail completely on a fresh install. If you upgrade the plugin still partial works. And with partial I mean it comes with stuttering audio output.
Karl, the cava developer, has updated cava to work without a home directory. I have updated the mpd_oled binary package to include this new cava version. I installed the mpd_oled plugin on Volumio 3.449, and it is working for me.