JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 595
  • Score
    100M100P100Q96491F
  • License ISC

A XBMC RPC client for node.js

Package Exports

  • nodebmc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nodebmc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

nodebmc

nodebmc is a client library for xbmc.

Installation

From npm:

npm install nodebmc

From source:

git clone https://github.com/gtuk/nodebmc.git
npm link

Usage

// remote video
var browser = require( 'nodebmc' ).createBrowser();
browser.on( 'deviceOn', function( device ) {
    device.play( 'http://remotehost/video.mp4', function() {
        console.info( 'video playing...' );
    });
});
browser.start();

For more examples visit test folder