1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Extended logging info when starting/stopping timers

This commit is contained in:
Klaus Schmidinger 2003-04-27 11:15:29 +02:00
parent 42afaecfe0
commit fab3ade64a
3 changed files with 7 additions and 2 deletions

View File

@ -602,3 +602,6 @@ Christoph Friederich <christoph.friederich@gmx.de>
Andreas Brachold <andy03@deltab.de> Andreas Brachold <andy03@deltab.de>
for his support in keeping 'channels.conf.terr' up to date 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

View File

@ -2072,3 +2072,5 @@ Video Disk Recorder Revision History
- Removed the Mute() call from cDvbDevice::StillPicture() (suggested by Andreas - Removed the Mute() call from cDvbDevice::StillPicture() (suggested by Andreas
Schultz). Schultz).
- Updated 'channels.conf.terr' for Berlin (thanks to Andreas Brachold). - 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).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "timers.h"
@ -336,7 +336,7 @@ time_t cTimer::StopTime(void)
void cTimer::SetRecording(bool Recording) void cTimer::SetRecording(bool Recording)
{ {
recording = 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) void cTimer::SetPending(bool Pending)