diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-26 10:52:51 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-26 10:52:51 +0100 |
commit | 655b2297b98095b5fb05fd755a57813beb1ce335 (patch) | |
tree | d33e8e59901fe151d2a25f48d4899de11a48aced | |
parent | 9488c94133526fc9b0945638cdc74c6fffabbc61 (diff) | |
download | vdr-655b2297b98095b5fb05fd755a57813beb1ce335.tar.gz vdr-655b2297b98095b5fb05fd755a57813beb1ce335.tar.bz2 |
There is now a log message "timer ... set to event ..." when defining a timer from the EPG menu
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | timers.c | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -4402,3 +4402,5 @@ Video Disk Recorder Revision History timer now has its own timestamp to control whether its schedule has changed since the last time its event has been set. - Fixed setting events to timers in case a non-VPS event has expired. +- There is now a log message "timer ... set to event ..." when defining a timer + from the EPG menu. @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.c 1.49 2006/02/26 10:17:38 kls Exp $ + * $Id: timers.c 1.50 2006/02/26 10:50:47 kls Exp $ */ #include "timers.h" @@ -51,7 +51,7 @@ cTimer::cTimer(bool Instant, bool Pause, cChannel *Channel) cTimer::cTimer(const cEvent *Event) { startTime = stopTime = 0; - lastSetEvent = event->Schedule() ? event->Schedule()->Modified() : 0; + lastSetEvent = 0; recording = pending = inVpsMargin = false; flags = tfActive; if (Event->Vps() && Setup.UseVps) @@ -79,7 +79,7 @@ cTimer::cTimer(const cEvent *Event) if (!isempty(Title)) strn0cpy(file, Event->Title(), sizeof(file)); aux = NULL; - event = Event; + event = NULL; // let SetEvent() be called to get a log message } cTimer::~cTimer() |