10-14-2019, 07:24 PM
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
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