summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-04-27 11:15:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-04-27 11:15:29 +0200
commitfab3ade64aa88b09958d9822295ac27a04aad54c (patch)
tree7822e102278e8f5d5fac79ab37c17cb71b2abd97
parent42afaecfe08253d679d8acc73bb46c3dadb1b106 (diff)
downloadvdr-fab3ade64aa88b09958d9822295ac27a04aad54c.tar.gz
vdr-fab3ade64aa88b09958d9822295ac27a04aad54c.tar.bz2
Extended logging info when starting/stopping timers
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rw-r--r--timers.c4
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
diff --git a/HISTORY b/HISTORY
index 9c330bdb..18bf94f1 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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).
diff --git a/timers.c b/timers.c
index 8e2bead3..8c982e2d 100644
--- a/timers.c
+++ b/timers.c
@@ -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)