VDR Config Manager - interactive console dialogs script for managing VDR configuration files
For VDR versions close to 2.2.0 and newer, supporting config files placed in the ARGSDIR directory. The pool of config files for VDR itself and one for each plugin instance are expected to be situated under /etc/vdr/conf.avail, then vdrcm will soft-link them to /etc/vdr/conf.d.
- util-linux (for 'rev')
- pkg-config (is optional, but if not present, argsdir has to be read from ~/.vdrcm, see below)
- For interactively displaying dialogues in the text console, 'dialog' or 'whiptail' (the latter from the package "newt") is required. If the interactive mode is not used, they are not needed for the command-line mode.
prefix="/usr" make install
vdrcm will read ARGSDIR from pkgconfig if VDR is installed with a package manager which also installs the pkgcfg file. Alternatively, if there is no pkg-config binary on the system, ARGSDIR will be read from the user's home which administers the VDR plugin configs, from ~/.vdrcm, which can be created like this:
echo "argsdir=/etc/vdr/conf.d" > ~/.vdrcm
The script can be used in interactive mode, for enabling/disabling available plugins, changing their order, edit them. A visual usage summary can be seen in the Wiki.
Enabling a plugin, by its name:
vdrcm --enable PLUGIN-NAME
Disabling a plugin, by its name:
vdrcm --disable PLUGIN-NAME
Inserting a already enabled plugin before another enabled one, by its index:
vdrcm --insert-before PLUGIN-INDEX-SRC PLUGIN-INDEX-DST
Displaying a brief usage help:
Displaying the script version:
License: GPL-2, see supplied license file.
Lucian Muresan, 2016.01.08