<div class="gmail_quote">On Mon, Apr 2, 2012 at 6:00 PM, Gary Buhrmaster <span dir="ltr">&lt;<a href="mailto:gary.buhrmaster@gmail.com">gary.buhrmaster@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Mon, Apr 2, 2012 at 19:21, Raymond Norton &lt;<a href="mailto:admin@lctn.org">admin@lctn.org</a>&gt; wrote:<br>
&gt; My channel change script only allows me to change channels up to three<br>
&gt; digits.<br>
&gt;<br>
&gt; See here: <a href="http://pastebin.com/CTDwvyJ4" target="_blank">http://pastebin.com/CTDwvyJ4</a><br>
&gt;<br>
&gt; I&#39;m not a scripting genius, so not sure how to fix it. Anyone have a better<br>
&gt; script or can tell me what to change so I can change to four digit channels?<br>
<br>
</div>It is not clear that there is anything in that script that limits it to three<br>
digits (and even has a stated example of channel 1234).  However,<br>
sometimes it is necessary to wait some time period between<br>
key presses (especially duplicated keys, since most STBs<br>
provide some form of debounce protection, so it might see<br>
something like 0112 as 012 (the two 1 keys presumed to be<br>
a finger bounce unless there is sufficient idle/silence time between<br>
the keypresses)).<br>
<br>
The wiki has a number of scripts that claim full 4 digit channel support,<br>
many with various locking and inter-key delays.  You might want to<br>
peruse them at:<br>
<br>
<a href="http://www.mythtv.org/wiki/Category:Channel_Change_Scripts" target="_blank">http://www.mythtv.org/wiki/Category:Channel_Change_Scripts</a><br>
<br>
Not clear that any claim having been tested explicitly with a<br>
CommandIR and a DirecTV STB.<br>
<span class="HOEnZb"><font color="#888888"><br>
Gary<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br></div></div></blockquote><div><br>This may be a moot point, but I banged out something that might give you debug information.  Perl is not my first language. :)<br>

<br><a href="http://pastebin.com/CXSu4Lcd">http://pastebin.com/CXSu4Lcd</a><br><br>See what you get in the debug file generated.  I&#39;ll be curious to see if it works for you.<br><br>Jerry <br></div></div>