state: $1
;;
esac
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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
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
;;
*)
C.Y.M wrote:
Thanks for your replay, but I was looking for a switch that would make vdr run a
script right after vdr starts up.
If you want to start a program together with VDR, why don't you put it
into your runvdr script?
Cheers,
Udo
___
Udo Richter wrote:
C.Y.M wrote:
Thanks for your replay, but I was looking for a switch that would make
vdr run a
script right after vdr starts up.
If you want to start a program together with VDR, why don't you put it
into your runvdr script?
Because in the runvdr script, the vdr
C.Y.M wrote:
Yes, I like the idea of backgrounding VDR using and then using 'wait $PID'.
Is that the method you use? I've been trying to find the best way to do this.
Could you give me an example? :)
Something like that. This is a snippet of my overgrown runvdr script:
# Run VDR
eval
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