Thank you for your donation!


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


Run Script with play button (yet another...)
#2
There is no built in callback but it would be pretty easy to add one.

Look at the file /var/www/command/index.php in the code block titled // MPD commands. You would simply add some code to check for $_GET['cmd'] equal to one of 'pause', 'stop', or 'play' and then execute your script using the sysCmd() function.

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Run Script with play button (yet another...) - by Tim Curtis - 10-14-2019, 07:24 PM

Forum Jump: