use of org.openhab.binding.xbmc.rpc.calls.ApplicationGetProperties in project openhab1-addons by openhab.
the class XbmcConnector method requestApplicationUpdate.
public void requestApplicationUpdate() {
final ApplicationGetProperties app = new ApplicationGetProperties(client, httpUri);
app.execute(new Runnable() {
@Override
public void run() {
// now update each of the openHAB items for each property
volume = new BigDecimal(app.getVolume());
updateProperty("Application.Volume", new PercentType(volume));
}
});
}
Aggregations