Installscript-vdr.conf

Aus VDR Wiki
Wechseln zu: Navigation, Suche
# Description: Environment for VDR
#
# Format:
#
# VDR_OPTION=""
#     ^^^^^^
#     use vdr --help
#
# VDR_EPG="......" (tr A-Z a-z)
#     ^^^
#   --epg='......'

Über welchen User das alles laufen soll.

# user
VDRUSR="root"

Das meiste wird hier "aktiviert", und über die runvdr ausgeführt, man erspaart sich somit ein zumüllen der runlevels.

Zum anderen wäre es ein Ding der unmöglichkeit für jede Distri initscripts zu erzeugen.

# start / loads the following programs (runvdr start)
#
# entry                                               status
# ------------------------------------------------------------
# admind     vdradmind.pl                             ok
# atd        at job manager                           ok
# dxr3       dxr3 and hollywood+ driver               untested
# dvb        driver for the dvb cards                 ok
# evexec     daemon for the remote plugin (first dvb) ok
# ivtv       c15 capture driver                       untested
# lircd      infrared receiver                        ok
# irexec     need lircd (first lircd)                 ok
# lcdd       server daemon lcdproc                    ok
# mvploader  firmware loader for mediamvp             ok
# mysqld     database server                          ok
#
START_PROCS="atd dvb lircd irexec admind"

Verzögerung für Vdradmin.

# run admind after vdr, NUMBER[smhd]... (use info sleep)
ADMINDELAY="3m"

Diese Programme werden über runvdr stop mit gekillt.

# stop the following programs (runvdr stop), processes by name e.g: LCDd, vdradmind.pl...
STOP_PROCS="vdradmind.pl xine xawtv tvtime kvdr fbtv vdr"

Abrruch den "shutdowns", wenn folgende Programme noch activ sind.

# stop shutdown, when running
WAIT_PROCS="cutinplace transcode vcdimager mencoder tosvcd lame"

Stellen der Systemzeit über dvbdate, beim shutdown (ziehmlich ungenau auf einiegen Transpondern), ist hier für einen Client ohne Netzwerkanbindung.

# set time over dvbdate (on/off)
SET_TIME="off"

Source Verzeichnis.

# path to VDR/DVB
MYPATH="/usr/local/src"

Verzeichnis, in dem sich die Konfigurationsdateien des VDR befinden.

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

Konfiguration für den "evexec-daemon", siehe remote-plugin.

# config for the evexec-daemon
EVEXECCNF="${VDR_CONFIG}/plugins/evexec.conf"

Verzeichnis zu den Scripts.

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

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"

Script zum Herunterfahren des PCs. Für das extb-plugin ändern in:

VDR_SHUTDOWN="${SCRDIR}/extb-poweroff.pl"

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

Hier den Pfad angeben, wo sich die Konfigurationsdatei für nvram-wakeup befindet.

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

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"

Ausgabe-Terminal zur Kontrolle von Meldungen des VDR (z.B /dev/tty8).

# controlling tty
VDR_TERMINAL="/dev/tty8"

Port für das Simple-Video-Disk-Recorder-Protokoll (z.B.für vdradmin).

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

Verzeichnis, in dem sich die Plugin befinden.

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

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

# amount of log messages, see vdr --help. default empty
VDR_LOG=""

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

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

Optionen für Noad.

# noad options (>= 0.4.1):
NOADOPT="nice --background --jumplogo --ac3 --overlap --OSD --statisticfile=/var/log/noadstat"

Verzeichnis für die Aufnahmen.

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

muggle-plugin

# muggle plugin (hardcodet at the moment, please edit your plugin_setup.conf "-t /mp3")
MUGGLEDIR="/mp3"

vdrrip-plugin

# output directory vdrrip plugin
VDRRIPDIR="/video/vdrrip"

cda2mp3

# dagrab, where the MP3s should go
DAGRABDIR="/mp3/rip"

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

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

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=""

Sonstieges.

# misc... e.g: "--mute"
USRDEV=""

Syslog zum auslesen des letzten activen Channels.

# for read the last channel
SYSLOG="/var/log/messages"

Suchphrase zum auslesen des Channels.

# search phrase
PHRASE="switching to channel"

Wol

# wol
WOLADD="IP_ADRESS MAC_ADRESS"

Tunen des primären Devices, nach dem laden der Treiber.

# tuning the primary device, after loading the dvb driver (yes/no)
TUNE="no"

Für das remote-plugin.

# list (activy.rcmm, galaxis.rcmm, hauppauge.rc5, hauppauge_grey.rc5, mbo_81095-code_562.rc5, medion_088.rc5, medion_155.rc5, philips.rc5, philips1358.rc5)
AV7110LOADKEYS=""

Siehe DVB Installation.

# driver config (e.g: CARDS="av7110 margi em8300 b2c2")
CARDS="av7110"

Falls man Module direct laden möchte, siehe runvdr.

# loads the following modules
LMODULES="
videodev
dvb-core dvb_shutdown_timeout=0
alps_bsrv2
alps_tdmb7
alps_tdlb7
grundig_29504-401
grundig_29504-491
mt312
stv0299
ves1820
input
evdev
dvb-ttpci hw_sections=1
"

Entladen (benötigt meist eine anderen Reihenfolge).

# unload the following modules
RMODULES="
dvb-ttpci
evdev
input
alps_bsrv2
alps_tdmb7
alps_tdlb7
grundig_29504-401
grundig_29504-491
stv0299
ves1820
tda1004x
mt312
dvb-core
videodev
"

Bekannte Module (Quelle DVB Sourcen)

# <--- make sure input stuff is there for IR remote controls --->
# input, evdev
# <---  vide4linux for av7110 based "full featured" cards --->
# videodev, v4l1-compat, v4l2-common, video-buf
# <--- DVB core --->
# dvb-core
# <--- frontend drivers --->
# ves1x93, alps_tdlb7, alps_tdmb7, stv0299, ves1820, tda1004x, grundig_29504-401, grundig_29504-491, cx24110, mt312
# <--- saa7146 based siemens/technotrend/hauppauge cards --->
# saa7146, saa7146_vv, ttpci-eeprom, dvb-ttpci, budget-core, budget, budget-ci, budget-av
# <--- technotrend/hauppauge USB things --->
# dvb-ttusb-budget, ttusb_dec
# <--- technisat skystar2 --->
# skystar2