Thank you for your donation!


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


Idea: Change GPIO state on mpd play / stop
#4
(01-23-2019, 05:06 PM)Tim Curtis Wrote: Hi @tristanc,

Scripts that contain their own polling loops and delays need to be run separately from worker.php. This is because worker  contains its own polling loop for processing jobs, updating renderer status, etc., and this loop requires a fixed time interval.

-Tim

Ah, so there'd need to be something 'above' worker.php. And doing a quick google suggests multi-threaded PHP is not recommended for web purposes...

Perhaps best left as a service outside of Moode then unless there's something clever that can be done.
Reply


Messages In This Thread
RE: Change GPIO state on mpd play / stop - by tristanc - 01-24-2019, 11:53 AM

Forum Jump: