From 660c47ab44cef67a2b2bb6d3e8daa276129797f7 Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Sun, 18 Dec 2011 13:19:32 +0100 Subject: add attach-hook, argument is --device=/dev/path --- README | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README') diff --git a/README b/README index 34c2761..5dd54e2 100644 --- a/README +++ b/README @@ -216,6 +216,7 @@ Parameters in setup.conf dynamite.DefaultGetTSTimeout = 0 dynamite.GetTSTimeoutHandler = /path/to/program dynamite.FreeDeviceSlots = 0 +dynamite.AttachHook = /path/to/program dynamite.IdleHook = /path/to/program dynamite.IdleTimeout = 0 dynamite.IdleWakeup = 0 @@ -233,6 +234,8 @@ Commandline Arguments -f, --free-device-slots=n 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 -i, --idle-hook=/path/to/program set program to be called on SetIdle and reactivation -I, --idle-timeout=m @@ -240,6 +243,14 @@ Commandline Arguments -W, --idle-wakeup=h if a device is idle for h hours wake it up (e.g. for EPG scan) +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 +"--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". + Idle mode --------- A device with no active receiver can be set to "idle". Classes derived -- cgit v1.2.3