[NOT RECOMENDED!] Plugin and Tweaks Adventures on Buster Betas

Peppymeter is not using loopback. I think we can make both working together. But it probably need some adjustments… Peppymeter use a special pcm device"meter" to pipe data. But in my plugin I use a route to make it work with other plugins such as equalizer or DSP. @supercrab have you made other mod on the system?

1 Like

Ah, cool! Yeah, I shouldn’t really speak about things I know nothing of :wink:

I haven’t made any other mods. It was a fresh install yesterday. I didn’t want to introduce to many changes.

You can’t have the clock displayed if the plugin is disabled. I noticed my clock would not clear but it seems to be working as it should now…

now the plugin is disabled and the watch is displayed , for me this is ok :slight_smile:

Is the clock actually refreshing? What happens if you play music? I think the screen might just be stuck on whatever it was displaying…

yes you are wright :slight_smile: it is stuck . is just late I guess :frowning: but it will be great to make it work in paralel in the newr future . Because it is nice plugin and my streamer is build with an oled display just because if this .yo show watch when not playing .
Thanks

I retested the version of mpd_oled I uploaded above on a fresh install Volumio 3.054 and it works out of the box
edit : I added an equalizer, still ok :wink:
webradio, qobuz, nas ok

The same for me, on 3.054.

Hello,
Mpd oled : when I am listening to spotify and stop the song the screen is not switching to watch screen. I know that it was an issue also with qobuz but it was fixed. Now I guess this is an older version of mpd oled. I guess it was fixed by adding p suffix something like this to. /mpd_oled command
On web radio is ok.
Thanks.

It was this option
I will check if this is working with this mpd oled version because it has involved also a change in the code.
The line in mpd_oled.service might look like

ExecStart=/usr/local/bin/mpd_oled -o 6 -b 21 -g 1 -f 15 -P s

Ok, thanks for testing! I’ll try a fresh install…

You need to change this in the plug-in config screen. Might be called pause screen or something.

Yes, I had the problem too. Fixed in plugin setting

Thanks. Found it. :slight_smile:

  • Installed Volumiobuster-3.051-2021-03-06-pi.img
  • Set audio output to headphones
  • Copied mp3 over to internal memory
  • Played mp3 OK
  • Copied over latest plugin from @balbuze zip
  • Installed plugin
  • Enabled plugin
  • Configured plugin: custom CAVA alsa,hw:Loopback,1 and changed OLED screen type
  • Saved - screen works
  • Hit play button and received an error message

Error Failed to open "alsa" (alsa); Error opening ALSA device "volumio"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argument

  • Disabled plugin
  • Played mp3 OK
  • Enabled plugin
  • Tried to play mp3 but it will not play
  • Restarted device
  • Tried to play mp3 but get

Error Failed to open "alsa" (alsa); Error opening ALSA device "volumio"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argument

@supercrab
weird. Can you share /etc/asound.conf?
what aplay -L returns?
my asound.conf

cat /etc/asound.conf 
pcm.!default {
    type             copy
    slave.pcm       "volumio"
}

pcm.volumio {
    type             copy
    slave.pcm       "volumioalsa"
}


pcm.volumioalsa {
  type plug
  route_policy "duplicate"
  slave.channels 4
  slave.format "unchanged"
  slave.rate "unchanged"

  slave.pcm {
    type multi;

    slaves.a.pcm postmalsa
    slaves.a.channels 2;

    slaves.b.pcm reformat
    slaves.b.channels 2;

    bindings.0.slave a;
    bindings.0.channel 0;
    bindings.1.slave a;
    bindings.1.channel 1;

    bindings.2.slave b
    bindings.2.channel 0
    bindings.3.slave b
    bindings.3.channel 1
    }
}

pcm.reformat {
  type plug 
slave {
    pcm "toLoopback"
    format "S16_LE" 
    rate 44100 
    channels 2
  }
}

pcm.toLoopback {
  type hw
  card 'Loopback'
}

pcm.postmalsa {
  type copy
  slave.pcm "postalsa"
}

pcm.postalsa {
    type             copy
    slave.pcm       "volumioOutput"
}


# There is always a plug before the hardware to be safe
pcm.volumioOutput {
    type plug
    slave.pcm "volumioHw"
}

pcm.volumioHw {
    type hw
    card "Headphones"
}

edit : please update to v3.054

a problem I see, after a boot, before playing, a clock with a wrong hour is displayed, no IP adress. Maybe the trick is to delayed (few seconds) the display when volumio boot
When disabling the plugin, the display remains on , but stuck

I have observed that when disable or enable mpd oled or peppy I hear some cracks in speakers. I think it is with pepy but I will check…

I just noticed I’m not on v3.054 - I’ll upgrade to that version. I thought I was on that version.

\etc\asounc.conf

pcm.!default {
    type             copy
    slave.pcm       "volumio"
}

pcm.volumio {
    type             copy
    slave.pcm       "volumioalsa"
}


pcm.volumioalsa {
  type plug
  route_policy "duplicate"
  slave.channels 4
  slave.format "unchanged"
  slave.rate "unchanged"

  slave.pcm {
    type multi;

    slaves.a.pcm postmalsa
    slaves.a.channels 2;

    slaves.b.pcm reformat
    slaves.b.channels 2;

    bindings.0.slave a;
    bindings.0.channel 0;
    bindings.1.slave a;
    bindings.1.channel 1;

    bindings.2.slave b
    bindings.2.channel 0
    bindings.3.slave b
    bindings.3.channel 1
    }
}

pcm.reformat {
  type plug 
slave {
    pcm "toLoopback"
    format "S16_LE" 
    rate 44100 
    channels 2
  }
}

pcm.toLoopback {
  type hw
  card 'Loopback'
}

pcm.postmalsa {
  type copy
  slave.pcm "postalsa"
}

pcm.postalsa {
    type             copy
    slave.pcm       "volumioOutput"
}


# There is always a plug before the hardware to be safe
pcm.volumioOutput {
    type plug
    slave.pcm "volumioHw"
}

pcm.volumioHw {
    type hw
    card "Headphones"
}

aplay -L

volumio@volumio3:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
default
    Playback/recording through the PulseAudio sound server
volumio
volumioalsa
reformat
toLoopback
postmalsa
postalsa
volumioOutput
volumioHw
sysdefault:CARD=b1
    bcm2835 HDMI 1, bcm2835 HDMI 1
    Default Audio Device
dmix:CARD=b1,DEV=0
    bcm2835 HDMI 1, bcm2835 HDMI 1
    Direct sample mixing device
dsnoop:CARD=b1,DEV=0
    bcm2835 HDMI 1, bcm2835 HDMI 1
    Direct sample snooping device
hw:CARD=b1,DEV=0
    bcm2835 HDMI 1, bcm2835 HDMI 1
    Direct hardware device without any conversions
plughw:CARD=b1,DEV=0
    bcm2835 HDMI 1, bcm2835 HDMI 1
    Hardware device with all software conversions
usbstream:CARD=b1
    bcm2835 HDMI 1
    USB Stream Output
sysdefault:CARD=Headphones
    bcm2835 Headphones, bcm2835 Headphones
    Default Audio Device
dmix:CARD=Headphones,DEV=0
    bcm2835 Headphones, bcm2835 Headphones
    Direct sample mixing device
dsnoop:CARD=Headphones,DEV=0
    bcm2835 Headphones, bcm2835 Headphones
    Direct sample snooping device
hw:CARD=Headphones,DEV=0
    bcm2835 Headphones, bcm2835 Headphones
    Direct hardware device without any conversions
plughw:CARD=Headphones,DEV=0
    bcm2835 Headphones, bcm2835 Headphones
    Hardware device with all software conversions
usbstream:CARD=Headphones
    bcm2835 Headphones
    USB Stream Output
sysdefault:CARD=Loopback
    Loopback, Loopback PCM
    Default Audio Device
front:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    Front speakers
surround21:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    Direct sample mixing device
dmix:CARD=Loopback,DEV=1
    Loopback, Loopback PCM
    Direct sample mixing device
dsnoop:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    Direct sample snooping device
dsnoop:CARD=Loopback,DEV=1
    Loopback, Loopback PCM
    Direct sample snooping device
hw:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    Direct hardware device without any conversions
hw:CARD=Loopback,DEV=1
    Loopback, Loopback PCM
    Direct hardware device without any conversions
plughw:CARD=Loopback,DEV=0
    Loopback, Loopback PCM
    Hardware device with all software conversions
plughw:CARD=Loopback,DEV=1
    Loopback, Loopback PCM
    Hardware device with all software conversions
usbstream:CARD=Loopback
    Loopback
    USB Stream Output

I can’t find the download link for 3.054 :frowning:

I’m looking at this page for the beta: