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);
}
});
}