Installscript-vdr.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(link intern)
(vdr.conf: M)
Zeile 1: Zeile 1:
 
==vdr.conf==
 
==vdr.conf==
# -----------------------------------------------------------
+
<pre>
# Description: Environment for VDR
+
# -----------------------------------------------------------
# -----------------------------------------------------------
+
# Description: Environment for VDR
#
+
# -----------------------------------------------------------
# Format:
+
#
#
+
# Format:
# VDR_OPTION=""
+
#
#    ^^^^^^
+
# VDR_OPTION=""
#    use vdr --help
+
#    ^^^^^^
#
+
#    use vdr --help
# VDR_EPG="......" (tr A-Z a-z)
+
#
#    ^^^
+
# VDR_EPG="..." (tr A-Z a-z)
#  --epg='......'
+
#    ^^^
 +
#  --epg='...'
 +
</pre>
 +
 
 +
Installation Prefix.
 +
 
 +
<pre>
 +
# installation prefix
 +
PREFIX="/usr/local"
 +
</pre>
  
 
Das meiste wird hier ''aktiviert'', und über die [[installscript-runvdr|runvdr]] ausgeführt, die Scripts in '''../admin/[[installscript-start-cmds|start-cmds]]/rc''' sollte man sich anpassen.
 
Das meiste wird hier ''aktiviert'', und über die [[installscript-runvdr|runvdr]] ausgeführt, die Scripts in '''../admin/[[installscript-start-cmds|start-cmds]]/rc''' sollte man sich anpassen.
  
# start / loads the following programs (runvdr start)
+
<pre>
#
+
# -----------------------------------------------------------
# (1=true/0=false)
+
# start / loads the following programs (runvdr start)
START_ACTIVY="0"
+
# -----------------------------------------------------------
START_ADMIN="0"
+
#START_ACTIVY="0"
START_ATD="1"
+
START_ADMIN="0"
START_DVB="1"
+
START_ATD="1"
START_DXR3="0"
+
START_DVB="1"
START_GLCDSPLASH="0"
+
START_DXR3="0"
START_IGOR="0"
+
START_GLCDSPLASH="0"
START_IVTV="0"
+
START_IGOR="0"
START_LCDD="0"
+
START_IVTV="0"
START_LIRCD="1"
+
START_LCDD="0"
START_LOADKEYS="0"
+
START_LIRCD="1"
START_MLNET="0"
+
START_LOADKEYS="0"
START_MVPLOADER="0"
+
START_MLNET="0"
START_MYSQLD="0"
+
START_MVPLOADER="0"
START_NTPDATE="0"
+
START_MYSQLD="0"
START_QUEUEHANDLER="0"
+
START_NTPDATE="0"
START_RTORRENT="0"
+
START_QUEUEHANDLER="0"
# tuning the primary device, after loading the dvb driver
+
START_RTORRENT="0"
START_TUNE="0"
+
START_TUNE="0"
 +
</pre>
  
Prefix, mit welchen installiert wurde.
+
Angabe des Programms, welches für die Weiterleitung des Dolby-Digital Signals verantwortlich ist.
  
# installation prefix
+
<pre>
PREFIX="/usr/local"
+
# -----------------------------------------------------------
 +
# 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.
  
# directory where vdr stores its config files. vdr defaults to /video
+
<pre>
VDR_CONFIG="/usr/local/etc/vdr"
+
# directory where vdr stores its config files. vdr defaults to /video
 +
VDR_CONFIG="/usr/local/etc/vdr"
 +
</pre>
  
Für Übersetzungen.
+
Anzahl der DVB-Devices, die genutzt werden sollen ('''0,1,2 ...''').
  
# locale
+
<pre>
TEXTDOMAIN="vdr"
+
# use only the given DVB device (NUM = 0, 1, 2 ...)
TEXTDOMAINDIR="\${VDR_CONFIG}/locale"
+
# there may be several -D options (default: all DVB devices will be used)
 +
VDR_DEV=""
 +
</pre>
  
Scripts / Konfiguration vom [[admin-plugin]].
+
File in dem das EPG gespeichert wird.
  
# path to admin
+
<pre>
ADMDIR="${VDR_CONFIG}/admin"
+
# 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>
  
Verzeichnis zu den Scripts.
+
[[VDR Optionen]]
  
# path to scripts
+
<pre>
SCRDIR="${VDR_CONFIG}/scripts"
+
# 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 für die Aufnahmen.
+
Verzeichnis, in dem sich die Plugins befinden.
  
# use DIR as video directory (default: /video)
+
<pre>
VDR_VIDEO="/video0"
+
# search for plugins in DIR (default is ./PLUGINS/lib)
 +
VDR_LIB="${PREFIX}/lib/vdr"
 +
</pre>
  
Script zum Herunterfahren des PCs, für das [[extb-plugin]] ändern in ('''${SCRDIR}/extb-poweroff.pl''').
+
[[LIRC]]
  
# call CMD to shutdown the computer
+
<pre>
VDR_SHUTDOWN="${SCRDIR}/[[installscript-shutdown.sh|shutdown.sh]]"
+
# use a LIRC remote control device, attached to PATH (default: /dev/lircd)
 +
VDR_LIRC=""
 +
</pre>
  
Script, welches vor bzw. nach einer Aufnahme ausgeführt wird.
+
Angabe des Logging-Levels (0,1,2,3).
  
# call CMD before and after a recording, e.g:
+
<pre>
VDR_RECORD="${SCRDIR}/[[installscript-rwrapper.sh|rwrapper.sh]]"
+
# set log level
 +
# 0 = no logging
 +
# 1 = errors only
 +
# 2 = errors and info
 +
# 3 = errors, info and debug (default)
 +
VDR_LOG="3"
 +
</pre>
  
Verzeichnis, in dem sich die Plugins befinden.
+
Port für das Simple-Video-Disk-Recorder-Protokoll (siehe [[svdrp]]).
  
# search for plugins in DIR (default is ./PLUGINS/lib)
+
<pre>
VDR_LIB="${PREFIX}/lib/vdr"
+
# which port to listen vor SVDRP commands, see vdr --help. default (default: 2001)
 +
VDR_PORT=""
 +
</pre>
  
File in dem das EPG gespeichert wird.
+
[[RCU]]
  
# write the EPG data into the given FILE (default is /video/epg.data)
+
<pre>
# use '-E-' to disable this if FILE is a directory, the default EPG file will be created in that directory
+
# use a remote control device, attached to PATH (default: /dev/ttyS1)
VDR_EPG="${VDR_CONFIG}/epg.data"
+
VDR_RCU=""
 +
</pre>
  
Hier wird die Zeit in Sekunden angegeben, die der Watchdog zur Reaktion benötigt.
+
Script, welches vor bzw. nach einer Aufnahme ausgeführt wird.
  
# activate the watchdog timer with a timeout of SEC
+
<pre>
# seconds (default: 0); '0' disables the watchdog
+
# call CMD before and after a recording, e.g:
VDR_WATCHDOG="60"
+
VDR_RECORD="${SCRDIR}/rwrapper.sh"
 +
</pre>
  
Ausgabe-Terminal zur Kontrolle von Meldungen des VDR (z.B '''/dev/tty8''').
+
Script zum Herunterfahren des PCs, für das [[extb-plugin]] ändern in ('''${SCRDIR}/extb-poweroff.pl''').
  
# controlling tty
+
<pre>
VDR_TERMINAL="/dev/tty1"
+
# call CMD to shutdown the computer
 +
VDR_SHUTDOWN="${SCRDIR}/shutdown.sh"
 +
</pre>
  
Port für das Simple-Video-Disk-Recorder-Protokoll (siehe [[svdrp]]).
+
Ausgabe-Terminal zur Kontrolle von Meldungen des VDR.
  
# which port to listen vor SVDRP commands, see vdr --help. default (default: 2001)
+
<pre>
VDR_PORT=""
+
# controlling tty ('/dev/tty1')
 +
VDR_TERMINAL=""
 +
</pre>
  
Angabe des Logging-Levels (0,1,2,3).
+
[[VDR Optionen]]
  
# set log level
+
<pre>
# 0 = no logging
+
# run as user USER (default: vdr) only applicable if started as root
# 1 = errors only
+
VDR_USER="root"
# 2 = errors and info
+
</pre>
# 3 = errors, info and debug (default)
+
VDR_LOG="1"
+
  
Angabe des Programms, welches für die Weiterleitung des Dolby-Digital Signals verantwortlich ist.
+
Verzeichnis für die Aufnahmen.
  
# send Dolby Digital audio to stdin of command CMD, e.g: "a52dec -o oss6"
+
<pre>
VDR_AUDIO=""
+
# use DIR as video directory (default: /video)
 +
VDR_VIDEO="/video0"
 +
</pre>
  
Anzahl der DVB-Devices, die genutzt werden sollen ('''0,1,2 ...''').
+
Hier wird die Zeit in Sekunden angegeben, die der Watchdog zur Reaktion benötigt.
  
# use only the given DVB device (NUM = 0, 1, 2...)
+
<pre>
# there may be several -D options (default: all DVB devices will be used)
+
# activate the watchdog timer with a timeout of SEC
VDR_DEV=""
+
# seconds (default: 0); '0' disables the watchdog
 +
VDR_WATCHDOG="60"
 +
</pre>
  
[[LIRC]]
+
Sonstieges.
  
# use a LIRC remote control device, attached to PATH (default: /dev/lircd) >= 1.3.28
+
<pre>
VDR_LIRC=""
+
# 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>
  
[[RCU]]
+
Für Übersetzungen.
  
# use a remote control device, attached to PATH (default: /dev/ttyS1) >= 1.3.28
+
<pre>
VDR_RCU=""
+
# -----------------------------------------------------------
 +
# misc
 +
# -----------------------------------------------------------
 +
# locale
 +
TEXTDOMAIN="vdr"
 +
TEXTDOMAINDIR="${VDR_CONFIG}/locale"
 +
</pre>
  
Siehe [[VDR Optionen|Optionen]]
+
Scripts / Konfiguration vom [[admin-plugin]].
  
# run as user USER (default: vdr) only applicable if started as root >= 1.3.38
+
<pre>
VDR_USER=""
+
# path to admin
 +
ADMDIR="${VDR_CONFIG}/admin"
 +
</pre>
  
Sonstieges.
+
Verzeichnis zu den Scripts.
  
# mute audio of the primary DVB device at startup (--mute)
+
<pre>
# don't use the keyboard as an input device (--no-kbd) >= 1.3.28
+
# path to scripts
# encode special characters in recording names to avoid problems with VFAT file systems (--vfat) >= 1.3.32
+
SCRDIR="${VDR_CONFIG}/scripts"
USRDEV=""
+
</pre>
 +
 
 +
Auslagerort der Schnitte. [[clipinc]]
  
# -----------------------------------------------------------
+
<pre>
# config for shutdown
+
# where to store the clips + mp3s
# -----------------------------------------------------------
+
CLIPINCDIR="/video0/clips"
 +
</pre>
  
 
Klar.
 
Klar.
  
# read board configuration from specified configuration file (e.g: "$PREFIX/etc/nvram-wakeup/nvram-wakeup.conf")
+
<pre>
NVRAM_CONFIG=""
+
# -----------------------------------------------------------
 +
# config for shutdown
 +
# -----------------------------------------------------------
 +
# read board configuration from specified configuration file (e.g: "$PREFIX/etc/nvram-wakeup/nvram-wakeup.conf")
 +
NVRAM_CONFIG=""
 +
</pre>
  
 
Falls das Board bekannt sein sollte.
 
Falls das Board bekannt sein sollte.
  
# specify the iw (infowriter) name. (e.g: gigabyte_5aa)
+
<pre>
NVRAM_IWNAME=""
+
# specify the iw (infowriter) name. (e.g: gigabyte_5aa)
 +
NVRAM_IWNAME=""
 +
</pre>
  
 
Weitere Optionen.
 
Weitere Optionen.
  
# try "nvram-wakeup --help"
+
<pre>
NVRAM_OPT="--syslog"
+
# try "nvram-wakeup --help"
 +
NVRAM_OPT="--syslog"
 +
</pre>
  
 
Welchen Bootmanager?
 
Welchen Bootmanager?
  
# Which boot manager are you using? (grub/lilo)
+
<pre>
BOOT_MANAGER="grub"
+
# Which boot manager are you using? (grub/lilo)
 +
BOOT_MANAGER="grub"
 +
</pre>
  
 
ACPI?
 
ACPI?
  
# Do you want to use acpi-wakeup? (1=true/0=false)
+
<pre>
ACPI_WAKEUP="0"
+
# Do you want to use acpi-wakeup? (1=true/0=false)
 +
ACPI_WAKEUP="0"
 +
</pre>
  
# -----------------------------------------------------------
+
[[EPG]] -> [[tvmovie2vdr]] -> [[infosatepg]]
# epg -> look in ../admin/[[installscript-recording-cmds|recording-cmds]]/after-wakeup.run
+
# -----------------------------------------------------------
+
  
[[tvmovie2vdr]]
+
<pre>
 +
# -----------------------------------------------------------
 +
# epg -> look in ../admin/record-cmds/after-wakeup.run
 +
# -----------------------------------------------------------
 +
EPG_TVMOVIE2VDR="0"
 +
EPG_INFOSATEPG="0"
 +
EPG_TVINFOMERK2VDR="0"
 +
</pre>
  
EPG_TVMOVIE2VDR="1"
+
Umgebungsvariable für [[VIDEGOR]].
  
[[infosatepg]]
+
<pre>
 
+
# -----------------------------------------------------------
EPG_INFOSATEPG="1"
+
# config for plugins
 
+
# -----------------------------------------------------------
[[tvmovie2vdr]]
+
# igor environment
 
+
IGOR="localhost:11072"
EPG_TVINFOMERK2VDR="0"
+
</pre>
 
+
# -----------------------------------------------------------
+
# config for plugins
+
# -----------------------------------------------------------
+
+
Umgebungsvariable für [[VIDEGOR]]
+
 
+
# igor environment
+
IGOR="localhost:11072"
+
  
 
[[muggle-plugin]]
 
[[muggle-plugin]]
  
# muggle
+
<pre>
MUGGLEDIR="/mp3"
+
# muggle
 +
MUGGLEDIR="/mp3"
 +
</pre>
  
 
[[vdrrip-plugin]]
 
[[vdrrip-plugin]]
  
# vdrrip
+
<pre>
VDRRIPDIR="/video0/vdrrip"
+
# vdrrip
 
+
VDRRIPDIR="/video0/vdrrip"
# -----------------------------------------------------------
+
</pre>
# misc
+
# -----------------------------------------------------------
+
 
+
Auslagerort der Schnitte. [[clipinc]]
+
 
+
# where to store the clips + mp3s
+
CLIPINCDIR="/video0/clips"
+
  
 
[[Kategorie:Installscript]]
 
[[Kategorie:Installscript]]

Version vom 10. Januar 2006, 22:38 Uhr

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_ACTIVY="0"
START_ADMIN="0"
START_ATD="1"
START_DVB="1"
START_DXR3="0"
START_GLCDSPLASH="0"
START_IGOR="0"
START_IVTV="0"
START_LCDD="0"
START_LIRCD="1"
START_LOADKEYS="0"
START_MLNET="0"
START_MVPLOADER="0"
START_MYSQLD="0"
START_NTPDATE="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"

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="${SCRDIR}/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="${SCRDIR}/shutdown.sh"

Ausgabe-Terminal zur Kontrolle von Meldungen des VDR.

# controlling tty ('/dev/tty1')
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
TEXTDOMAIN="vdr"
TEXTDOMAINDIR="${VDR_CONFIG}/locale"

Scripts / Konfiguration vom admin-plugin.

# path to admin
ADMDIR="${VDR_CONFIG}/admin"

Verzeichnis zu den Scripts.

# path to scripts
SCRDIR="${VDR_CONFIG}/scripts"

Auslagerort der Schnitte. clipinc

# where to store the clips + mp3s
CLIPINCDIR="/video0/clips"

Klar.

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

Welchen Bootmanager?

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

ACPI?

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

EPG -> tvmovie2vdr -> infosatepg

# -----------------------------------------------------------
# epg -> look in ../admin/record-cmds/after-wakeup.run
# -----------------------------------------------------------
EPG_TVMOVIE2VDR="0"
EPG_INFOSATEPG="0"
EPG_TVINFOMERK2VDR="0"

Umgebungsvariable für VIDEGOR.

# -----------------------------------------------------------
# config for plugins
# -----------------------------------------------------------
# igor environment
IGOR="localhost:11072"

muggle-plugin

# muggle
MUGGLEDIR="/mp3"

vdrrip-plugin

# vdrrip
VDRRIPDIR="/video0/vdrrip"