final Event e = createEventByProgramme(list, channelTitle, programme);
e.commit();
} else {
final Enumeration en;
if (list.maxCategories() != 0) {
en = list.itemsByCategory("TV");
} else {
en = list.items();
}
long startTime = TimeProcessorImpl.createDateByMinutes(programme.startMinutes).getTime();
for (; en.hasMoreElements();) {