final List<String> properties = getPlayerProperties(updatePolledPropertiesOnly);
if (!properties.isEmpty()) {
logger.debug("[{}]: Retrieving properties ({}) for playerId {}", xbmc.getHostname(), properties.size(), playerId);
// make the request for the player item details
final PlayerGetItem item = new PlayerGetItem(client, httpUri);
item.setPlayerId(playerId);
item.setProperties(properties);
item.execute(new Runnable() {
public void run() {
// now update each of the openHAB items for each property
for (String property : properties) {
String value = item.getPropertyValue(property);
if (property.equals("Player.Fanart")) {
updateFanartUrl(property, value);
} else {
updateProperty(property, value);
}