GitXplorerGitXplorer
m

node-kodi

public
5 stars
5 forks
2 issues

Commits

List of commits on branch master.
Verified
d7cfbe43f375d904520e473ed605d2ab10242d80

Update README.md

mmartinverup committed 7 years ago
Unverified
1887a23ce93491a679ce256478bdea2d5db166b2

Merge pull request #1 from vlewin/getCurrentlyPlayingVideo_accepts_params_and_properties

mmartinverup committed 8 years ago
Unverified
6ed31a05f9287d54606745e7721b87f1f8c883a4

Remove debug output

vvlewin committed 8 years ago
Unverified
418a2f5e24b4f85475c9c884cc3335a99e6d5de2

getCurrentlyPlayingVideo accepts params and additional properties

vvlewin committed 8 years ago
Unverified
ff3b9135b90e1f89a304420fc03eee9e0f5dcef5

Moved to Kodi name

committed 10 years ago
Unverified
43e4f8141f5a1e5ff45b411a8bfbb6793fe27ae1

Moved to Kodi name

committed 10 years ago

README

The README file for this repository.

Please note, this project isn't being updated anymore - you are welcome to fork it and continue development

node-kodi

Node interface for Kodi using JSON-RPC.

Usage example

var kodi_rpc = require('node-kodi');

var kodi = new kodi_rpc({
    url: <Kodi HOST>,
    user: <Kodi USERNAME>,
    password: <Kodi PASSWORD>
});

kodi.player.getCurrentlyPlayingVideo().then(function(r) {
    console.log(r);
});

kodi.input.sendText({"text": "This text is sent to Kodi"}).then(function(r) {
    console.log(r);
});

// OR

kodi.input.sendText('This text is sent to Kodi').then(function(r) {
    console.log(r);
});