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
(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....75#pid7475
----------
bob
Reply
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
Reply
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.
Reply
Adrian,

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

Jem
Reply
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/co...ce2ec66fb6

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.
Reply
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?
Reply
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.
Reply
adrian,

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

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

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

Adrian.
Reply
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
Reply


Forum Jump: