Writing the current time (as seen by VDR) into the log file when starting a timer recording

This commit is contained in:
Klaus Schmidinger 2001-09-23 10:17:12 +02:00
parent 53364f9248
commit e1f7348922
2 changed files with 5 additions and 1 deletions

View File

@ -781,3 +781,6 @@ Video Disk Recorder Revision History
- New command line option '-r' to define a command that gets called before and
after each recording (see INSTALL for details).
- Implemented a check to see whether the system time is running linearly.
- Writing the current time (as seen by VDR) into the log file when starting
a timer recording (this may help debugging cases where timers don't start
at the expected time).

3
vdr.c
View File

@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
* $Id: vdr.c 1.76 2001/09/23 09:58:36 kls Exp $
* $Id: vdr.c 1.77 2001/09/23 10:11:07 kls Exp $
*/
#define _GNU_SOURCE
@ -355,6 +355,7 @@ int main(int argc, char *argv[])
cRecordControls::Process(Now);
cTimer *Timer = Timers.GetMatch(Now);
if (Timer) {
dsyslog(LOG_INFO, "system time seen is %s", ctime(&Now));
if (!cRecordControls::Start(Timer))
Timer->SetPending(true);
}