Release Control Kodi with your Google Home
#55
(2017-09-04, 19:38)Noexicaise Wrote: Hello.

First it all. Thank you ! Great script

But is there a way for shutdown system ?

Shutdown hasn't been added yet. But that should be possible. I can take a look at it if you want?

I've implemented it into my fork.
If you want to add it to you own code. You could do something like this:

Code:
// Parse request to Shutdown the kodi system
// Request format:  http://[THIS_SERVER_IP_ADDRESS]/shutdown
app.get('/shutdown', function(request, response) {
    validateRequest(request, response).then(() => {
        kodi.System.Shutdown();
        response.sendStatus(200);
    });
});
Reply


Messages In This Thread
RE: Control Kodi with your Google Home - by konti - 2017-09-05, 10:26


Logout Mark Read Team Forum Stats Members Help
Control Kodi with your Google Home4
This forum uses Lukasz Tkacz MyBB addons.