diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-04-27 11:15:29 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-04-27 11:15:29 +0200 |
commit | fab3ade64aa88b09958d9822295ac27a04aad54c (patch) | |
tree | 7822e102278e8f5d5fac79ab37c17cb71b2abd97 | |
parent | 42afaecfe08253d679d8acc73bb46c3dadb1b106 (diff) | |
download | vdr-fab3ade64aa88b09958d9822295ac27a04aad54c.tar.gz vdr-fab3ade64aa88b09958d9822295ac27a04aad54c.tar.bz2 |
Extended logging info when starting/stopping timers
-rw-r--r-- | CONTRIBUTORS | 3 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | timers.c | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 55566a80..29b18d92 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -602,3 +602,6 @@ Christoph Friederich <christoph.friederich@gmx.de> Andreas Brachold <andy03@deltab.de> for his support in keeping 'channels.conf.terr' up to date + +Manuel Hartl <icecep@gmx.net> + for suggesting to extend the logging info when starting/stopping timers @@ -2072,3 +2072,5 @@ Video Disk Recorder Revision History - Removed the Mute() call from cDvbDevice::StillPicture() (suggested by Andreas Schultz). - Updated 'channels.conf.terr' for Berlin (thanks to Andreas Brachold). +- Extended logging info when starting/stopping timers to show the channel number, + start/stop time and the file name (suggested by Manuel Hartl). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.c 1.3 2002/11/24 14:29:21 kls Exp $ + * $Id: timers.c 1.4 2003/04/27 11:11:45 kls Exp $ */ #include "timers.h" @@ -336,7 +336,7 @@ time_t cTimer::StopTime(void) void cTimer::SetRecording(bool Recording) { recording = Recording; - isyslog("timer %d %s", Index() + 1, recording ? "start" : "stop"); + isyslog("timer %d (%d %04d-%04d '%s') %s", Index() + 1, Channel()->Number(), start, stop, file, recording ? "start" : "stop"); } void cTimer::SetPending(bool Pending) |