Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: little flaw with repeating timers



Mel Schaechner wrote:
> 
> Hi list,
> 
> I've found a little flaw with repeating timers over
> midnight set to "next day".
> 
> On friday I set my daily timer "H.S.Show", tuesday to
> friday, 23:10 to 00:30 to "!", to avoid recording some
> stuff (there was no "H.S.Show" on Good Friday). I am
> aware that "first day" is set to next day (in my case
> saturday), when no more editing is done.
> 
> On midnight (friday to saturday) vdr began to record
> until 00:30. My timer say's: 23:10 to 00:30 the
> following day, but vdr seems not to be aware of this
> "following day".

This should fix it:

--- config.c    2002/03/17 14:24:09
+++ config.c    2002/03/31 11:57:07
@@ -602,7 +602,7 @@
          if ((!firstday || a >= firstday) && t <= b) {
             startTime = a;
             stopTime = b;
-            if (t >= firstday)
+            if (t >= firstday + SECSINDAY)
                firstday = 0;
             break;
             }


Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index