vdr/vdr/debian README.Debian changelog
Tobias Grimm
pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 23 May 2004 16:46:04 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv31502
Modified Files:
README.Debian changelog
Log Message:
added description of plugin and command loading
Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/changelog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- changelog 22 May 2004 22:06:53 -0000 1.19
+++ changelog 23 May 2004 16:46:02 -0000 1.20
@@ -33,6 +33,7 @@
* Tobias Grimm <vdr@e-tobi.net>
- added automatic loading of plugins in init script from c't vdr
- added dynamic generation of reccmds.conf and commands.conf from c't vdr
+ - added description of plugin and command loading to README.Debian
-- Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de> Sat, 24 Apr 2004 12:04:41 +0200
Index: README.Debian
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/README.Debian,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- README.Debian 9 May 2004 14:27:18 -0000 1.3
+++ README.Debian 23 May 2004 16:46:02 -0000 1.4
@@ -24,3 +24,50 @@
priorities, you can select the binary via "update-alternatives --config vdr"
-- Andreas Mueller <amu@debian.org>, Thu, 9 Dep 2003 12:00:00 +0200
+
+
+Automatic Loading of Plugins
+----------------------------
+
+When starting vdr with "/etc/init.d/vdr start", for each plugin found in
+/usr/lib/vdr/plugins the appropriate command line argument -P<plugin_name>
+will be created automatically.
+
+If a file /var/lib/vdr/plugins/plugin.<plugin_name>.conf exists, it will be
+parsed for command line arguments for the specified plugin. This file may
+contain comments preceeded by a "#" and the command line arguments may also be
+distributed across several lines.
+
+ -- Tobias Grimm <tg@e-tobi.net>, Sun, 23 May 2004 18:00:00 +0100
+
+
+Command- and Recording-Command-Hooks
+--------------------------------------
+
+VDR has the ability, to start external commands using the OSD menu. There are
+two types of external commands - normal commands and recording commands. Normal
+commands are shown under VDR's main menu entry "commands" while, recording
+commands are accessible only in VDR's recordings menu. While normal commands are
+executed without any parameters, recording commands will receive the directory
+of the selected recording as the first command line argument.
+
+In order to allow other packages (Addons) to install their own commands, the
+command files passed to vdr in /etc/init.d/vdr are generated out of the files
+commands.<descriptor>.conf and reccmds.<descriptor>.conf found in
+/usr/share/vdr/command-hooks/. <descriptor> normally should be the name of
+the package, that wants to add these commands to VDR. The order of the
+commands can be definded in the files order.commands.conf and order.reccmds.conf
+in /etc/vdr/command-hooks/.
+
+If the author of a package wants the user to be able to customize the commands
+added to vdr, the command file should be installed to /etc/vdr/command-hooks/
+and only symlinked to /usr/share/vdr/command-hooks.
+
+For a description of the command file syntax, refer to commands.conf and
+reccmds.conf in the vdr documention.
+
+Commands added by the user, should go to commands.custom.conf and
+reccmds.custom.conf in /etc/vdr/command-hooks. These files contain also some
+examples.
+
+ -- Tobias Grimm <tg@e-tobi.net>, Sun, 23 May 2004 18:00:00 +0100