[mythtv] [PATCH] improved channel changing perl script

IvanK. chepati at yahoo.com
Wed Dec 3 21:39:25 EST 2003


Hi guys,

I don't know if this is really useful, but it doesn't break anything and it's, 
I think, a better version of the perl script to change channels on an 
external box.  What's different in this script is this:

1) It doesn't limit the number of input digits to four
2) You can use this script outside of myth* to pass arguments other than 
digits

Right now if you try to  do something like

rc SEND_ONCE <remote> POWER (or any non-digit argument) the script will send P 
O W E R, which your cable box will not understand as a valid command.

Like I said, the usefulness of these modifications is limitted to outside of 
myth operations.  That is of course unless myth's native lirc support is 
changed so that it passes through commands it doesn't understand to the 
channel changing script.

Ignore me if I don't make sense :-)

IvanK.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: change_channel.pl
Type: application/x-perl
Size: 1280 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031203/10897f2d/change_channel.pl


More information about the mythtv-dev mailing list