Installscript-vdr.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(vdr.conf)
Zeile 1: Zeile 1:
==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 QUEUEHANDLER 1
 
start_entry QUEUEHANDLER 0
 
            ^
 
            + fuegt hinzu => START_QUEUEHANDLER="1"
 
            - entfernt    => START_QUEUEHANDLER="0"
 
 
==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==
 
==vdr.conf==
 
  # -----------------------------------------------------------
 
  # -----------------------------------------------------------
Zeile 38: Zeile 19:
 
  VDRUSR=""
 
  VDRUSR=""
  
Das meiste wird hier "aktiviert", und über die [[installscript-runvdr|runvdr]] ausgeführt, die Scripts in '''../scripts/start-cmds''' sollte man sich anpassen.
+
Das meiste wird hier ''aktiviert'', und über die [[installscript-runvdr|runvdr]] ausgeführt, die Scripts in '''../scripts/start-cmds''' sollte man sich anpassen.
  
 
  # start / loads the following programs (runvdr start)
 
  # start / loads the following programs (runvdr start)
Zeile 73: Zeile 54:
 
  SCRDIR="${VDR_CONFIG}/scripts"
 
  SCRDIR="${VDR_CONFIG}/scripts"
  
Verzeichnis für die Aufnahmen.
+
Verzeichnis für die Aufnahmen. (multi: '''mkdir -p /video{0,1,2}''', ändern in "/video0")
  
 
  # use DIR as video directory (default: /video)
 
  # use DIR as video directory (default: /video)
 
  VDR_VIDEO="/video"
 
  VDR_VIDEO="/video"
  
Script zum Herunterfahren des PCs.
+
Script zum Herunterfahren des PCs, für das [[extb-plugin]] ändern in ('''${SCRDIR}/extb-poweroff.pl''').
  
 
  # call CMD to shutdown the computer
 
  # call CMD to shutdown the computer
Zeile 88: Zeile 69:
 
  VDR_RECORD="${SCRDIR}/[[installscript-rwrapper.sh|rwrapper.sh]]"
 
  VDR_RECORD="${SCRDIR}/[[installscript-rwrapper.sh|rwrapper.sh]]"
  
Verzeichnis, in dem sich die Plugin befinden.
+
Verzeichnis, in dem sich die Plugins befinden.
  
 
  # search for plugins in DIR (default is ./PLUGINS/lib)
 
  # search for plugins in DIR (default is ./PLUGINS/lib)
Zeile 105: Zeile 86:
 
  VDR_WATCHDOG="60"
 
  VDR_WATCHDOG="60"
  
Ausgabe-Terminal zur Kontrolle von Meldungen des VDR (z.B /dev/tty8).
+
Ausgabe-Terminal zur Kontrolle von Meldungen des VDR (z.B '''/dev/tty8''').
  
 
  # controlling tty
 
  # controlling tty
 
  VDR_TERMINAL="/dev/tty8"
 
  VDR_TERMINAL="/dev/tty8"
  
Port für das Simple-Video-Disk-Recorder-Protokoll (z.B.für vdradmin).
+
Port für das Simple-Video-Disk-Recorder-Protokoll (siehe [[svdrp]]).
  
 
  # which port to listen vor SVDRP commands, see vdr --help. default (default: 2001)
 
  # which port to listen vor SVDRP commands, see vdr --help. default (default: 2001)
Zeile 129: Zeile 110:
 
  VDR_AUDIO=""
 
  VDR_AUDIO=""
  
Anzahl der DVB-Devices, die genutzt werden sollen (0,1,2 ...).
+
Anzahl der DVB-Devices, die genutzt werden sollen ('''0,1,2 ...''').
  
 
  # use only the given DVB device (NUM = 0, 1, 2...)
 
  # use only the given DVB device (NUM = 0, 1, 2...)
Zeile 158: Zeile 139:
 
  CARDS="av7110"
 
  CARDS="av7110"
  
Tunen des primären Devices, nach dem laden der Treiber.
+
Tunen des primären Devices, nach dem laden der Treiber. (auch ''VDSB Workaround'' genannt...)
  
 
  # tuning the primary device, after loading the dvb driver (1=true/0=false)
 
  # tuning the primary device, after loading the dvb driver (1=true/0=false)
Zeile 207: Zeile 188:
 
  # config for shutdown
 
  # config for shutdown
 
  # -----------------------------------------------------------
 
  # -----------------------------------------------------------
 +
 +
Klar.
  
 
  # read board configuration from specified configuration file (e.g: "$PREFIX/etc/nvram-wakeup/nvram-wakeup.conf")
 
  # read board configuration from specified configuration file (e.g: "$PREFIX/etc/nvram-wakeup/nvram-wakeup.conf")
 
  NVRAM_CONFIG=""
 
  NVRAM_CONFIG=""
 +
 +
Falls das Board bekannt sein sollte.
  
 
  # specify the iw (infowriter) name. (e.g: gigabyte_5aa)
 
  # specify the iw (infowriter) name. (e.g: gigabyte_5aa)
 
  NVRAM_IWNAME=""
 
  NVRAM_IWNAME=""
 +
 +
Weitere Optionen.
  
 
  # try "nvram-wakeup --help"
 
  # try "nvram-wakeup --help"
 
  NVRAM_OPT=""
 
  NVRAM_OPT=""
 +
 +
Welchen Bootmanager?
  
 
  # Which boot manager are you using? (grub/lilo)
 
  # Which boot manager are you using? (grub/lilo)
 
  BOOT_MANAGER="grub"
 
  BOOT_MANAGER="grub"
 +
 +
Reihenfolge in der '''/boot/grub/menu.lst'''?
  
 
  # Which is your reboot entry in /boot/grub/menu.lst?
 
  # Which is your reboot entry in /boot/grub/menu.lst?
 
  REBOOT_ENTRY="1"
 
  REBOOT_ENTRY="1"
 +
 +
Siehe [[ACPI Wakeup]] bzw. [[ActivyACPIWakeup]].
  
 
  # Do you want to use acpi-wakeup? (1=true/0=false)
 
  # Do you want to use acpi-wakeup? (1=true/0=false)
Zeile 244: Zeile 237:
 
  # -----------------------------------------------------------
 
  # -----------------------------------------------------------
  
[[clipinc]]
+
Auslagerort der Schnitte. [[clipinc]]
  
 
  # where to store the clips
 
  # where to store the clips
 
  CLIPINCDIR="/video/clips"
 
  CLIPINCDIR="/video/clips"
 +
 +
Wo die MP3s gespeichert werden sollen. [[clipinc]]
  
 
  # where the mp3s should go
 
  # where the mp3s should go
 
  CLIPINC2DIR="/mp3/clips"
 
  CLIPINC2DIR="/mp3/clips"
 +
 +
Ist zum aufwecken den File-Servers via [[WAKE ON LAN|WOL]].
  
 
  # wol
 
  # wol

Version vom 18. Mai 2005, 08:34 Uhr

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, die Scripts in ../scripts/start-cmds sollte man sich anpassen.

# start / loads the following programs (runvdr start)
#
# (1=true/0=false)
START_ADMIN="0"
START_ATD="1"
START_DVB="1"
START_DXR3="0"
START_IVTV="0"
START_EVEXEC="0"
START_LCDD="0"
START_LIRCD="1"
START_LOADKEYS="0"
START_MLNET="0"
START_MVPLOADER="1"
START_MYSQLD="0"
START_QUEUEHANDLER="1"
START_XXVD="0"

Prefix, mit welchen installiert wurde.

# installation prefix
PREFIX="/usr/local"

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"

Verzeichnis für die Aufnahmen. (multi: mkdir -p /video{0,1,2}, ändern in "/video0")

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

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

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

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

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

Verzeichnis, in dem sich die Plugins befinden.

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

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"

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 (siehe svdrp).

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

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

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=""
# -----------------------------------------------------------
# config for the remote-plugin
# -----------------------------------------------------------

Zu ladene Keymap für das remote-plugin.

# list (all.rc5, 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=""
# -----------------------------------------------------------
# config for dvb
# -----------------------------------------------------------

Siehe DVB Installation 1.0.1 (Kernel_2.4).

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

Tunen des primären Devices, nach dem laden der Treiber. (auch VDSB Workaround genannt...)

# tuning the primary device, after loading the dvb driver (1=true/0=false)
TUNE="0"

Falls man Module direct laden möchte, siehe ../scripts/start-cmds/dvb.run.

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

Das selbe "back".

# 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
"
# -----------------------------------------------------------
# config for shutdown
# -----------------------------------------------------------

Klar.

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

Falls das Board bekannt sein sollte.

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

Weitere Optionen.

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

Welchen Bootmanager?

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

Reihenfolge in der /boot/grub/menu.lst?

# Which is your reboot entry in /boot/grub/menu.lst?
REBOOT_ENTRY="1"

Siehe ACPI Wakeup bzw. ActivyACPIWakeup.

# Do you want to use acpi-wakeup? (1=true/0=false)
ACPI_WAKEUP="0"
# -----------------------------------------------------------
# config for plugins
# -----------------------------------------------------------

muggle-plugin

# muggle
MUGGLEDIR="/mp3"

vdrrip-plugin

# vdrrip
VDRRIPDIR="/video/vdrrip"
# -----------------------------------------------------------
# misc
# -----------------------------------------------------------

Auslagerort der Schnitte. clipinc

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

Wo die MP3s gespeichert werden sollen. clipinc

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

Ist zum aufwecken den File-Servers via WOL.

# wol
WOLADD="IP_ADRESS MAC_ADRESS"