[PLUGIN] MPD OLED - installation & configuration plugin

@michel8166 could you post links to the balbuze zip that works for you, and one of the supercrab zips that doesn’t.

in principle all versions that are in the plug-in store have something that is not good, only version 1.0.8 works for me without problems, but version 1.0.8 is no longer in the plug-in store.

here the link zip balbuze.
I don’t have a link zip from @supercrab

@supercrab,
As promised, @me to the rescue.
Currently have V1.0.17 working.

image

please make the following change to your install script:

Replace:

# create mpd_oled plugin service
service="mpd_oled_plugin"

tmp_file_name="/tmp/$service.service"
tmp_file_contents="[Unit]
Description=MPD OLED Plugin

[Service]
ExecStart=/tmp/mpd_oled_plugin.sh

[Install]
WantedBy=multi-user.target"

echo "$tmp_file_contents" > $tmp_file_name

With:

# create mpd_oled plugin service
service="mpd_oled_plugin"

tmp_file_name="/tmp/$service.service"
tmp_file_contents="[Unit]
Description=MPD OLED Plugin
After=network.target sound.target mpd.service
Requires=mpd.service

[Service]
ExecStart=/tmp/mpd_oled_plugin.sh

[Install]
WantedBy=multi-user.target"

echo "$tmp_file_contents" > $tmp_file_name

Wait! You fixed it? This is what is causing all the trouble!!!

mmmm, can’t conform yet.
The installation of al previous version had some varying results. So when we have some more people run these test, we know for sure.
network.target is not mandatory, but I put this always in all my service.

Now mpd_oled will wait untill mpd has started. Hopefully this is doing the trick.

Brilliant! Thanks for your help! I would never have got this!

I’ll publish these changes now!

1 Like

Ain’t this what the community is for?
But let’s see if it indeed will solve the issue :+1:

1 Like

Haha! Once this is fixed I can work on something else :rofl: I’ll probably do another plugin any ideas? :thinking::rofl::rofl:

@michel8166 v1.0.18 is released to beta!

2 Likes

Here’s my version

Here’s balbuze’s

https://community.volumio.com/uploads/short-url/4nY1ElFQY4KqjRfMhjouPXp4Nqc.zip

The issue is in one of these files

  • index.js
  • install.sh
1 Like

yeah, I was looking for a way to get genres somehow out of Volumio for the randomizer plugin. Not found it yet :slight_smile:

thanks i’ll try it right away, let’s see if it fixes it…would be great :grin:

1 Like

schiet eens op… hup hup

1 Like

ja jaja effe geduld :laughing:

1 Like

@supercrab and @Wheaten wow! :open_mouth: it works, even after a reboot (tried several times) now no stutter or alsa error or other nasties.

I think it’s fixed :ok_hand:

1 Like

:partying_face: :partying_face:

Now we need to find a new project for @supercrab

And a big thanks to everyone for testing/helping
@michel8166
@Adrii
@supercrab
@balbuze
@Darmur

2 Likes

Yay! :heart_eyes::heart_eyes: Thanks everyone. I’ll let people test this version and then I’ll clean up the code and submit it for release!

I’m so glad it’s fixed and I knew it wasn’t a javascript issue! :rofl:

As we say in Dutch:
Achteraf is een koe in haar kont kijken. (not sure how to translate this one :smile: )

well done you all!
Suprise now! check the store :stuck_out_tongue_winking_eye:

2 Likes

Yep V1.0.18 - Stable still working :partying_face:

1 Like

Thanks! @balbuze @Wheaten :clap:t4::clap:t4::clap:t4::trophy: