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 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


Messages In This Thread
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - by adrii - 08-31-2020, 07:32 AM
RE: help me - by ghera78 - 02-28-2020, 08:01 AM
RE: help me - by ghera78 - 02-28-2020, 01:17 PM

Forum Jump: