@noodlex/node-kodi-fix
Node interface for Kodi using JSON-RPC From 'node-kodi' created by Martin Verup See : https://github.com/martinverup/node-kodi
Last updated a year ago by noodlex .
GPL-2.0-only · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @noodlex/node-kodi-fix 
SYNC missed versions from official npm registry.

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);
});


Current Tags

  • 0.0.7-alpha                                ...           latest (a year ago)

5 Versions

  • 0.0.7-alpha                                ...           a year ago
  • 0.0.6-alpha                                ...           a year ago
  • 0.0.5-alpha                                ...           a year ago
  • 0.0.4-alpha                                ...           a year ago
  • 0.0.3-alpha                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |