kodi-controller
v1.2.0
Published
Control Kodi from JavaScript!
Downloads
15
Maintainers
Readme
Kodi Controller
Kodi Controller is a callback driven package for controlling Kodi from javascript.
Installation
Use the package manager npm to install Kodi Controller.
npm install kodi-controller
Usage
const KodiController = require("kodi-controller");
kodi = new KodiController("192.168.0.24", 8080);
kodi.pause();
kodi.getVolume((err, volume) =>{
console.log(`The Volume is currently ${volume}.`);
});
Contributing
Please make sure to update tests as appropriate.