r.setMeetingID(mid);
r.setName(name);
ArrayList<Playback> plays = new ArrayList<Playback>();
plays.add(new Playback(r.getPlaybackFormat(), r.getPlaybackLink(),
getDurationRecording(r.getPlaybackDuration(),
r.getEndTime(), r.getStartTime()),
r.getPlaybackExtensions()));
r.setPlaybacks(plays);
map.put(r.getId(), r);
} else {
Recording rec = map.get(r.getId());
rec.getPlaybacks().add(new Playback(r.getPlaybackFormat(), r.getPlaybackLink(),
getDurationRecording(r.getPlaybackDuration(),
r.getEndTime(), r.getStartTime()),
r.getPlaybackExtensions()));
}
}