This is a Plugin-Setup Plugin for the Video Disk Recorder (VDR).

Written by:                  Andreas Fey (vdr a_t andreas minus fey dot com)

Project's homepage:          http://www.andreas-fey.com/projekte.html

See the file COPYING for license information.

Description:

This Plugin is written to setup the other Plugins you wish to start with your VDR. After 
installation simply navigate to the Plugin Configuration menu and choose the 
"plugin-setup". Here you can select/deselect the Plugins which should be loaded
after the next start of the vdr-process.

Installation:

1. unpack the tarball to your plugin-sources directory (usually /usr/local/src/VDR/PLUGINS/src)
2. to compile the plugin, type  "make plugins" in the VDR directory
3. place the files "plugin_setup_runvdr.conf" and "plugin_setup.conf" in your vdr plugins directory
4. export the following variables (already in the runvdr):
		export VDRPATH="/usr/local/bin"
		export VDRLIBPATH="/usr/local/lib/vdr"
		export CNFPATH="/_config/vdr"
		export BINPATH="/_config/bin"
		export PLGCNFPATH="$CNFPATH/plugins"
		export VDRPRG="$VDRPATH/vdr"
5. remove all parameters from your vdr-call in the runvdr script except the pluginsetup-Plugin:
   e.g.
   VDRCMD="vdr -w 50  -t /dev/tty8 -s vdrshutdown \
        -P pluginsetup "
	
6. Before starting VDRCMD ( usually in the while loop of runvdr )
   execute:
   
	  ALL_PLUGINS=`cat $PLGCNFPATH/plugin_setup_runvdr.conf`
   	su -c "$VDRCMD $ALL_PLUGINS" $VDRUSR        
	
or just take the runvdr-file delivered with this package.	        
	
	
7. restart the vdr-process

Configuration:

Adapt the file plugin_setup.conf to your installed plugins (syntax of the file is descibed in the header)
