[mythtv] [PATCH] EPG Jump To Channel bugfixes

Harvard Pan harvardpan at gmail.com
Tue May 3 08:11:05 UTC 2005


There are a couple of things that I found with the EPG channel jumping
that this patch addresses:
   1) If you enter two numbers and then a DELETE, the screen doesn't
refresh correctly.
       Example: enter 2, 3, DELETE. The channel jumper should be on
channel 2, and it should display 2. Before this patch, it will still
show "23" although internally it's only "2" now.
   2) When numbers are mapped to other keys, channel jumping will not
work for channels with those numbers.
       Example: enter 2, 3, 0. The channel jumper will only recognize
2 and 0, ending with the result of "20". The reason is because by
default the number keys get mapped to other keys (7 == HOME, 9 ==
PgUp, 1 == END, 3 == PgDn).

This patch checks if channel jumping option is selected. If so, it
will assume that all numbers entered are an attempt to jump channels.

Attached is the diff of the changes. 

--Harvard

As an aside, I was thinking of implementing a user requested feature
in which you can change the video source (say if you have Cable and
Satellite video sources) in the EPG. Is anyone aware of any pitfalls
to implementing this feature?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guidegrid.diff
Type: text/x-patch
Size: 2972 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050503/73872c81/guidegrid.bin


More information about the mythtv-dev mailing list