Thank you for your donation!


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


Problem: how do I know what moode is doing?
#2
You could try the command API.
https://github.com/moode-player/moode/bl.../setup.txt

To get output from commands you will need to uncomment the statement //echo $result; in file /var/www/command/index.php. See below.

Code:
// MPD commands
else {
    if (false === ($sock = openMpdSock('localhost', 6600))) {
        $msg = 'command/index: Connection to MPD failed';
        workerLog($msg);
        exit($msg . "\n");
    }
    else {
        sendMpdCmd($sock, $_GET['cmd']);
        $result = readMpdResp($sock);
        closeMpdSock($sock);
        //echo $result;
    }
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
how do I know what moode is doing? - by didomax - 03-27-2021, 09:40 PM
RE: how do I know what moode is doing? - by Tim Curtis - 03-27-2021, 10:18 PM
RE: how do I know what moode is doing? - by adrii - 03-28-2021, 10:03 AM
RE: how do I know what moode is doing? - by adrii - 03-28-2021, 10:19 AM

Forum Jump: