Hello,
This is the error I receive.
Does mpd_oled run in standalone mode?
See if you can find the error in the logs with journalctl -f
and try replecating the error.
Hi ,
Please find the log when try to stop and start the plugin .
mpd_oled_plugin_error1.txt (8.1 KB)
Thanks
It looks like itās an issue with node not liking one of the modules. I donāt have Volumio 3 installed at the moment. Have a look here:
You might be able to fix it by doing this in the folder /data/plugins/miscellanea/mpd_oled
rm -rf node_modules/sleep
npm install
or maybe
npm rebuild sleep --update-binary
or
npm uninstall sleep && npm install sleep
Let me know if this works or not. If it doesnāt then youāre probably better off install volumio 2 since itās pretty stable and plugins are supported!
Hi supercrab,
I still have to test the plugin on Buster, but I think the issue is with different node version, as you reported
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
Hi here!
Iāve got a working version this plugin working in BUSTER with all sources. It uses new alsa pipeline. No mpd modifā¦
I post here asap
Thanks for clearing that up! It all makes sense now
Looking forward to seeing what you come up with!
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 :).
@supercrab mpd_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
Thanks,
I have installed connect2 from here
Amazing! I will have a look now. Thanks!
Yes, but if itās not working, try the link from that PR You can just copy paste the code from index.js
into your version as wellā¦
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.
Do you have a screen to test it on?
I can test it but in the evening.
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.
Adrian.
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.
This is not a fix. This just a cleaningā¦ Check if loopback is available in aplay -L
Check if /etc/asound.conf includes what is in /around in plugin folder.
You have to run v3.045 at least.
Iām not near my Rpi, I canāt check now.
Last point, node modules are up to date in the zip.