Installscript-vdr.conf
(→vdr.conf) |
(→vdr.conf) |
||
Zeile 19: | Zeile 19: | ||
==vdr.conf== | ==vdr.conf== | ||
+ | # ----------------------------------------------------------- | ||
# Description: Environment for VDR | # Description: Environment for VDR | ||
+ | # ----------------------------------------------------------- | ||
# | # | ||
# Format: | # Format: | ||
Zeile 36: | Zeile 38: | ||
VDRUSR="" | VDRUSR="" | ||
− | Das meiste wird hier "aktiviert", und über die [[installscript-runvdr|runvdr]] ausgeführt, die Scripts in '''../ | + | 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 71: | Zeile 73: | ||
SCRDIR="${VDR_CONFIG}/scripts" | SCRDIR="${VDR_CONFIG}/scripts" | ||
− | + | Verzeichnis für die Aufnahmen. | |
− | # | + | # use DIR as video directory (default: /video) |
− | + | VDR_VIDEO="/video" | |
− | + | ||
Script zum Herunterfahren des PCs. | Script zum Herunterfahren des PCs. | ||
Zeile 81: | Zeile 82: | ||
# call CMD to shutdown the computer | # call CMD to shutdown the computer | ||
VDR_SHUTDOWN="${VDR_CONFIG}/shutdownd/[[installscript-shutdown.sh|shutdown.sh]]" | VDR_SHUTDOWN="${VDR_CONFIG}/shutdownd/[[installscript-shutdown.sh|shutdown.sh]]" | ||
+ | |||
+ | Script, welches vor bzw. nach einer Aufnahme ausgeführt wird. | ||
+ | |||
+ | # call CMD before and after a recording, e.g: | ||
+ | VDR_RECORD="${VDR_CONFIG}/recordd/[[installscript-rwrapper.sh|rwrapper.sh]]" | ||
+ | |||
+ | Verzeichnis, in dem sich die Plugin 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. | Hier wird die Zeit in Sekunden angegeben, die der Watchdog zur Reaktion benötigt. | ||
Zeile 97: | Zeile 114: | ||
# 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) | ||
VDR_PORT="" | VDR_PORT="" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
Angabe des Logging-Levels (0,1,2,3). | Angabe des Logging-Levels (0,1,2,3). | ||
Zeile 111: | Zeile 123: | ||
# 3 = errors, info and debug (default) | # 3 = errors, info and debug (default) | ||
VDR_LOG="1" | VDR_LOG="1" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Angabe des Programms, welches für die Weiterleitung des Dolby-Digital Signals verantwortlich ist. | Angabe des Programms, welches für die Weiterleitung des Dolby-Digital Signals verantwortlich ist. | ||
Zeile 156: | Zeile 140: | ||
USRDEV="" | 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)]]. | Siehe [[DVB Installation 1.0.1 (Kernel_2.4)]]. | ||
− | # driver config (e.g: CARDS="av7110 margi em8300 b2c2") | + | # driver config (e.g: CARDS="av7110 margi em8300 b2c2", only 1.0.1) |
CARDS="av7110" | CARDS="av7110" | ||
− | + | Tunen des primären Devices, nach dem laden der Treiber. | |
− | # | + | # 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=\ | LMODULES=\ | ||
" | " | ||
Zeile 211: | Zeile 182: | ||
dvb-ttpci | dvb-ttpci | ||
" | " | ||
− | # | + | |
+ | Das selbe "back". | ||
+ | |||
+ | # unload the following modules | ||
RMODULES=\ | RMODULES=\ | ||
" | " | ||
Zeile 229: | Zeile 203: | ||
videodev | videodev | ||
" | " | ||
+ | |||
+ | # ----------------------------------------------------------- | ||
+ | # config for shutdown | ||
+ | # ----------------------------------------------------------- | ||
+ | |||
+ | # read board configuration from specified configuration file (e.g: "$PREFIX/etc/nvram-wakeup/nvram-wakeup.conf") | ||
+ | NVRAM_CONFIG="" | ||
+ | |||
+ | # specify the iw (infowriter) name. (e.g: gigabyte_5aa) | ||
+ | NVRAM_IWNAME="" | ||
+ | |||
+ | # try "nvram-wakeup --help" | ||
+ | NVRAM_OPT="" | ||
+ | |||
+ | # Which boot manager are you using? (grub/lilo) | ||
+ | BOOT_MANAGER="grub" | ||
+ | |||
+ | # Which is your reboot entry in /boot/grub/menu.lst? | ||
+ | REBOOT_ENTRY="1" | ||
+ | |||
+ | # 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" | ||
+ | |||
+ | [[clipinc]] | ||
+ | |||
+ | # where to store the clips | ||
+ | CLIPINCDIR="/video/clips" | ||
+ | |||
+ | # where the mp3s should go | ||
+ | CLIPINC2DIR="/mp3/clips" | ||
+ | |||
+ | # ----------------------------------------------------------- | ||
+ | # misc | ||
+ | # ----------------------------------------------------------- | ||
+ | |||
+ | # wol | ||
+ | WOLADD="IP_ADRESS MAC_ADRESS" | ||
[[Kategorie:Installscript]] | [[Kategorie:Installscript]] |
Version vom 17. Mai 2005, 21:10 Uhr
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
# ----------------------------------------------------------- # 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.
# use DIR as video directory (default: /video) VDR_VIDEO="/video"
Script zum Herunterfahren des PCs.
# call CMD to shutdown the computer VDR_SHUTDOWN="${VDR_CONFIG}/shutdownd/shutdown.sh"
Script, welches vor bzw. nach einer Aufnahme ausgeführt wird.
# call CMD before and after a recording, e.g: VDR_RECORD="${VDR_CONFIG}/recordd/rwrapper.sh"
Verzeichnis, in dem sich die Plugin 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 (z.B.für vdradmin).
# 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.
# 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 # -----------------------------------------------------------
# read board configuration from specified configuration file (e.g: "$PREFIX/etc/nvram-wakeup/nvram-wakeup.conf") NVRAM_CONFIG=""
# specify the iw (infowriter) name. (e.g: gigabyte_5aa) NVRAM_IWNAME=""
# try "nvram-wakeup --help" NVRAM_OPT=""
# Which boot manager are you using? (grub/lilo) BOOT_MANAGER="grub"
# Which is your reboot entry in /boot/grub/menu.lst? REBOOT_ENTRY="1"
# Do you want to use acpi-wakeup? (1=true/0=false) ACPI_WAKEUP="0"
# ----------------------------------------------------------- # config for plugins # -----------------------------------------------------------
# muggle MUGGLEDIR="/mp3"
# vdrrip VDRRIPDIR="/video/vdrrip"
# where to store the clips CLIPINCDIR="/video/clips"
# where the mp3s should go CLIPINC2DIR="/mp3/clips"
# ----------------------------------------------------------- # misc # -----------------------------------------------------------
# wol WOLADD="IP_ADRESS MAC_ADRESS"