A patch to fix some timer issues has been proposed by Udo Richter on the VDR mailling list called "vdr-1.4.0-starttime.diff". Unfortunatly, these changes break Enigma's main menu where it displays the next occuring timers.
--- vdr-1.4.0-orig/timers.c 2006-05-20 18:50:49.000000000 +0200
+++ vdr-1.4.0/timers.c 2006-05-20 18:50:54.000000000 +0200
@@ -347,7 +347,7 @@
}
else {
for (int i = -1; i <= 7; i++) {
- time_t t0 = IncDay(t, i);
+ time_t t0 = IncDay(day ? max(day, t) : t, i);
if (DayMatches(t0)) {
time_t a = SetTime(t0, begin);
time_t b = a + length;
@@ -359,7 +359,7 @@
}
}
if (!startTime)
- startTime = day; // just to have something that's more than a week in the future
+ startTime = IncDay(t, 7); // just to have something that's more than a week in the future
else if (!Directly && (t > startTime
t > day + SECSINDAY + 3600)) // +3600 in case of DST change
day = 0;
}
Does anyone know how to fix the text2skin_extensions-0.8.diff patch so it supports Udo's changes to timers.c?