03-08-2019, 05:26 PM
Edit /var/www/command/index.php and uncomment the echo statement in the code block below
Then use the following URL
http://<host or ip_address>/command/?cmd=status
Code:
else {
sendMpdCmd($sock, $_GET['cmd']);
$result = readMpdResp($sock);
closeMpdSock($sock);
//echo $result;
}
Then use the following URL
http://<host or ip_address>/command/?cmd=status