Package org.openhab.binding.xbmc.rpc

Examples of org.openhab.binding.xbmc.rpc.XbmcConnector.addItem()


    String property = xbmcProvider.getProperty(itemName);

    XbmcConnector connector = getXbmcConnector(xbmcInstance);
    if (connector != null) {
      // add the new 'watch'
      connector.addItem(itemName, property);
     
      // update the player status so any current value is initialised
      if (connector.isConnected()) {
        connector.updatePlayerStatus();
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.