balbuze / volumio-plugins

volumio's plugins from balbuze
190 stars 60 forks source link

peppyMeter Plugin broken in Volumio 3.512? #326

Open waynethomas69 opened 1 year ago

waynethomas69 commented 1 year ago

My Volumio automatically updated, and subsequently this plugin doesn't seem to work. I haven't found any errors yet (only realised last night) but will continue to fault find and will post anything discovered here.

balbuze commented 1 year ago

1- You don't even write about which plugin you are taking about 2- you are not supposed to install plugin from this repo now. Install it from the store. Thanks

waynethomas69 commented 1 year ago

My apologies, I navigated directly to the repository from a hyperlink and didn't realise you have multiple plugins in this repository - I assumed it was only peppyMeter. Is the peppyMeter plugin also to be installed from the store?

waynethomas69 commented 1 year ago

I've just checked the output of /tmp/myfifopeppy using cat, and it appears to be outputting constant blank lines (i.e. left and right channels are zero at all times). I've looked at /etc/asound.conf and it all appears correct. It might be completely unrelated, but one thing I noticed is that alsamixer and amixer both default to PulseAudio card - I have to manually select the correct output card. Prior to 3.512 I didn't need to select the active card.

balbuze commented 1 year ago

hi, this Peppymeter plugin was just a POC, even if it should work... There is a other work for peppy with plenty of nice skins. But not on the store because it modified some system files and the author never wish to improve it. Search the community

waynethomas69 commented 1 year ago

Totally understand. Yours was the only plugin I found that had RS-232 output - I use it as an input to drive the VU meter of a 1970s tape deck. It is headless so I have no use for any of the skins etc. I will use one of the other plugins (to persistently modify asound.conf) then install peppymeter separately to use the fifo from that plugin.

balbuze commented 1 year ago

if it was working previously, remove and reinstall the plugin, reboot. Let me know ;-) there is no need to modify asound.conf

waynethomas69 commented 1 year ago

Removal and reinstallation didn't change it. I haven't found time to dig around too much for errors, but it seems there is only blank data being output from the fifo. Is there any other way to confirm whether anything is being output by the plugin with volumio is playing media?

balbuze commented 1 year ago

you have to consider /tmp/myfifosapeppy

waynethomas69 commented 1 year ago

I don't use the spectrum analyser so this doesn't output anything. As an afterthought I used hexdump to view the output of /tmp/myfifopeppy and it actually was outputting data (cat gave the impression of nothing but empty newlines). It turns out the volumio upgrade modified /boot/cmdline.txt so the UART wasn't available. I could have sworn I checked and modified this file, but apparently not. Turns out the plugin wasn't the issue. Sorry for the wild-goose chase...