Moode Forum
[How to do instruction] 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9)
+--- Thread: [How to do instruction] 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi (/showthread.php?tid=155)



RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - DRONE7 - 10-21-2021

(10-21-2021, 05:17 PM)Jempie Wrote: Dear Adrian,

I thought Drone7 did that, or modify it.
Only the bars

Jempie

That was quite a few years ago and I'm sure the code has changed considerably since then....for reference though here is a link to that previous change..
https://moodeaudio.org/forum/showthread.php?tid=155&pid=7475#pid7475


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Jempie - 10-22-2021

Dear Adrian,

while playing and switching off the power supply, the display does not show the first screen
but goes in a pause with the screen before.

so you can not see the startup screen, you must remove all and clear the music you have played.

Jempie


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 10-22-2021

Hi Jempie

If I have understood, you are seeing an mpd_oled play/pause screen when restarting moode after cutting the power while mpd_oled is on a play/pause screen. Is that right?

What is your version of Moode? There was a related issue that was fixed last year

   https://moodeaudio.org/forum/showthread.php?tid=2924

If you are running the latest Moode, how old is your version of mpd_oled?

If you are using recent versions of Moode and mpd_oled then please post the output of the following command when the unexpected screen is being displayed

Code:
cat /var/local/www/currentsong.txt

Adrian.


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Jempie - 10-22-2021

Adrian,

moode version 7.30
MPD-Oled? i thought 7 how can I test this

Jem


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 10-22-2021

Hi Jempie

Moode 7.3 is fine.

I checked the mpd_oled commit log and I made some relevant changes five months ago

   https://github.com/antiprism/mpd_oled/commit/50adae6df5d17232df2c5994e723b9ce2ec66fb6

If your version of mpd_oled could have been downloaded before this then download and install the current version of mpd_oled (or you could just install the latest version anyway, to be sure you are running the latest code).

Adrian.


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Jempie - 10-27-2021

Dear Adrian,

when I play the radio and push on pause it goes back to the first screen with time.
when playing from the USB stick push on pause it stays on track and does not go to the first screen

how can I change that?


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 10-27-2021

Hi Jempie

I expect that Moode has put the radio into the "stop" state, and has put the music file into the "pause" state. Check the state by running

Code:
cat /var/local/www/currentsong.txt

By default the mpd_oled "pause" screen is the same as the "play" screen, if you want the "pause" screen to be the same as the "stop" screen then run mpd_oled with the -P option set to s (mpd_oled ... -P s).

Adrian.


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Jempie - 10-27-2021

adrian,

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


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 10-27-2021

Hi Jempie

You need to add '-P s', not '-S' (see https://github.com/antiprism/mpd_oled#program-help-and-options)

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

Adrian.


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Jempie - 10-28-2021

Dear Adrian,

thanks, I notice that the music on the sd card needs to change also please which command?
i don't see that

Thanks