[mythtv-users] Recording LED light possible?

malcolm mythtv at lds.dyndns.org
Tue Mar 23 01:58:34 EST 2004


----- Original Message -----
From: "Travis Kelley" <rhatguy at comcast.net>
Sent: Monday, March 22, 2004 11:59 PM


> I have a script that can tell if myth is recording or not...thats pretty
> trivial to me..here it is
>
> if [ `fuser /dev/video0 | grep -cv grep` == "0" ]
>         then  #backend not recording
>         RECORDING="0"
>         else  #backend recording
>         RECORDING="1"
> fi
>
>
> you can change RECORD="x" to any command you want...does this help?  Is
> this what you what you were looking for?  Let me know how this turns out
> as I would be interested in controling an led also...I just don't know
> the hardware side.

The hardware side looks like it might be real easy.

http://www.hut.fi/Misc/Electronics/circuits/parallel_output.html

Just hookup as many LEDs as you do have capture cards.  Looks promising.  I
think I'm going to give it a shot tomorrow.

Malcolm



More information about the mythtv-users mailing list