[mythtv-users] Change channel scripts

Michael PARKER michael.parker at st.com
Mon Nov 8 15:28:35 UTC 2010



> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of
> Mike Bennett
> Sent: 08 November 2010 00:30
> To: Discussion about MythTV
> Subject: Re: [mythtv-users] Change channel scripts
> 
> 
> 
> On 11/04/2010 12:27 PM, Mike Bennett wrote:
> > Okay I am having a weird issue with my change channel scripts. I have
> > three turners and three Comcast DTA/100's connected via IR cable from
> > the MCEUSB blasters to the IR port on the back of the DTA.
> >
> > I am having two different issues happening. The first issue it seems
> > that about one out of every five recordings the channel does not
> > change at all. Let me explain, the DTA will display when a button is
> > pushed to change the channel and it get recorded by myth so I can see
> > when the channel is changed because it pops up a box in the lower
> > right hand corner to display the number buttons that are being pressed
> > just like using the remote. about every fifth or sixth recording does
> > the. The second issue is only one of two channel presses shows up. Ex.
> > like if the DTA is on 7 and it then tries to change to channel 16 I
> > will only see a 1 or usually the 6 show up so of course it recorded
> > the wrong channel. This happens about the same frequency as the other
> > problem but not at the same time.
> >
> > I have tried to change the interdigit time between press with the same
> > result and if I invoke the change channel script manually it works
> > every time. There is no rhyme or reason when this happens, I have seen
> > it happen when there are lots of recordings close together or when
> > there is only one show being recorded at all and it happens across all
> > tuners at different times. I'm not sure which logs to look at or if it
> > is a LIRC or Mythtv issue. I hoping someone can direct me in the right
> > direction. Oh yeah I have the front IR receiver on the DTA's covered
> > so they are not getting any stray IR signals.
> >
> > Here is my change channel script:
> >
> >  #!/bin/sh
> >  REMOTE_NAME=DTA
> >  irsend SET_TRANSMITTERS 1
> >  for digit in $(echo $1 | sed -e 's/./& /g'); do
> >          irsend SEND_ONCE $REMOTE_NAME $digit
> >          sleep 0.4  # note, you may have to tweak the interdigit delay
> > up a bit, depending on your STB model
> >  done
> >  #irsend SEND_ONCE $REMOTE_NAME OK
> >  exit 0
> >
> Bump, anyone have any idea?
> 
> --
> Regards,
> 
> Mike Bennett
> mbppg.com
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Mike,

Does any form of onscreen EPG/menu pop up when you press a key on the remote?

My old Cisco 4200DVB was, by default, set to pop up a "Now and Next" menu when you entered a channel number. The presence of this menu (well, presumably the h/w overhead required to display it) severely impacted the reliability of my IR blaster/channel change script to change channel. Once I disabled the "Now and Next menu", reliability improved dramatically.

The backend log would be a good place start debugging - you should see the invocation of and return value from the channel change script in there. If you see the channel change script being invoked with the correct channel number and returning successfully, you can be pretty confident that the MythTV end of things is working as it should. Then it's just a matter of debugging the h/w..... 

Cheers,

Mike




More information about the mythtv-users mailing list