Installscript-recording-cmds
Aus VDR Wiki
(Unterschied zwischen Versionen)
(→queuehandler.run) |
(→Beschreibung) |
||
| Zeile 4: | Zeile 4: | ||
Im Beispiel wird [[noad]] aufgerufen. | Im Beispiel wird [[noad]] aufgerufen. | ||
| − | Das ganze kann im [[admin-plugin]] | + | Das ganze kann im [[admin-plugin]] eingestellt werden. |
| − | + | ||
| − | + | ||
0 = inactiv | 0 = inactiv | ||
1 = activ | 1 = activ | ||
2 = online mode | 2 = online mode | ||
| + | |||
| + | [[Bild:admin-plugin-02.jpg|thumb|none|''Bsp'']] | ||
==before-noad.run== | ==before-noad.run== | ||
Version vom 22. Oktober 2005, 17:31 Uhr
Beschreibung
In ../admin/recording-cmds befinden sich Scripte, welche...
Im Beispiel wird noad aufgerufen.
Das ganze kann im admin-plugin eingestellt werden.
0 = inactiv 1 = activ 2 = online mode
before-noad.run
START="0" # inactiv / activ / + online mode ENTRY=$"vdrrip running" # eintrag für das admin-plugin CHECK=$(which noad) # zum test -> ob vorhanden...
#!/bin/sh
#
# example script (../../scripts/rwrapper.sh -> $0)
START="0"
ENTRY=$"0,2:Noad (0=off,1=on,2=online mode)"
CHECK=$(which noad)
# set the online-mode here
# 1 means online for live-recording only
# 2 means online for every recording
ONLINEMODE="--online=1"
# set additional args for every call here here
ADDOPTS="--ac3 --overlap --jumplogo --comments --statisticfile=/var/log/vdr/noad.log"
case $0 in
*before-*)
case $START in
2) noad $1 "$2" $ONLINEMODE $ADDOPTS
;;
esac
;;
*after-*)
case $START in
1) noad $1 "$2" $ADDOPTS
;;
2) noad $1 "$2" $ONLINEMODE $ADDOPTS
;;
esac
;;
esac