Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Add audio_output FIFO to mpd.conf
#7
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).

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


Messages In This Thread
Add audio_output FIFO to mpd.conf - by adrii - 04-27-2018, 07:33 AM
RE: Add audio_output FIFO to mpd.conf - by adrii - 04-27-2018, 03:04 PM
RE: Add audio_output FIFO to mpd.conf - by adrii - 04-27-2018, 03:13 PM
RE: Add audio_output FIFO to mpd.conf - by adrii - 04-28-2018, 07:42 AM

Forum Jump: