[PLUGIN] MPD OLED - installation & configuration plugin

:sob::sob::sob: is v0.0.45 Balbuze’s zip?

Yes it is. Somewhere in this thread :smile:

1 Like

i have the same problem , the only one that works is version 1.0.8 beta or the one from balbuze
try 1.0.8 beta, I’m curious if it works for you too.

1 Like

Yes, same here. V1.0.8 beta is indeed working. Running V3.324.

I tried not to change too much! Wonder what happened? :disappointed_relieved::disappointed_relieved:

V0.0.45 Working
V1.0.8 Working
V1.0.10 Working, but cripples the audio (stuttering)
V1.0.12 Working
V1.0.13 Won’t work after reboot, However after pressing save in the config page it works again
V1.0.14 Won’t work after reboot, pressing save doesn’t matter.

So something got broken between V1.0.12 and V1.0.13. Hopes this helps.

1 Like

I take it back, shame on me… faulty GPIO ground to DAC connection!

1 Like

Brilliant! Thanks! I wonder if there’s a way I can just download the zip without having to install anything… :laughing:

also tested.

raspberry pi 4b 2gb.
khadas tone1 usb and philips nos dac generic i2s dac selected.
volumio version 3.324

V0.0.45 Working
V1.0.8 Working
V1.0.10 Won’t work after reboot, However after pressing save in the config page the screen turns on, but cripples the audio (stuttering) after a while it plays normally again without stuttering
V1.0.12 Won’t work after reboot, However after pressing save in the config page the screen turns on but alsa error.
V1.0.13 not working.
V1.0.14 not working.

2 Likes

Thanks for this, I’ll see if I can see what the changes were between 1.0.8 ad v1.0.10 :blush:

turns out i did not…
volumio@volumio:~$ sudo systemctl status mpd_oled
● mpd_oled.service - MPD OLED Display
Loaded: loaded (/etc/systemd/system/mpd_oled.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-09-09 10:55:56 PDT; 2min 42s ago
Process: 484 ExecStartPre=/usr/local/bin/mpd_oled_launch_test (code=exited, status=0/SUCCESS)
Main PID: 495 (mpd_oled)
Tasks: 5 (limit: 916)
CGroup: /system.slice/mpd_oled.service
├─ 495 /usr/local/bin/mpd_oled -o SSD1322,NHD_256X64,SPI,dc=24,reset=25
├─1201 sh -c mpd_oled_cava -p /tmp/cava_config_cMzeI6
└─1202 mpd_oled_cava -p /tmp/cava_config_cMzeI6

so its now running, after finding a broken solderpoint on the screen
I now have half the screen working as expected. however, interestingly, i cannot seem to get the screen to rotate. when i use:
sudo mpd_oled_service_edit -o SSD1322,NHD_256X64,SPI,dc=24,reset=25
the screen works, but when i add rotate2, per the instructions:
sudo mpd_oled_service_edit -o SSD1322,NHD_256X64,SPI,dc=24,reset=25,rotate=2 (shown in doc, assumption is its 270, but tried anyway)
sudo mpd_oled_service_edit -o SSD1322,NHD_256X64,SPI,dc=24,reset=25,rotate=180
or sudo mpd_oled_service_edit -o SSD1322,NHD_256X64,SPI,dc=24,reset=25,rotate=180 degs

MPD fails.

if you can help me understand how I’m misphrasing this i would appreciate it.
-thanks!

The parameter is called rotation and so rotation=2 will hopefully work for you.

That’s got it, THANK YOU!
Now I just need to figure out what file to modify to expand to the entire screen, then how to sort out what’s being displayed. This is seriously awesome, thank you!

1 Like

I found my old version of mpd_oled that displays cover art. I would love to implement it on the dev branch but all my Pis are used on other projects and it’s impossible to get new ones! :disappointed_relieved:

1 Like

Yeah, not a good time to be planning new Pi projects!

1 Like

any idea what file controls the display area and layout for the screen?

Might be display.cpp?

In src/main.cpp there are two simple functions that draw the layout: draw_clock() draws the stop screen. and draw_spect_display() draws the play/pause screen.

do I need to do anything other then edit the file and stop/start the service and or reboot? because thusfar I updated all references in main.cpp
from 128 to 256 and its still only occupying half the screen.

Yes, you need to do more than that. I am afraid I can’t help further though.