Installscript-vdr.conf

Aus VDR Wiki
Wechseln zu: Navigation, Suche

Details => $START_PROCS

Die meisten Einträge werden "automatisch" während der Installation (entpacken von Plugins) geändert, in den Modulen (Bsp: ../preeplugins/vdrrip.cmd), ein:

start_entry + vdrrip
start_entry - vdrrip
            ^ 
            + fuegt hinzu => START_PROCS="vdrrrip"
            - entfernt    => START_PROCS=""

Details => $VDR_SHUTDOWN

Für das extb-plugin ändern in:

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

Weitere files:

${VDR_CONFIG}/extb-poweroff.conf
${SCRDIR}/checkscript.sh

vdr.conf

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

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
# ivtv       c15 capture driver                       untested
# lircd      infrared receiver                        ok
# lcdd       server daemon lcdproc                    ok
# mlnet      start 'mlnet'                            ok
# mvploader  firmware loader for mediamvp             ok
# mysqld     database server                          ok
# vdrrip     queuehandler.sh                          ok
# xxvd       xxvd daemon                              ok
#
START_PROCS="atd dvb lircd"

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
STOP_PROCS="vdradmind.pl xine fbxine xawtv tvtime kvdr fbtv vdr runvdr"

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"

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.

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

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"
# directory for mlnet
MLDONKEYDIR="/var/cache/mldonkey"

cda2mp3

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

clipinc

# where to store the clips
CLIPINCDIR="/video/clips"

clipinc2mp3.sh

# where the mp3s should go
CLIPINC2DIR="/mp3/clips"

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

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 1.0.1 (Kernel_2.4).

# 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