Skip to content

martinverup/node-xbmc-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-xbmc-rpc

Node interface for XBMC using JSON-RPC.

Usage example

var xbmc_rpc = require('node-xbmc-rpc');

var xbmc = new xbmc_rpc({
    url: <XBMC HOST>,
    user: <XBMC USERNAME>,
    password: <XBMC PASSWORD>
});

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

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

// OR

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

About

Node interface for XBMC using JSON-RPC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published