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='......'
# 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="3"

Diese Programme werden mit runvdr stop 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"
# set time over dvbdate (on/off)
SET_TIME="off"
# path to VDR/DVB
MYPATH="/usr/local/src"
# directory where vdr stores its config files. vdr defaults to /video
VDR_CONFIG="/usr/local/src/VDRtmp"
# config for the evexec-daemon
EVEXECCNF="${VDR_CONFIG}/plugins/evexec.conf"
# path to scripts
SCRDIR="${VDR_CONFIG}/scripts"
# 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"

Für das extb-plugin ändern in:

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

# call CMD to shutdown the computer
VDR_SHUTDOWN="${SCRDIR}/shutdown.sh"
# read board configuration from specified configuration file (e.g: /etc/nvram-wakeup.conf)
NVRAM_CONFIG=""
# activate the watchdog timer with a timeout of SEC
# seconds (default: 0); '0' disables the watchdog
VDR_WATCHDOG="60"
# controlling tty
VDR_TERMINAL="/dev/tty8"
# which port to listen vor SVDRP commands, see vdr --help. default (default: 2001)
VDR_PORT=""
# search for plugins in DIR (default is ./PLUGINS/lib)
VDR_LIB="${MYPATH}/VDR/PLUGINS/lib"
# amount of log messages, see vdr --help. default empty
VDR_LOG=""
# call CMD before and after a recording, e.g:
VDR_RECORD="${SCRDIR}/rwrapper.sh"
# noad options (>= 0.4.1):
NOADOPT="nice --background --jumplogo --ac3 --overlap --OSD --statisticfile=/var/log/noadstat"
# use DIR as video directory (default: /video)
VDR_VIDEO="/video"
# send Dolby Digital audio to stdin of command CMD, e.g: "a52dec -o oss6"
VDR_AUDIO=""
# 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=""
# misc... e.g: "--mute"
USRDEV=""
# path to the commands
CMDPATH="/usr/local/share/vdr"
# for read the last channel
SYSLOG="/var/log/messages"
# search phrase
PHRASE="switching to channel"
# 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=""
# driver config (e.g: CARDS="av7110 margi em8300 b2c2")
CARDS="av7110"
# 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
"
# 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
"
# <--- 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