Skip to content
VDR Config Manager - interactive console dialogs script for managing VDR configuration files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HISTORY
LICENSE
Makefile
README.md
vdrcm

README.md

vdrcm

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.

Runtime dependencies:

  • which
  • coreutils
  • util-linux (for 'rev')
  • grep
  • 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.

Installation:

Run

prefix="/usr" make install

Runtime requirements:

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.

Command-line parameters:

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:

vdrcm --help

Displaying the script version:

vdrcm --version

License: GPL-2, see supplied license file.

Lucian Muresan, 2016.01.08

You can’t perform that action at this time.