pimoroni / mopidy-pidi

Mopidy plugin host for pidi display plugins.
Apache License 2.0
11 stars 20 forks source link

"Extension disabled due to config errors" when "idle_timeout" parameter is added? #20

Closed miskor-bgd closed 1 year ago

miskor-bgd commented 3 years ago

Hi all,

Fresh install as of today, new to mopidy

In order to enable idle timeout for pirate audio display I am editing mopidy config file here:

/etc/mopidy/mopidy.conf

and adding this line to [pidi] section:

idle_timeout = 60

But, then mopidy reports "Extension disabled due to config errors"!

Please advise how to fix... Thanks!

Gadgetoid commented 3 years ago

I don't believe this has been released yet, I'll need to test and release a new version of mopidy-pidi for this config option to be available.

Gadgetoid commented 3 years ago

I've released new versions of pidi-display-st7789 and mopidy-pidi, you should update both with something like:

sudo python3 -m pip install --upgrade pidi-display-st7789 mopidy-pidi
miskor-bgd commented 3 years ago

Thanks, will try in the afternoon and let you know if it works

miskor-bgd commented 3 years ago

So far it works well, display is turned off after specific number of seconds - thank you very much for this fix, it was needed...

miskor-bgd commented 3 years ago

Uh oh - I was too fast, it is not working well, when display is dimmed after idle timeout it will not wake up when any button is pressed, so display remains dark until mopidy server is restarted

miskor-bgd commented 3 years ago

Wait - play/pause and next buttons works OK and it will wake display but volume up/down does not!