Installscript-vdr.conf
Hulk (Diskussion | Beiträge) K (Schützte „Installscript-vdr.conf“ ([edit=autoconfirmed] (unbeschränkt) [move=autoconfirmed] (unbeschränkt))) |
|||
(95 dazwischenliegende Versionen von 46 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
==vdr.conf== | ==vdr.conf== | ||
− | + | <pre> | |
− | + | # ----------------------------------------------------------- | |
− | + | # Description: Environment for VDR | |
− | + | # ----------------------------------------------------------- | |
− | + | # | |
− | + | # Format: | |
− | + | # | |
− | + | # VDR_OPTION="" | |
− | + | # ^^^^^^ | |
− | + | # use vdr --help | |
− | + | # | |
− | + | # VDR_EPG="..." (tr A-Z a-z) | |
− | + | # ^^^ | |
+ | # --epg='...' | ||
+ | </pre> | ||
− | + | Installation Prefix. | |
− | + | <pre> | |
− | + | # installation prefix | |
+ | PREFIX="/usr/local" | ||
+ | </pre> | ||
− | Das meiste wird hier ''aktiviert'', und über die [[runvdr]] ausgeführt, die Scripts in '''../ | + | Das meiste wird hier ''aktiviert'', und über die [[runvdr]] ausgeführt, die Scripts in '''../admin/[[installscript-start-cmds|start-cmds]]/rc''' sollte man sich anpassen. |
− | + | <pre> | |
− | + | # ----------------------------------------------------------- | |
− | + | # start / loads the following programs (runvdr start) | |
− | + | # ----------------------------------------------------------- | |
− | + | START_ADMIN="0" | |
− | + | START_AMAROKGATEWAY="0" | |
− | + | START_DVB="1" | |
− | + | #START_DXR3="0" | |
− | + | START_GLCDSPLASH="0" | |
− | + | START_GRAPHTFTFE="0" | |
− | + | #START_IVTV="0" | |
− | + | START_LCDD="0" | |
− | + | START_LIRCD="1" | |
− | + | START_LOADKEYS="0" | |
− | + | START_MLNET="0" | |
− | + | START_MVPLOADER="0" | |
− | + | START_MYSQLD="0" | |
− | + | START_RDATE="0" | |
+ | START_QUEUEHANDLER="0" | ||
+ | START_RTORRENT="0" | ||
+ | START_TUNE="0" | ||
+ | </pre> | ||
− | + | Angabe des Programms, welches für die Weiterleitung des Dolby-Digital Signals verantwortlich ist. | |
− | + | <pre> | |
− | + | # ----------------------------------------------------------- | |
+ | # vdr | ||
+ | # ----------------------------------------------------------- | ||
+ | # send Dolby Digital audio to stdin of command CMD, e.g: "a52dec -o oss6" | ||
+ | VDR_AUDIO="" | ||
+ | </pre> | ||
Verzeichnis, in dem sich die Konfigurationsdateien des VDR befinden. | Verzeichnis, in dem sich die Konfigurationsdateien des VDR befinden. | ||
− | + | <pre> | |
− | + | # directory where vdr stores its config files. vdr defaults to /video | |
+ | VDR_CONFIG="/usr/local/etc/vdr" | ||
+ | </pre> | ||
− | + | Anzahl der DVB-Devices, die genutzt werden sollen ('''0,1,2 ...'''). | |
− | + | <pre> | |
− | + | # 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="" | ||
+ | </pre> | ||
− | + | File in dem das EPG gespeichert wird. | |
− | + | <pre> | |
− | + | # 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" | ||
+ | </pre> | ||
− | + | [[VDR Optionen]] | |
− | + | <pre> | |
− | + | # write images from the SVDRP command GRAB into the given DIR; DIR must be the full path name of an | |
− | + | # existing directory, without any "..", double '/' or symlinks (default: none, same as -g-) | |
− | + | VDR_GRAB="/tmp" | |
− | + | </pre> | |
− | + | ||
− | + | ||
Verzeichnis, in dem sich die Plugins befinden. | Verzeichnis, in dem sich die Plugins befinden. | ||
− | + | <pre> | |
− | + | # search for plugins in DIR (default is ./PLUGINS/lib) | |
+ | VDR_LIB="${PREFIX}/lib/vdr" | ||
+ | </pre> | ||
− | + | [[LIRC]] | |
− | + | <pre> | |
− | + | # use a LIRC remote control device, attached to PATH (default: /dev/lircd) | |
− | + | VDR_LIRC="" | |
+ | </pre> | ||
− | + | Angabe des Logging-Levels (0,1,2,3). | |
− | + | <pre> | |
− | + | # set log level | |
− | + | # 0 = no logging | |
+ | # 1 = errors only | ||
+ | # 2 = errors and info | ||
+ | # 3 = errors, info and debug (default) | ||
+ | VDR_LOG="3" | ||
+ | </pre> | ||
− | + | Host für das Simple-Video-Disk-Recorder-Protokoll (siehe [[SVDRP]]). | |
− | + | <pre> | |
− | + | # destination hostname (default: 127.0.0.1) | |
+ | VDRDEST="" | ||
+ | </pre> | ||
− | Port für das Simple-Video-Disk-Recorder-Protokoll (siehe [[ | + | Port für das Simple-Video-Disk-Recorder-Protokoll (siehe [[SVDRP]]). |
− | + | <pre> | |
− | + | # which port to listen vor SVDRP commands, see vdr --help. default (default: 2001) | |
+ | VDR_PORT="" | ||
+ | </pre> | ||
− | + | [[RCU]] | |
− | + | <pre> | |
− | + | # use a remote control device, attached to PATH (default: /dev/ttyS1) | |
− | + | VDR_RCU="" | |
− | + | </pre> | |
− | + | ||
− | + | ||
− | + | Script, welches vor bzw. nach einer Aufnahme ausgeführt wird. | |
− | + | <pre> | |
− | + | # call CMD before and after a recording, e.g: | |
+ | VDR_RECORD="${VDR_CONFIG}/scripts/rwrapper.sh" | ||
+ | </pre> | ||
− | + | Script zum Herunterfahren des PCs, für das [[extb-plugin]] ändern in ('''${SCRDIR}/extb-poweroff.pl'''). | |
− | + | <pre> | |
− | + | # call CMD to shutdown the computer | |
− | + | VDR_SHUTDOWN="${VDR_CONFIG}/scripts/shutdown.sh" | |
+ | </pre> | ||
− | + | Ausgabe-Terminal zur Kontrolle von Meldungen des VDR. | |
− | + | <pre> | |
− | + | # controlling tty ('/dev/tty8') | |
+ | VDR_TERMINAL="" | ||
+ | </pre> | ||
− | + | [[VDR Optionen]] | |
− | + | ||
− | + | ||
− | + | <pre> | |
+ | # run as user USER (default: vdr) only applicable if started as root | ||
+ | VDR_USER="root" | ||
+ | </pre> | ||
− | + | Verzeichnis für die Aufnahmen. | |
− | + | ||
− | + | <pre> | |
− | + | # use DIR as video directory (default: /video) | |
− | + | VDR_VIDEO="/video0" | |
+ | </pre> | ||
− | + | Hier wird die Zeit in Sekunden angegeben, die der Watchdog zur Reaktion benötigt. | |
− | + | <pre> | |
− | + | # activate the watchdog timer with a timeout of SEC | |
+ | # seconds (default: 0); '0' disables the watchdog | ||
+ | VDR_WATCHDOG="60" | ||
+ | </pre> | ||
− | + | Sonstieges. | |
− | + | <pre> | |
− | + | # mute audio of the primary DVB device at startup (--mute) | |
+ | # don't use the keyboard as an input device (--no-kbd) | ||
+ | # encode special characters in recording names to avoid problems with VFAT file systems (--vfat) | ||
+ | USRDEV="" | ||
+ | </pre> | ||
− | + | Für Übersetzungen. | |
− | + | <pre> | |
− | + | # ----------------------------------------------------------- | |
− | + | # misc | |
− | + | # ----------------------------------------------------------- | |
− | + | # locale | |
− | + | LANG="de_DE@euro" | |
− | + | TEXTDOMAIN="vdr" | |
− | + | TEXTDOMAINDIR="${VDR_CONFIG}/locale" | |
− | + | </pre> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | [[SVDRP]] | |
− | + | <pre> | |
− | + | # svdrpsend.pl | |
− | + | SVDRPSENDCMD="${PREFIX}/bin/svdrpsend.pl -p ${VDR_PORT:-2001} -d ${VDRDEST:-127.0.0.1}" | |
− | + | </pre> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | Scripts / Konfiguration vom [[admin-plugin]]. | |
− | + | ||
− | + | ||
− | + | <pre> | |
+ | # path to admin | ||
+ | ADMDIR="${VDR_CONFIG}/admin" | ||
+ | </pre> | ||
− | + | Verzeichnis zu den Scripts. | |
− | + | ||
− | + | <pre> | |
+ | # path to scripts | ||
+ | SCRDIR="${VDR_CONFIG}/scripts" | ||
+ | </pre> | ||
− | + | Zu Konsole schalten. | |
− | + | ||
− | + | <pre> | |
+ | # Switch console to some terminal? Needs terminal number. For example ('8') | ||
+ | SWITCHTERMINAL="" | ||
+ | </pre> | ||
− | + | Falls andere Skripts, mit gestartet werden sollen. | |
− | + | ||
− | + | <pre> | |
+ | # run script(s) with runvdr start | ||
+ | MYSCRIPTS="/path/script /path/script" | ||
+ | </pre> | ||
− | + | Auskommentieren, um einen X-Server mit der entsprechenden CMD zu starten. (die Variable, ist zu setzen VDR_TERMINAL="'''/dev/tty8'''") | |
− | + | ||
− | + | Mit: | |
− | + | <pre> | |
− | + | VDR_TERMINAL="/dev/tty8" | |
+ | XSERVERCMD="xinit -e 'ShmClient -f' -- :2" | ||
+ | </pre> | ||
− | + | Wird ein X-Server gestartet, es befindet sich somit auf '''[STRG] + [F9 ...]''' der ShmClient des [[softdevice-plugin]]s. | |
− | + | <pre> | |
− | + | # Fire up own X server as output device, for example. | |
+ | # xinit -e 'ShmClient -f' -- :2 | ||
+ | # xinit -e 'vdr-sxfe --fullscreen xvdr://localhost' -- :2 | ||
+ | # xinit -e 'xine --fullscreen --hide-gui vdr:/tmp/vdr-xine/stream#demux:mpeg_pes' -- :2 | ||
+ | XSERVERCMD="" | ||
+ | </pre> | ||
− | + | Klar. | |
− | + | ||
− | + | ||
− | + | <pre> | |
+ | # ----------------------------------------------------------- | ||
+ | # config for shutdown | ||
+ | # ----------------------------------------------------------- | ||
+ | # wake up method ('off','acpi','nvram','suspend','suspend-no-reboot') | ||
+ | WAKEUP_METHOD="off" | ||
+ | </pre> | ||
− | + | Falls das Board bekannt sein sollte. | |
− | + | <pre> | |
+ | # specify the iw (infowriter) name. (e.g: gigabyte_5aa) | ||
+ | NVRAM_IWNAME="" | ||
+ | </pre> | ||
− | + | Klar. | |
− | + | <pre> | |
+ | # read board configuration from specified configuration file (e.g: "$PREFIX/etc/nvram-wakeup/nvram-wakeup.conf") | ||
+ | NVRAM_CONFIG="" | ||
+ | </pre> | ||
− | + | Weitere Optionen. | |
− | + | <pre> | |
+ | # try "nvram-wakeup --help" | ||
+ | NVRAM_OPT="--syslog" | ||
+ | </pre> | ||
− | + | Welchen Bootmanager? | |
− | + | <pre> | |
− | + | # Which boot manager are you using? (grub/lilo) | |
− | + | BOOT_MANAGER="grub" | |
+ | </pre> | ||
− | [[ | + | Umgebungsvariablen für das [[burn-plugin]]. |
− | + | <pre> | |
− | + | # ----------------------------------------------------------- | |
+ | # config for plugins | ||
+ | # ----------------------------------------------------------- | ||
+ | # burn, set JAVA_HOME environment variable, to point your JRE installation directory | ||
+ | JAVA_HOME="${JAVA_HOME}" | ||
− | + | # burn, set PROJECTX_HOME environment variable, to point your ProjectX installation directory | |
+ | PROJECTX_HOME="/usr/share/java" | ||
− | + | # burn, use DIR to store ISO images | |
− | + | BURNISODIR="${BURNISODIR}" | |
+ | </pre> | ||
− | [[ | + | [[audiorecorder-plugin]] |
− | + | <pre> | |
− | + | # audiorecorder, use DIR as recording directory | |
+ | AUDIORECORDERDIR="${AUDIORECORDERDIR}" | ||
+ | </pre> | ||
− | [[ | + | [[muggle-plugin]] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <pre> | |
− | + | # muggle, use toplevel DIR for music | |
+ | MUGGLEDIR="${MUGGLEDIR}" | ||
+ | </pre> | ||
− | + | [[osdimage-plugin]] + [[pictures-plugin]] | |
− | + | <pre> | |
− | + | # osdimage, pictures, use toplevel DIR for images | |
+ | IMAGEDIR="${IMAGEDIR}" | ||
+ | </pre> | ||
[[Kategorie:Installscript]] | [[Kategorie:Installscript]] |
Aktuelle Version vom 11. Januar 2010, 16:12 Uhr
[Bearbeiten] vdr.conf
# ----------------------------------------------------------- # Description: Environment for VDR # ----------------------------------------------------------- # # Format: # # VDR_OPTION="" # ^^^^^^ # use vdr --help # # VDR_EPG="..." (tr A-Z a-z) # ^^^ # --epg='...'
Installation Prefix.
# installation prefix PREFIX="/usr/local"
Das meiste wird hier aktiviert, und über die runvdr ausgeführt, die Scripts in ../admin/start-cmds/rc sollte man sich anpassen.
# ----------------------------------------------------------- # start / loads the following programs (runvdr start) # ----------------------------------------------------------- START_ADMIN="0" START_AMAROKGATEWAY="0" START_DVB="1" #START_DXR3="0" START_GLCDSPLASH="0" START_GRAPHTFTFE="0" #START_IVTV="0" START_LCDD="0" START_LIRCD="1" START_LOADKEYS="0" START_MLNET="0" START_MVPLOADER="0" START_MYSQLD="0" START_RDATE="0" START_QUEUEHANDLER="0" START_RTORRENT="0" START_TUNE="0"
Angabe des Programms, welches für die Weiterleitung des Dolby-Digital Signals verantwortlich ist.
# ----------------------------------------------------------- # vdr # ----------------------------------------------------------- # send Dolby Digital audio to stdin of command CMD, e.g: "a52dec -o oss6" VDR_AUDIO=""
Verzeichnis, in dem sich die Konfigurationsdateien des VDR befinden.
# directory where vdr stores its config files. vdr defaults to /video VDR_CONFIG="/usr/local/etc/vdr"
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=""
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"
# write images from the SVDRP command GRAB into the given DIR; DIR must be the full path name of an # existing directory, without any "..", double '/' or symlinks (default: none, same as -g-) VDR_GRAB="/tmp"
Verzeichnis, in dem sich die Plugins befinden.
# search for plugins in DIR (default is ./PLUGINS/lib) VDR_LIB="${PREFIX}/lib/vdr"
# use a LIRC remote control device, attached to PATH (default: /dev/lircd) VDR_LIRC=""
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="3"
Host für das Simple-Video-Disk-Recorder-Protokoll (siehe SVDRP).
# destination hostname (default: 127.0.0.1) VDRDEST=""
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=""
# use a remote control device, attached to PATH (default: /dev/ttyS1) VDR_RCU=""
Script, welches vor bzw. nach einer Aufnahme ausgeführt wird.
# call CMD before and after a recording, e.g: VDR_RECORD="${VDR_CONFIG}/scripts/rwrapper.sh"
Script zum Herunterfahren des PCs, für das extb-plugin ändern in (${SCRDIR}/extb-poweroff.pl).
# call CMD to shutdown the computer VDR_SHUTDOWN="${VDR_CONFIG}/scripts/shutdown.sh"
Ausgabe-Terminal zur Kontrolle von Meldungen des VDR.
# controlling tty ('/dev/tty8') VDR_TERMINAL=""
# run as user USER (default: vdr) only applicable if started as root VDR_USER="root"
Verzeichnis für die Aufnahmen.
# use DIR as video directory (default: /video) VDR_VIDEO="/video0"
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"
Sonstieges.
# mute audio of the primary DVB device at startup (--mute) # don't use the keyboard as an input device (--no-kbd) # encode special characters in recording names to avoid problems with VFAT file systems (--vfat) USRDEV=""
Für Übersetzungen.
# ----------------------------------------------------------- # misc # ----------------------------------------------------------- # locale LANG="de_DE@euro" TEXTDOMAIN="vdr" TEXTDOMAINDIR="${VDR_CONFIG}/locale"
# svdrpsend.pl SVDRPSENDCMD="${PREFIX}/bin/svdrpsend.pl -p ${VDR_PORT:-2001} -d ${VDRDEST:-127.0.0.1}"
Scripts / Konfiguration vom admin-plugin.
# path to admin ADMDIR="${VDR_CONFIG}/admin"
Verzeichnis zu den Scripts.
# path to scripts SCRDIR="${VDR_CONFIG}/scripts"
Zu Konsole schalten.
# Switch console to some terminal? Needs terminal number. For example ('8') SWITCHTERMINAL=""
Falls andere Skripts, mit gestartet werden sollen.
# run script(s) with runvdr start MYSCRIPTS="/path/script /path/script"
Auskommentieren, um einen X-Server mit der entsprechenden CMD zu starten. (die Variable, ist zu setzen VDR_TERMINAL="/dev/tty8")
Mit:
VDR_TERMINAL="/dev/tty8" XSERVERCMD="xinit -e 'ShmClient -f' -- :2"
Wird ein X-Server gestartet, es befindet sich somit auf [STRG] + [F9 ...] der ShmClient des softdevice-plugins.
# Fire up own X server as output device, for example. # xinit -e 'ShmClient -f' -- :2 # xinit -e 'vdr-sxfe --fullscreen xvdr://localhost' -- :2 # xinit -e 'xine --fullscreen --hide-gui vdr:/tmp/vdr-xine/stream#demux:mpeg_pes' -- :2 XSERVERCMD=""
Klar.
# ----------------------------------------------------------- # config for shutdown # ----------------------------------------------------------- # wake up method ('off','acpi','nvram','suspend','suspend-no-reboot') WAKEUP_METHOD="off"
Falls das Board bekannt sein sollte.
# specify the iw (infowriter) name. (e.g: gigabyte_5aa) NVRAM_IWNAME=""
Klar.
# read board configuration from specified configuration file (e.g: "$PREFIX/etc/nvram-wakeup/nvram-wakeup.conf") NVRAM_CONFIG=""
Weitere Optionen.
# try "nvram-wakeup --help" NVRAM_OPT="--syslog"
Welchen Bootmanager?
# Which boot manager are you using? (grub/lilo) BOOT_MANAGER="grub"
Umgebungsvariablen für das burn-plugin.
# ----------------------------------------------------------- # config for plugins # ----------------------------------------------------------- # burn, set JAVA_HOME environment variable, to point your JRE installation directory JAVA_HOME="${JAVA_HOME}" # burn, set PROJECTX_HOME environment variable, to point your ProjectX installation directory PROJECTX_HOME="/usr/share/java" # burn, use DIR to store ISO images BURNISODIR="${BURNISODIR}"
# audiorecorder, use DIR as recording directory AUDIORECORDERDIR="${AUDIORECORDERDIR}"
# muggle, use toplevel DIR for music MUGGLEDIR="${MUGGLEDIR}"
osdimage-plugin + pictures-plugin
# osdimage, pictures, use toplevel DIR for images IMAGEDIR="${IMAGEDIR}"