From 9f1046221d2fd6f8b4b2713174eccb7fe535e6d3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 22 Sep 2001 14:23:55 +0200 Subject: New command line option '-r' --- INSTALL | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index d4a24ee3..4691c9a8 100644 --- a/INSTALL +++ b/INSTALL @@ -158,6 +158,21 @@ particular hard- and software environment. If the '-s' option is present, the VDR machine can be turned off by pressing the "Power" key on the remote control. +Executing commands before and after a recording: +------------------------------------------------ + +You can use the '-r' option to define a program or script that gets called +before and after a recording is performed. + +The program will be called with one integer parameter that is "1" if this +is *before* the recording, and "0" if this is *after* the recording. + +Within this program you can do anything you would like to do before and/or +after a recording. However, the program must return as soon as possible, +because otherwise it will block further execution of VDR. Be expecially careful +to make sure the program returns before the watchdog timeout you may have set +up with the '-w' option! + Command line options: --------------------- -- cgit v1.2.3