Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: "next timer event" problem (FIX)
- To: vdr@linuxtv.org
- Subject: [vdr] Re: "next timer event" problem (FIX)
- From: Klaus Schmidinger <Klaus.Schmidinger@cadsoft.de>
- Date: Fri, 01 Feb 2002 16:40:02 +0100
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: mhonarc@limes.convergence.de
- Organization: CadSoft Computer GmbH
- References: <8HqmH525lUB@zocki.toppoint.de> <3C586052.4256FB9E@cadsoft.de>
- Reply-to: vdr@linuxtv.org
- Sender: kls@cadsoft.de
- Sender: vdr-bounce@linuxtv.org
Klaus Schmidinger wrote:
>
> Rainer Zocholl wrote:
> >
> > Hello
> >
> > Up till now VDR ran beautiful!
> > (I gave one Hauppage DVB-s 2.1 to repair which blocks the PC(MS-6215)
> > often after a longer poweroff), and gave back the nova...)
> > (If it would warn about a full disc watching would be less stressy ;-)
> > But that's not the problem. The disc is free enough.)
> >
> > But yesterday the timer failed:
> > Is there problem with "single date"?
> >
> > I scheduled using "1 Schedule" : Record today, the 29th,
> > starting 21:54,
> > but VDR did not record!
> >
> > Worse:
> > Despite of the next weekly event at 0:59 it always says
> > the next event is at the 29th, now meaning next month
> > and nvram-wakup disables wake up entirely.
> >
> > If i look into "2 timers" i see the record of the 29th on the
> > top position, but there are a lot other "repeted" recordings before
> > the 29. will be on schedulke again.
> >
> > 3 Questions:
> > Why did the record programmend on the 29 (at approx 21:50, i'm QUITE
> > sure that it was before the actual start time) for the 29 21:54 did
> > not start?
> > Why is the "next" this 29th but with a false time?
> > Why is it listed on the top timer position if the programming
> > was interpreted as: "Next month"?
>
> There is apparently a problem with the 29th of february when sorting the
> timers. I'll look into it next weekend.
>
> Klaus
Here's the fix:
--- config.c 2002/01/19 16:06:42 1.77
+++ config.c 2002/02/01 15:35:23
@@ -551,7 +551,7 @@
if (length < 0)
length += SECSINDAY;
- int DaysToCheck = IsSingleEvent() ? 31 : 7;
+ int DaysToCheck = IsSingleEvent() ? 61 : 7; // 61 to handle months with 31/30/31
for (int i = -1; i <= DaysToCheck; i++) {
time_t t0 = IncDay(t, i);
if (DayMatches(t0)) {
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