mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Writing the current time (as seen by VDR) into the log file when starting a timer recording
This commit is contained in:
parent
53364f9248
commit
e1f7348922
3
HISTORY
3
HISTORY
@ -781,3 +781,6 @@ Video Disk Recorder Revision History
|
|||||||
- New command line option '-r' to define a command that gets called before and
|
- New command line option '-r' to define a command that gets called before and
|
||||||
after each recording (see INSTALL for details).
|
after each recording (see INSTALL for details).
|
||||||
- Implemented a check to see whether the system time is running linearly.
|
- 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
3
vdr.c
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
* The project's page is at http://www.cadsoft.de/people/kls/vdr
|
* 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
|
#define _GNU_SOURCE
|
||||||
@ -355,6 +355,7 @@ int main(int argc, char *argv[])
|
|||||||
cRecordControls::Process(Now);
|
cRecordControls::Process(Now);
|
||||||
cTimer *Timer = Timers.GetMatch(Now);
|
cTimer *Timer = Timers.GetMatch(Now);
|
||||||
if (Timer) {
|
if (Timer) {
|
||||||
|
dsyslog(LOG_INFO, "system time seen is %s", ctime(&Now));
|
||||||
if (!cRecordControls::Start(Timer))
|
if (!cRecordControls::Start(Timer))
|
||||||
Timer->SetPending(true);
|
Timer->SetPending(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user