Installscript-vdr.conf

Aus VDR Wiki
Wechseln zu: Navigation, Suche

vdr.conf

# -----------------------------------------------------------
# Description: Environment for VDR
# -----------------------------------------------------------
#
# Format:
#
# VDR_OPTION=""
#     ^^^^^^
#     use vdr --help
#
# VDR_EPG="..." (tr A-Z a-z)
#     ^^^
#   --epg='...'

Installation Prefix.

# installation prefix
PREFIX="/usr/local"

Das meiste wird hier aktiviert, und über die runvdr ausgeführt, die Scripts in ../admin/start-cmds/rc sollte man sich anpassen.

# -----------------------------------------------------------
# start / loads the following programs (runvdr start)
# -----------------------------------------------------------
#START_ACTIVY="0"
START_ADMIN="0"
START_AMAROKGATEWAY="0"
START_ATD="1"
START_DVB="1"
#START_DXR3="0"
START_GLCDSPLASH="0"
#START_IGOR="0"
#START_IVTV="0"
START_LCDD="0"
START_LIRCD="1"
START_LOADKEYS="0"
START_MLNET="0"
START_MVPLOADER="0"
START_MYSQLD="0"
START_NTPDATE="0"
START_QUEUEHANDLER="0"
START_RTORRENT="0"
START_TUNE="0"
START_XXV="0"

Angabe des Programms, welches für die Weiterleitung des Dolby-Digital Signals verantwortlich ist.

# -----------------------------------------------------------
# vdr
# -----------------------------------------------------------
# send Dolby Digital audio to stdin of command CMD, e.g: "a52dec -o oss6"
VDR_AUDIO=""

Verzeichnis, in dem sich die Konfigurationsdateien des VDR befinden.

# directory where vdr stores its config files. vdr defaults to /video
VDR_CONFIG="/usr/local/etc/vdr"

Anzahl der DVB-Devices, die genutzt werden sollen (0,1,2 ...).

# use only the given DVB device (NUM = 0, 1, 2 ...)
# there may be several -D options (default: all DVB devices will be used)
VDR_DEV=""

File in dem das EPG gespeichert wird.

# write the EPG data into the given FILE (default is /video/epg.data)
# use '-E-' to disable this if FILE is a directory, the default EPG file will be created in that directory
VDR_EPG="${VDR_CONFIG}/epg.data"

VDR Optionen

# write images from the SVDRP command GRAB into the given DIR; DIR must be the full path name of an
# existing directory, without any "..", double '/' or symlinks (default: none, same as -g-)
VDR_GRAB="/tmp"

Verzeichnis, in dem sich die Plugins befinden.

# search for plugins in DIR (default is ./PLUGINS/lib)
VDR_LIB="${PREFIX}/lib/vdr"

LIRC

# use a LIRC remote control device, attached to PATH (default: /dev/lircd)
VDR_LIRC=""

Angabe des Logging-Levels (0,1,2,3).

# set log level
# 0 = no logging
# 1 = errors only
# 2 = errors and info
# 3 = errors, info and debug (default)
VDR_LOG="3"

Host für das Simple-Video-Disk-Recorder-Protokoll (siehe SVDRP).

# destination hostname (default: 127.0.0.1)
VDRDEST=""

Port für das Simple-Video-Disk-Recorder-Protokoll (siehe SVDRP).

# which port to listen vor SVDRP commands, see vdr --help. default (default: 2001)
VDR_PORT=""

RCU

# use a remote control device, attached to PATH (default: /dev/ttyS1)
VDR_RCU=""

Script, welches vor bzw. nach einer Aufnahme ausgeführt wird.

# call CMD before and after a recording, e.g:
VDR_RECORD="${VDR_CONFIG}/scripts/rwrapper.sh"

Script zum Herunterfahren des PCs, für das extb-plugin ändern in (${SCRDIR}/extb-poweroff.pl).

# call CMD to shutdown the computer
VDR_SHUTDOWN="${VDR_CONFIG}/scripts/shutdown.sh"

Ausgabe-Terminal zur Kontrolle von Meldungen des VDR.

# controlling tty ('/dev/tty1')
VDR_TERMINAL=""

VDR Optionen

# run as user USER (default: vdr) only applicable if started as root
VDR_USER="root"

Verzeichnis für die Aufnahmen.

# use DIR as video directory (default: /video)
VDR_VIDEO="/video0"

Hier wird die Zeit in Sekunden angegeben, die der Watchdog zur Reaktion benötigt.

# activate the watchdog timer with a timeout of SEC
# seconds (default: 0); '0' disables the watchdog
VDR_WATCHDOG="60"

Sonstieges.

# mute audio of the primary DVB device at startup (--mute)
# don't use the keyboard as an input device (--no-kbd)
# encode special characters in recording names to avoid problems with VFAT file systems (--vfat)
USRDEV=""

Für Übersetzungen.

# -----------------------------------------------------------
# misc
# -----------------------------------------------------------
# locale
TEXTDOMAIN="vdr"
TEXTDOMAINDIR="${VDR_CONFIG}/locale"

SVDRP

# svdrpsend.pl
SVDRPSENDCMD="${PREFIX}/bin/svdrpsend.pl -p ${VDR_PORT:-2001} -d ${VDRDEST:-127.0.0.1}"

Scripts / Konfiguration vom admin-plugin.

# path to admin
ADMDIR="${VDR_CONFIG}/admin"

Verzeichnis zu den Scripts.

# path to scripts
SCRDIR="${VDR_CONFIG}/scripts"

Auslagerort der Schnitte. clipinc

# where to store the clips + mp3s
CLIPINCDIR="/video0/clips"

Fall andere Skripts, mit gestartet werden sollen.

# run script(s) with runvdr start
MYSCRIPTS="/path/script /path/script"

Klar.

# -----------------------------------------------------------
# config for shutdown
# -----------------------------------------------------------
# wake up method ('off','acpi','nvram','suspend','suspend-no-reboot')
WAKEUP_METHOD="off"

Falls das Board bekannt sein sollte.

# specify the iw (infowriter) name. (e.g: gigabyte_5aa)
NVRAM_IWNAME=""

Klar.

# read board configuration from specified configuration file (e.g: "$PREFIX/etc/nvram-wakeup/nvram-wakeup.conf")
NVRAM_CONFIG=""

Weitere Optionen.

# try "nvram-wakeup --help"
NVRAM_OPT="--syslog"

Welchen Bootmanager?

# Which boot manager are you using? (grub/lilo)
BOOT_MANAGER="grub"

EPG -> tvmovie2vdr -> infosatepg

# -----------------------------------------------------------
# epg -> look in ../admin/record-cmds/after-wakeup.run
# -----------------------------------------------------------
EPG_TVMOVIE2VDR="0"
EPG_INFOSATEPG="0"
EPG_TVINFOMERK2VDR="0"

Umgebungsvariable für VIDEGOR.

# -----------------------------------------------------------
# config for plugins
# -----------------------------------------------------------
# igor environment
IGOR="localhost:11072"

muggle-plugin

# muggle
MUGGLEDIR="/mp3"