xbmc-notify

Send notifications to your XBMC from Node.js

node-xbmc-notify

Send notifications to your XBMC from Node.js

It looks like my slightly bulkier project is being used almost exclusively for XBMC notifications. If that's the case, I'd rather release a more lightweight version that does only that.

npm install xbmc-notify

var xbmc = require('xbmc-notify');
 
// Optional config
xbmc.config({
  host     : "<xbmc host>:<port>",   //defaults to 127.0.0.1:8080
  user     : "<xbmc user>",          //defaults to null
  password : "<xbmc password>"       //defaults to null
  title    : "<msg title>"           //defsults to 'xbmc-notify'
  image    : "<optional image URI>"  //defaults to null
});
 
 
xbmc.notify("This is a title", "This is a message", "<optional image URI>");

This is an optional configuration object with the following properties:

  • host - XBMC host and port
  • user - XBMC user
  • password - XBMC password
  • image - Default image icon for all notifications. Will apply to all notifications unless overwritten.
  • title - Default title for all notifications. Will apply to all notifications unless overwritten.
  • message - Default msg for all notifications. Will apply to all notifications unless overwritten.
  • title - Notification title
  • msg - Notification message
  • image URI - optional image URI
  • callback - returns (,)