04-28-2018, 07:42 AM
Hi Tim
Thanks for the extra information. The FIFO won't survive an 'mpc enable only 1', and so I have also amended that area of the code to reenable the FIFO after it is disabled (a single command like 'mpc enable only 1 mpd_oled_FIFO' was also an option).
The display appears to be working fine. I will test it for a couple of days and then update the repository with the installation instructions for Moode.
Adrian.
Thanks for the extra information. The FIFO won't survive an 'mpc enable only 1', and so I have also amended that area of the code to reenable the FIFO after it is disabled (a single command like 'mpc enable only 1 mpd_oled_FIFO' was also an option).
PHP Code:
...
$mpdoutput = configMpdOutputs();
sysCmd('mpc enable only ' . $mpdoutput);
sysCmd('mpc enable mpd_oled_FIFO');
// report mpd outputs
$sock = openMpdSock('localhost', 6600);
The display appears to be working fine. I will test it for a couple of days and then update the repository with the installation instructions for Moode.
Adrian.