if (localTimeCorrection != null) {
rp.setAltTimeZone(localTimeCorrection);
}
Program prog = new Program(null, mappedId, rp.getTitle(), rp.getDescription(), new Timestamp(rp.getStartDate().getTime()), new Timestamp(rp.getStopDate().getTime()));
long programId;
try {
programDAO.save(prog);
programId = prog.getId();
progCounter++;
if (Epgd.config.recordAllPrograms) {
Recording record = new Recording(null, programId, Recording.Mode.WAITING, null);
recordingDAO.save(record);