[mythtv] detecting activity - not signal. > cablebox_on.sh
Peter Hartmann
ascensiontech at gmail.com
Mon Nov 5 20:59:50 UTC 2007
> > Have you had a look for discrete "on" IR codes for your cable box? You
> > could just fire one of these on every channel change to ensure the
> > cable box is on?
My cable box doesn't have a discreet 'on' code. I don't get the
feeling that they work this way in general but I only have so can't
say for sure. But I do have script almost done that does the job.
It's modified from a motion detection script i found. The only
problem is that it only works if Myth is recording. Is there a way to
call a script when you start recording a program within Mythtv? If
not I'll have to figure out how to cat /dev/video0 > testsample.mpg
for 5 seconds in bash. I'm not sure how to do that. I can't wait to
gloat a little bit to my sister whose Tivo box doesn't have this
functionality. ;)
Thanks,
Peter
On 11/4/07, Peter Hartmann <ascensiontech at gmail.com> wrote:
> Thanks Steve...I'm going to add that to my channel change script and
> see if that helps.
>
>
> Peter
>
>
> On 9/24/07, Steve Daniels <steve.p.daniels at googlemail.com> wrote:
> > On 23/09/2007, Peter Hartmann <ascensiontech at gmail.com> wrote:
> > > My cable company has been in the habit of rebooting my cable box
> > > literally every day. As a result a lot of my recorded programs just
> > > have a black screen. If anyone has dealt with this could you help?
> > > I've seen a lot of talk about detecting signal level in the archives.
> > > I think that the signal level is strong while I'm recording black
> > > screen, so I don't think that's the issue. If no solution exists, I
> > > was thinking of running a script from cron to analyze a short sampling
> > > from /dev/video0 and initiate the correct lirc code to turn on by
> > > digital video cable box if the right information is gathered . This
> > > depends upon being able to sample /dev/video0 while mythtv may be
> > > recording. Not sure if that's gonna work. Anyway my ideal script
> > > will either make use of some yet unknown spectrum analyzer or get
> > > statistics from a an encoder log file from perhaps ffmeg. Anyone care
> > > to comment?
> > >
> > > Thanks,
> > > Peter
> >
> > Have you had a look for discrete "on" IR codes for your cable box? You
> > could just fire one of these on every channel change to ensure the
> > cable box is on?
> >
> > HTH
> >
> > Steve Daniels
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >
>
More information about the mythtv-dev
mailing list