[mythtv-users] Issue with channel changing script

Rage321 rage321 at optonline.net
Fri May 25 04:18:24 UTC 2007

I would first try running mythfrontend -w from a terminal and go into Live
TV, then Alt+Tab to the console and look for errors relating to your

Honestly though, I would also verify that you did this using proper syntax,
 MythTV will automagically handle the channel changing on your cable box for
you, as long as it knows where the channel changing script you created is
located. To let it know, run mythtvsetup as follows: 

$ mythtvsetup 
Say No to clearing capture card or channel info. 

Under "Input Connections," look for the part called "External Channel Change
Command." Navigate to this, and enter "/usr/local/bin/change_chan.sh"
(without the quotation marks). Be sure to hit the "Finish"

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of
myth at 1000angrybadgers.com
Sent: Thursday, May 24, 2007 10:47 PM
To: mythtv-users at mythtv.org
Subject: [mythtv-users] Issue with channel changing script

I am having an issue with using an IR Blaster to control my mythtv.  This
worked for several years fine with my DirectTV but I recentely changed to a
Cable box though.  I followed the tutorial at:

The channel change script works fine from the command line but does not
change to the correct channel from mythtv.  I have included the channel
chage shell script below:

for digit in $(printf "%3.3d" $1 | sed -e 's/./& /g'); do /usr/bin/irsend
--device=/dev/lircd1 SEND_ONCE $REMOTE_NAME $digit sleep 0.2 # note, you may
have to tweak the interdigit delay up a bit done

Any ideas what is going wrong?

mythtv-users mailing list
mythtv-users at mythtv.org

More information about the mythtv-users mailing list