You’re installing the latest version of mpd_oled. You don’t need to do this and it might be what is causing your problem. If you can’t run mpd_oled in standalone then it won’t work with the plugin.
The plugin uses a slightly older version which lots of people have now tested.
Try deleting the mpd_oled and CAVA folders and install the plugin using these steps (it will download and install an older version of mpd_oled from my repository)
There is a reason why plugins were disabled on the new ^3.040 versions
It uses a new Nodejs version which means all native node modules need to be rebuilt. So plugin devs need to rebuild the plugin for this new Node version and then make a new pluign.zip
If you want to manually install plugins still on the new Buster betas, you will need a figure out all the build dependencies of the plugin and rebuild them.
tl;dr
Ensure you have gcc/g++ compilers installed and then run
cd /data/xxx/yyy/plugin
mv ./node_modules ./node_modules_v8
npm install --no-package-lock --only=production
Like you’ve said before, we only need one plugin that works with the new pipeline and us plugin devs can use that as a template to make more This is the last peace of the puzzle - so no pressure…
What can I say. The things are moving very fast here Thanks. We are living in a VUCA. The sw dev is truly agile :). Thanks. I am happy that at least I can test some things and post the results :).
@supercrabmpd_oled.zip (3,5 Mo)
A bit dirty
index.js load loopback
config.json with Loopback set
Install.sh remove mpd part
can’t test more tonight
I let you check and improve! I think the field for alsa,Loopback can be hidden in UI
sleep rebuild
It looks all good so far! I’m currently installing Volumio 3 so I’ll do some investigating and some testing.
It looks like you know about changing the ALSA config in the UI to alsa,hw:Loopback,1. I could hide this field like you suggested but I’ll probably leave it in as people might be using it. e.g. I used it to set the input as the mic when I failed at getting the loopback working.
I tested on a 1inch oled. I realize I didn’t remove some pcm related to peppymeter in the around file. To be cleaned.
IMHO, no interest of having a field for input… But this is your plugin
I recommend leaving the input field, or at least providing an option to configure it, and also writing the ALSA config based on it.
If some other plugin is using the ALSA loopback device (and hasn’t configured it with exactly the number of subdevices that it needs) then the input field will allow a different subdevice to be used by mpd_oled, e.g. the ALSA config writes a copy to hw:Loopback,0,3 and mpd_oled/cava reads from hw:Loopback,1,3.
I tested your changes last night and applied the node fix, so the plugin works but I couldn’t get the spectrum analyser working. I’ll wait for your updated ALSA config file which will should fix this.