Installscript-vdr.conf
K |
Hulk (Diskussion | Beiträge) K (Schützte „Installscript-vdr.conf“ ([edit=autoconfirmed] (unbeschränkt) [move=autoconfirmed] (unbeschränkt))) |
||
(38 dazwischenliegende Versionen von 9 Benutzern werden nicht angezeigt) | |||
Zeile 29: | Zeile 29: | ||
# start / loads the following programs (runvdr start) | # start / loads the following programs (runvdr start) | ||
# ----------------------------------------------------------- | # ----------------------------------------------------------- | ||
− | |||
START_ADMIN="0" | START_ADMIN="0" | ||
START_AMAROKGATEWAY="0" | START_AMAROKGATEWAY="0" | ||
− | |||
START_DVB="1" | START_DVB="1" | ||
#START_DXR3="0" | #START_DXR3="0" | ||
START_GLCDSPLASH="0" | START_GLCDSPLASH="0" | ||
− | + | START_GRAPHTFTFE="0" | |
#START_IVTV="0" | #START_IVTV="0" | ||
START_LCDD="0" | START_LCDD="0" | ||
Zeile 44: | Zeile 42: | ||
START_MVPLOADER="0" | START_MVPLOADER="0" | ||
START_MYSQLD="0" | START_MYSQLD="0" | ||
− | + | START_RDATE="0" | |
START_QUEUEHANDLER="0" | START_QUEUEHANDLER="0" | ||
START_RTORRENT="0" | START_RTORRENT="0" | ||
START_TUNE="0" | START_TUNE="0" | ||
− | |||
</pre> | </pre> | ||
Zeile 155: | Zeile 152: | ||
<pre> | <pre> | ||
− | # controlling tty ('/dev/ | + | # controlling tty ('/dev/tty8') |
VDR_TERMINAL="" | VDR_TERMINAL="" | ||
</pre> | </pre> | ||
Zeile 221: | Zeile 218: | ||
# path to scripts | # path to scripts | ||
SCRDIR="${VDR_CONFIG}/scripts" | SCRDIR="${VDR_CONFIG}/scripts" | ||
+ | </pre> | ||
+ | |||
+ | Zu Konsole schalten. | ||
+ | |||
+ | <pre> | ||
+ | # Switch console to some terminal? Needs terminal number. For example ('8') | ||
+ | SWITCHTERMINAL="" | ||
</pre> | </pre> | ||
Zeile 228: | Zeile 232: | ||
# run script(s) with runvdr start | # run script(s) with runvdr start | ||
MYSCRIPTS="/path/script /path/script" | 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> | </pre> | ||
Zeile 266: | Zeile 289: | ||
# Which boot manager are you using? (grub/lilo) | # Which boot manager are you using? (grub/lilo) | ||
BOOT_MANAGER="grub" | BOOT_MANAGER="grub" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
Zeile 289: | Zeile 301: | ||
# burn, set PROJECTX_HOME environment variable, to point your ProjectX installation directory | # burn, set PROJECTX_HOME environment variable, to point your ProjectX installation directory | ||
− | PROJECTX_HOME=" | + | PROJECTX_HOME="/usr/share/java" |
# burn, use DIR to store ISO images | # burn, use DIR to store ISO images | ||
Zeile 295: | Zeile 307: | ||
</pre> | </pre> | ||
− | [[ | + | [[audiorecorder-plugin]] |
<pre> | <pre> | ||
− | # | + | # audiorecorder, use DIR as recording directory |
AUDIORECORDERDIR="${AUDIORECORDERDIR}" | AUDIORECORDERDIR="${AUDIORECORDERDIR}" | ||
</pre> | </pre> | ||
Zeile 309: | Zeile 321: | ||
</pre> | </pre> | ||
− | + | [[osdimage-plugin]] + [[pictures-plugin]] | |
<pre> | <pre> | ||
− | # | + | # osdimage, pictures, use toplevel DIR for images |
− | + | IMAGEDIR="${IMAGEDIR}" | |
</pre> | </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}"