[mythtv] [PATCH] Jump to channel number in Program Guide

Jason Parekh jasonparekh at gmail.com
Sat Jan 29 21:36:07 EST 2005


This patches to the current CVS to allow direct channel jumping in the 
program guide by entering a channel number.  This is a much needed 
feature, and I have submitted this patch to the list once before but it 
just fell-through the holes I suppose (if there is something wrong with it 
that is keeping it from being committed, please let me know).


Here is the previous message:

This implements the channel jumping feature that is missing from
MythTV.. It allows you to enter channels in the guide and directly
jump (the selection) to that channel. By default, it is off. You can
turn it on in the TV -> Guide settings.

The way this works is if you enter a digit, it will set a timer for
2.5 seconds and enter jump to channel mode where as you enter digits,
it will find the closest matching channel and show that on the program
guide. Within the 2.5 seconds, if you press the button bound to END,
it will cancel channel jump mode and revert to the highlighted channel
before entering this mode. If you let the timer expire, it will stay
on the selected channel. The positioning for the channel display can
be in either one of two ways. To ensure compatibility with themes, I
made it so if it can't find a specific jumptochannel container, it
will use the date's and just overwrite the date whenever it is in
channel jump mode. However, if there is a jumptochannel container, it
will use that. An example container is as follows:

<container name="jumptochannel">
<area>20,20,115,25</area>
<textarea name="channel" draworder="4" align="right">
<font>info</font>
<area>0,0,115,25</area>
<cutdown>no</cutdown>
</textarea>
</container>

Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epg_jump_to_channel-20050129_cvs.diff
Type: application/octet-stream
Size: 11534 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050129/54c75809/epg_jump_to_channel-20050129_cvs.obj


More information about the mythtv-dev mailing list