[mythtv] [patch] two channel quick change

Matt Zimmerman mythtv-dev@snowman.net
Sun, 15 Dec 2002 17:35:02 -0500

On Sun, Dec 15, 2002 at 12:32:29AM -0800, Alex Krohn wrote:

> Below is a quick change I made that you may find useful if you only have
> channels from 0 - 99. Basically it's an option so that on the myth changes
> channels immediately upon the second keypress rather then waiting 3 seconds or
> waiting for an enter key (so if you press 1 then 2 it changes immediately on
> the 2). I also changed it so that if you press 1 and then don't press anything,
> it does not change the channel, but will fade away.
> I made it an option, but am not sure on the option name. Also, on my tv, if
> you hold down the 1 key, you can then enter > 100 channel numbers, but I
> wasn't quite sure how best to implement this, or if it's even worthwhile.

It seems like the right thing to do here is to make the behavior depend on
the available channels, rather than making it a configuration option.  It
should wait for the Nth digit when the longest channel is N digits long.

 - mdz