diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-07 11:10:56 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-07 11:10:56 +0200 |
commit | 8b137f8ce5b901a7ef9193644832827339deee2f (patch) | |
tree | dd21d564186dccf77ac27baf3c403dabaea31edf /timers.c | |
parent | 9f7166a8915596fca3656d4b2627dd0bcc27ddaa (diff) | |
download | vdr-8b137f8ce5b901a7ef9193644832827339deee2f.tar.gz vdr-8b137f8ce5b901a7ef9193644832827339deee2f.tar.bz2 |
Added status flag for timers that are currently recording
Diffstat (limited to 'timers.c')
-rw-r--r-- | timers.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.c 1.30 2005/03/20 14:50:37 kls Exp $ + * $Id: timers.c 1.31 2005/05/07 11:10:56 kls Exp $ */ #include "timers.h" @@ -441,6 +441,10 @@ void cTimer::SetEvent(const cSchedule *Schedule, const cEvent *Event) void cTimer::SetRecording(bool Recording) { recording = Recording; + if (recording) + SetFlags(tfRecording); + else + ClrFlags(tfRecording); isyslog("timer %s %s", *ToDescr(), recording ? "start" : "stop"); } |