AW: [vdr] execute command after vdr starts

C.Y.M syphir at syphir.sytes.net
Thu Sep 7 21:05:57 CEST 2006


martin wrote:
> 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
> 

Thanks for your replay, but I was looking for a switch that would make vdr run a
script right after vdr starts up.  Can this be adopted to that?  This seems to
only work after a recording has occurred.

Best Regards.




More information about the vdr mailing list