Rwrapper.sh
Aus VDR Wiki
Version vom 23. Februar 2006, 04:57 Uhr von 84.186.6.78 (Diskussion)
Skript für VDR.
#!/bin/sh # # rwrapper.sh # # an example script for use with the '-r' option could look like this: PATH=$PATH:/usr/local/bin case "$1" in before) echo "Before recording $2" noad $1 "$2" --ac3 --overlap --jumplogo --comments --online=1 vdrrecinfo.pl $1 "$2" marks2pts $1 "$2" ;; after) echo "After recording $2" nice -n 19 noad $1 "$2" --ac3 --overlap --jumplogo --comments --online=1 --statisticfile=/var/log/noadstat ;; edited) echo "Edited recording $2" marks2pts -upload $1 "$2" ;; *) echo "ERROR: unknown state: $1" ;; esac