public String getDuration() {
		String duration = "-";
		if(segments != null) {
			long durationMinutes = 0;
			for(int i=0; i< segments.size(); i++) {
				Segment segment = (Segment) segments.elementAt(i);
				if(segment.getDuration() != null) {
					String[] currDuration = StringUtil.split(segment.getDuration(), ":");
					if(currDuration.length == 2) {
						try {
							//parse hours
							durationMinutes += Integer.parseInt(currDuration[0])*60;
							//parse minutes
							durationMinutes += Integer.parseInt(currDuration[1]);
						} catch (NumberFormatException nfe) {
							logger.error(nfe, "Invalid duration: " + segment.getDuration());
						}
					} else {
						logger.error("Invalid duration: " + segment.getDuration());
					}
				} 
			}
			if(durationMinutes>0) {
				duration = durationMinutes/60 + "h ";
				duration = duration + durationMinutes%60 + "m";
			}
		}
		return duration;
	}