[mythtv] [patch] two channel quick change

Bruce Markey mythtv-dev@snowman.net
Sun, 15 Dec 2002 15:17:11 -0800


Matt Zimmerman wrote:
> 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.
> 

Or, if you check the available channels, 10 waits for a third
digit if there are channels in the 100s, 42 changes immediately
if there are no 400s, 9 changes immediately if there are no 90s
or 900s. However, this is overkill and may be more confusing
than useful.

My preference would be that, on startup, check to see if there
are channels over 100. If so, 3 digits else 2 digits.

--  bjm