summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2011-12-21 21:14:53 +0100
committerLars Hanisch <dvb@flensrocker.de>2011-12-21 21:14:53 +0100
commit8418c347ebfeb3221aba6de76e2c7a45e961a389 (patch)
treecd06e71cb3705d3efab31c75d6ccb919cb1c52a2 /README
parentd0d516656bcd11c13096d4096d6a1da906e2a569 (diff)
downloadvdr-plugin-dynamite-0.0.8k.tar.gz
vdr-plugin-dynamite-0.0.8k.tar.bz2
call attach-hook on detach, too, argument is --action=detach --device=/dev/pathv0.0.8k
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 5dd54e2..b6544ab 100644
--- a/README
+++ b/README
@@ -235,7 +235,7 @@ Commandline Arguments
leave n slots free for non-dynamic devices of
incompatible plugins
-a, --attach-hook=/path/to/program
- set program to be called on device attach
+ set program to be called on device attach/detach
-i, --idle-hook=/path/to/program
set program to be called on SetIdle and reactivation
-I, --idle-timeout=m
@@ -245,11 +245,11 @@ Commandline Arguments
Attach hook
-----------
-If you want 'special action' taken after a device is attached to vdr
-you can specify a program either with the commandline parameter
+If you want 'special action' taken after a device is attached or detached
+to vdr you can specify a program either with the commandline parameter
"--attach-hook=/path/to/program" or with an entry in the setup.conf
dynamite.AttachHook = /path/to/program
-It will be called with the parameter "--device=/dev/path".
+It will be called with the parameter "--action=[attach|detach] --device=/dev/path".
Idle mode
---------