Installscript-vdr.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K (vdr.conf)
K (Schützte „Installscript-vdr.conf“ ([edit=autoconfirmed] (unbeschränkt) [move=autoconfirmed] (unbeschränkt)))
 
(28 dazwischenliegende Versionen von 8 Benutzern werden nicht angezeigt)
Zeile 14: Zeile 14:
 
#    ^^^
 
#    ^^^
 
#  --epg='...'
 
#  --epg='...'
</pre>
 
 
<pre>
 
HOME="/root"
 
</pre>
 
 
<pre>
 
# VDR needs to run in non-UTF8 locale?
 
#LC_CTYPE="POSIX"
 
LC_COLLATE="C"
 
TERM="linux"
 
</pre>
 
 
<pre>
 
# workaround for problems with NPTL ("Native Posix Thread Library")
 
#LD_ASSUME_KERNEL="2.4.1"
 
 
</pre>
 
</pre>
  
Zeile 45: Zeile 29:
 
# start / loads the following programs (runvdr start)
 
# start / loads the following programs (runvdr start)
 
# -----------------------------------------------------------
 
# -----------------------------------------------------------
#START_ACTIVY="0"
 
 
START_ADMIN="0"
 
START_ADMIN="0"
 
START_AMAROKGATEWAY="0"
 
START_AMAROKGATEWAY="0"
START_ATD="1"
 
 
START_DVB="1"
 
START_DVB="1"
 
#START_DXR3="0"
 
#START_DXR3="0"
 
START_GLCDSPLASH="0"
 
START_GLCDSPLASH="0"
#START_IGOR="0"
+
START_GRAPHTFTFE="0"
 
#START_IVTV="0"
 
#START_IVTV="0"
 
START_LCDD="0"
 
START_LCDD="0"
Zeile 60: Zeile 42:
 
START_MVPLOADER="0"
 
START_MVPLOADER="0"
 
START_MYSQLD="0"
 
START_MYSQLD="0"
START_NTPDATE="0"
+
START_RDATE="0"
 
START_QUEUEHANDLER="0"
 
START_QUEUEHANDLER="0"
 
START_RTORRENT="0"
 
START_RTORRENT="0"
Zeile 119: Zeile 101:
 
# use a LIRC remote control device, attached to PATH (default: /dev/lircd)
 
# use a LIRC remote control device, attached to PATH (default: /dev/lircd)
 
VDR_LIRC=""
 
VDR_LIRC=""
</pre>
 
 
Locale.
 
 
<pre>
 
# search for locale files in DIR (default: <PREFIX>/VDR/locale)
 
VDR_LOCALEDIR=""
 
 
</pre>
 
</pre>
  
Zeile 219: Zeile 194:
 
# -----------------------------------------------------------
 
# -----------------------------------------------------------
 
# locale
 
# locale
LANG="de_DE.UTF-8"
+
LANG="de_DE@euro"
 
TEXTDOMAIN="vdr"
 
TEXTDOMAIN="vdr"
 
TEXTDOMAINDIR="${VDR_CONFIG}/locale"
 
TEXTDOMAINDIR="${VDR_CONFIG}/locale"
</pre>
 
 
Beschreibung?
 
 
<pre>
 
# Workaround for broadcasters not correctly implementing the standard.
 
# According to "ETSI EN 300 468" the default character set is ISO6937. But
 
# unfortunately some broadcasters actually use ISO-8859-9, but fail to
 
# correctly announce that. If you set VDR_CHARSET_OVERRIDE=ISO-8859-9, then VDR
 
# uses ISO-8859-9 as default.
 
VDR_CHARSET_OVERRIDE="ISO-8859-9"
 
 
</pre>
 
</pre>
  
Zeile 256: Zeile 220:
 
</pre>
 
</pre>
  
Konsole ''wechseln''.
+
Zu Konsole schalten.  
  
 
<pre>
 
<pre>
Zeile 266: Zeile 230:
  
 
<pre>
 
<pre>
# run script(s) / proc(s) with runvdr {start,stop}
+
# run script(s) with runvdr start
MYSCRIPTS="/path/script /path/proc"
+
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 324: Zeile 307:
 
</pre>
 
</pre>
  
[[audiorecoder-plugin]]
+
[[audiorecorder-plugin]]
  
 
<pre>
 
<pre>
# audiorecoder, use DIR as recording directory
+
# audiorecorder, use DIR as recording directory
 
AUDIORECORDERDIR="${AUDIORECORDERDIR}"
 
AUDIORECORDERDIR="${AUDIORECORDERDIR}"
 
</pre>
 
</pre>
Zeile 338: Zeile 321:
 
</pre>
 
</pre>
  
[[osdimage-plugin]] / [[pictures-plugin]]
+
[[osdimage-plugin]] + [[pictures-plugin]]
  
 
<pre>
 
<pre>
 
# osdimage, pictures, use toplevel DIR for images
 
# osdimage, pictures, use toplevel DIR for images
IMAGEDIR="/video0/images"
+
IMAGEDIR="${IMAGEDIR}"
</pre>
+
 
+
Umgebungsvariable für [[VIDEGOR]].
+
 
+
<pre>
+
# igor environment
+
IGOR="localhost:11072"
+
 
</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"

VDR Optionen

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

LIRC

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

RCU

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

VDR Optionen

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

SVDRP

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

# audiorecorder, use DIR as recording directory
AUDIORECORDERDIR="${AUDIORECORDERDIR}"

muggle-plugin

# muggle, use toplevel DIR for music
MUGGLEDIR="${MUGGLEDIR}"

osdimage-plugin + pictures-plugin

# osdimage, pictures, use toplevel DIR for images
IMAGEDIR="${IMAGEDIR}"