diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2011-12-18 13:19:32 +0100 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2011-12-18 13:19:32 +0100 |
commit | 660c47ab44cef67a2b2bb6d3e8daa276129797f7 (patch) | |
tree | 4d081768db86bacbcdeca8951f4f36753447cb07 /README | |
parent | 4f34c22781754c73ba7300cf015696de9d34fcd1 (diff) | |
download | vdr-plugin-dynamite-660c47ab44cef67a2b2bb6d3e8daa276129797f7.tar.gz vdr-plugin-dynamite-660c47ab44cef67a2b2bb6d3e8daa276129797f7.tar.bz2 |
add attach-hook, argument is --device=/dev/pathv0.0.8j
Diffstat (limited to 'README')
-rw-r--r-- | README | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |