Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
Hi kuyadreiph

You said you had an I2C SSH1106 OLED, which is specified with '-o 6'. If you are selecting I2C Adafruit from the Volumio plugin then this sets '-o 3', for an I2C SSD1306 (or SSD1309) OLED, but if it is working for you then you could use '-o 3' on Moode too. Maybe you were sent an SSD1306.

Regarding the Volumio plugin, it uses exactly the same version of mpd_oled that you built on Moode, and the configuration options in the Volumio plugin are just selecting the command line options that are set when mpd_oled is run.

Adrian.
Reply
(05-07-2025, 11:45 AM)adrii Wrote: Hi kuyadreiph

You said you had an I2C SSH1106 OLED, which is specified with '-o 6'. If you are selecting I2C Adafruit from the Volumio plugin then this sets '-o 3', for an I2C SSD1306 (or SSD1309) OLED, but if it is working for you then you could use '-o 3' on Moode too. Maybe you were sent an SSD1306.

Regarding the Volumio plugin, it uses exactly the same version of mpd_oled that you built on Moode, and the configuration options in the Volumio plugin are just selecting the command line options that are set when mpd_oled is run.

Adrian.
Thank you adrian! Finally made it work.
Reply
(05-07-2025, 11:45 AM)adrii Wrote: Hi kuyadreiph

You said you had an I2C SSH1106 OLED, which is specified with '-o 6'. If you are selecting I2C Adafruit from the Volumio plugin then this sets '-o 3', for an I2C SSD1306 (or SSD1309) OLED, but if it is working for you then you could use '-o 3' on Moode too. Maybe you were sent an SSD1306.

Regarding the Volumio plugin, it uses exactly the same version of mpd_oled that you built on Moode, and the configuration options in the Volumio plugin are just selecting the command line options that are set when mpd_oled is run.

Adrian.

Hi adrian! i manage to work wit oled. unfortunately, now i am having a hard time to play song after restart the system.
this is what it says after clicking play button.

Failed to open "ALSA Default" (alsa); Error opening ALSA device "_audioout"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argumentFailed to open "ALSA Default" (alsa); Error opening ALSA device "_audioout"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argument
Reply
Hi kuyadreiph,
I have just created a test to replicate your issue and everything has gone ok as expected
I think that the best way to solve it is to reinstall from scratch moOde (I have used 9.3.3).
Test it with
Quote:Metadata and Loopback enabled
.
Than install mpd_oled following the adrian github instruction (Install instructions for Moode 8 using source).
At that point after reboot and the command:

Code:
sudo mpd_oled_service_edit -o 6 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
or

Code:
sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
it must run.
Just in case, after that, you can use

Code:
sudo service mpd_oled status 

and copy here the result to see if something is wrong.
Best regards,
Francesco
Reply
Hi kuyadreiph

Possibly this issue: https://moodeaudio.org/forum/showthread.php?tid=5584

Or, if you have other audio processing enabled, e.g. an equaliser, then it could have some kind of interaction involving the loopback device used by mpd_oled.

Adrian.
Reply
(05-09-2025, 05:42 PM)fdealexa Wrote: Hi kuyadreiph,
I have just created a test to replicate your issue and everything has gone ok as expected
I think that the best way to solve it is to reinstall from scratch moOde (I have used 9.3.3).
Test it with
Quote:Metadata and Loopback enabled
.
Than install mpd_oled following the adrian github instruction (Install instructions for Moode 8 using source).
At that point after reboot and the command:

Code:
sudo mpd_oled_service_edit -o 6 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
or

Code:
sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
it must run.
Just in case, after that, you can use

Code:
sudo service mpd_oled status 

and copy here the result to see if something is wrong.
Best regards,
Francesco

hi francesco! glad it's working now. however, what should i do to rotate the display or where should i insert this "R" on this line sudo mpd_oled_service_edit -o 6 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 to rotate it in 180deg.


Regards,
drei
Reply
(05-09-2025, 07:31 PM)adrii Wrote: Hi kuyadreiph

Possibly this issue: https://moodeaudio.org/forum/showthread.php?tid=5584

Or, if you have other audio processing enabled, e.g. an equaliser, then it could have some kind of interaction involving the loopback device used by mpd_oled.

Adrian.

Hi Adrian! Thank you very much for helping me to work with this. Finally i made it worked. Mind me to ask how should i rotate the display and where should i insert this "R" on these lines. sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
Reply
Hi drei

The order of options doesn't matter. You could add it at the end

Code:
sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 -R

Adrian.
Reply
(05-10-2025, 01:04 PM)adrii Wrote: Hi drei

The order of options doesn't matter. You could add it at the end

Code:
sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1 -R

Adrian.
Thank you adrian!
Reply
Hi drei,
I am happy that you have solved the issue.
Best regards,
Francesco
Reply


Forum Jump: