Package org.openhab.binding.xbmc.rpc.calls

Examples of org.openhab.binding.xbmc.rpc.calls.FilesPrepareDownload


  private void updateFanartUrl(final String property, String imagePath) {
    if (StringUtils.isEmpty(imagePath))
      return;
   
    final FilesPrepareDownload fanart = new FilesPrepareDownload(client, httpUri);
    fanart.setImagePath(imagePath);
   
    fanart.execute(new Runnable() {
      public void run() {
        String url = String.format("http://%s:%d/%s", xbmc.getHostname(), xbmc.getPort(), fanart.getPath());
        updateProperty(property, url);
      }
    });
  }
View Full Code Here

TOP

Related Classes of org.openhab.binding.xbmc.rpc.calls.FilesPrepareDownload

Copyright © 2018 www.massapicom. 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.