summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-04-11 12:12:43 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-04-11 12:12:43 +0200
commit38ee88e5ee4c412cbd1f71dde672acdcd6f35d06 (patch)
tree648141040d03b686596bf834f0c7e01cfd206dd9 /INSTALL
parent7d4907507916b555ae8cdd33f9741ed7ae704ad7 (diff)
downloadvdr-38ee88e5ee4c412cbd1f71dde672acdcd6f35d06.tar.gz
vdr-38ee88e5ee4c412cbd1f71dde672acdcd6f35d06.tar.bz2
The script that gets called for recordings is now also called right before a recording is edited
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL13
1 files changed, 9 insertions, 4 deletions
diff --git a/INSTALL b/INSTALL
index ae75900b..0f36ada2 100644
--- a/INSTALL
+++ b/INSTALL
@@ -268,19 +268,20 @@ You can use the '-r' option to define a program or script that gets called
before and after a recording is performed, and after an editing process
has finished or a recording has been deleted.
-The program will be called with two or three (in case of "edited") string
-parameters. The first parameter is one of
+The program will be called with two or three (in case of "editing" and "edited")
+string parameters. The first parameter is one of
before if this is *before* a recording starts
started if this is after a recording has *started*
after if this is *after* a recording has finished
+ editing if this is before *editing* a recording
edited if this is after a recording has been *edited*
deleted if this is after a recording has been *deleted*
and the second parameter contains the full name of the recording's
directory (which may not yet exists at that moment in the "before" case).
-In the "edited" case it will be the name of the edited version (second
-parameter) and the name of the source version (third parameter).
+In the "editing" and "edited" case it will be the name of the edited version
+(second parameter) and the name of the source version (third parameter).
In the "deleted" case the extension of the directory name is ".del"
instead of ".rec".
@@ -304,6 +305,10 @@ case "$1" in
after)
echo "After recording $2"
;;
+ editing)
+ echo "Editing recording $2"
+ echo "Source recording $3"
+ ;;
edited)
echo "Edited recording $2"
echo "Source recording $3"