AW: [vdr] execute command after vdr starts

martin martin at air-maxx.net
Thu Sep 7 18:10:42 CEST 2006


Just add option "-r script.sh" 

#!/bin/sh
case "$1" in
     before)
            ;;
     after)
            echo "After recording $2"
                /usr/local/bin/startnoad.sh "$2" &
            ;;
     edited)
            echo "Edited recording $2"
            ;;
     *)
            echo "ERROR: unknown state: $1"
            ;;
     esac

-----Ursprüngliche Nachricht-----
Von: vdr-bounces at linuxtv.org [mailto:vdr-bounces at linuxtv.org] Im Auftrag von
C.Y.M
Gesendet: Dienstag, 5. September 2006 15:15
An: Vdr
Betreff: [vdr] execute command after vdr starts

Is there a command line switch that would allow me to define a command vdr
must excute after initial startup?  I see one for before and after
recordings, but I am looking for a way to execute a command after startup
only.

Best Regards.

_______________________________________________
vdr mailing list
vdr at linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




More information about the vdr mailing list