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 JB

I have pushed an update to show the alternative renderer name.

The final decision logic is:

Query MPD:
If "play"/"pause"
   MPD being used, state is "play"/"pause", display detailled song information
else
   read current song file
   if file opened, and renderer name is read, and state value is not present or is not read as "stop"
      state is "play", display renderer name
   else
      state is "stop"

I have only tested using the Bluetooth renderer.

mpd_oled MUST be built with 'PLAYER=MOODE make' for the new code to be triggered. In other words, it works when built on Moode 6.

For Moode 5 it should still be possible to build with 'PLAYER=MOODE make' if you edit the mpd_oled Makefile and change 
Code:
else ifeq ($(PLAYER),MOODE)
        PLAYERLIBS=-li2c
to 
Code:
else ifeq ($(PLAYER),MOODE)
        PLAYERLIBS=
(although I have not tested this).

Please let me know if you come across any issues!

Adrian.
Reply


Messages In This Thread
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - by adrii - 09-22-2019, 08:56 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: