static public void updateNodePictureType(PropertyTree node) {
		if(node==null) {
			return;
		}
		if (!FileMetadata.class.isAssignableFrom(node.getNodeProperty().getDataType())) {
			// not a file node?
			return;
		}
		FileMetadata fm = (FileMetadata) node.getValue();
		if(fm==null) {
			// no metadata?
			return;
		}
		ImageAttributes attr=fm.getImageAttributes();
		if(attr==null) {
			// not an image?
			return;
		}
		
		// determine property from metadata
		Property newProperty=MediaProperty.PICTURE;
		Id3PictureType pictureType=attr.getId3PictureType();
		if(pictureType!=null) {
			newProperty = newProperty.extended(pictureType.getDescription(),true);
		}

		// set property
		if(!newProperty.equals(node.getNodeProperty())) {
			node.changeProperty(newProperty);
		}
	}