Thank you for your donation!


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

I checked this morning and was able to confirm the delay is due to a stale Moode status file. I rebooted the player from the GUI while a radio station was playing and then logged back in as soon as possible and listed the status file repeatedly. After 20 seconds or so Moode started writing the status file and the mpd_oled switched from the "play" screen to the "stop" screen. You can see the changeover here

Code:
pi@moode:~ $ cat /var/local/www/currentsong.txt
file=http://stream.morow.com:8080/morow_med.aacp
artist=Radio station
album=Morow - Retro Progressive Rock
title=Sky Architect - Excavations Of The Mind
coverurl=images/radio-logos/Morow - Retro Progressive Rock.jpg
track=
date=
composer=
encoded=VBR
bitrate=69 kbps
outrate=16 bit, 44.1 kHz, Stereo, 1.411 mbps
volume=7
mute=0
state=play

pi@moode:~ $ cat /var/local/www/currentsong.txt
file=http://stream.morow.com:8080/morow_med.aacp
artist=Radio station
album=Morow - Retro Progressive Rock
title=Sky Architect - Excavations Of The Mind
coverurl=images/radio-logos/Morow - Retro Progressive Rock.jpg
track=
date=
composer=
encoded=VBR
bitrate=0 bps
outrate=0 bps
volume=7
mute=0
state=stop

I noticed that the Moode GUI became available again at the same time that the status file was written for the first time, meaning that mpd_oled showed a valid status screen as soon as Moode became functional.

Adrian.
Reply
Hi Alain

Tim has removed the stale currentsong.txt file during the Moode startup, so in the next version of Moode mpd_oled will hopefully start up showing the "stop" screen (with the big clock).

Adrian.
Reply
Pretty nice, thanks
Reply
I have been looking at all these pretty oleds and was thinking about getting one.

Today i was looking at audiophonics i saw that they had a 256x64 OLED 3.12" screen and some other stuff i had to buy.

But i didn't check up on how it should be used or if it could be used.

Is it difficult to get it to work with rpi 3/4?

Definitely have to read some more about the oled and the threads here that are about oled Smile

https://www.audiophonics.fr/en/screens-v...14604.html
Reply
Hi wuffer79

Your display isn't supported by mpd_oled. However, it appears to be supported by luma.oled, and so you should be able to use it for something (even if that means writing a bit of Python). 

Adrian.
Reply
(09-02-2020, 08:46 AM)adrii Wrote: Hi wuffer79

Your display isn't supported by mpd_oled. However, it appears to be supported by luma.oled, and so you should be able to use it for something (even if that means writing a bit of Python). 

Adrian.

Thanks. I might have been a little too fast to order.  Tongue I will look at that link  Smile
Reply


Forum Jump: