[mythtv-commits] Ticket #3096: Patch to reverse sorting of channels in the program guide

MythTV mythtv at cvs.mythtv.org
Sat Feb 17 15:11:34 UTC 2007


#3096: Patch to reverse sorting of channels in the program guide
-------------------------------+--------------------------------------------
 Reporter:  lscotte at gmail.com  |       Owner:  ijr 
     Type:  patch              |      Status:  new 
 Priority:  minor              |   Milestone:  0.21
Component:  mythtv             |     Version:  0.20
 Severity:  medium             |  
-------------------------------+--------------------------------------------
 DESCRIPTION: This patch reverses the sort order of channels in the EPG and
 adds the option to the settings UI.

 SYNOPSIS: Some users find that sorting channels with the lowest numbered
 ones at the bottom of the screen is preferred from a UI perspective. In
 some senses this is more consistent since the UP button then always
 increases channel number regardless of how channels are being browsed.
 This is an option on many STB devices (for example Dish Network). An
 option to enable this is added to a logical place in the EPG settings UI.

 TECH DETAILS: This is really quite a trivial patch. When the EPG is
 populated in fillChannelInfo(), if this setting is enable, instead of
 adding channel "i" in the loop, we add "channels.size()-i-1", which
 effectively reverses the sort order. A new configuration setting check box
 is added with a name of "EPGSortReverse". The default value is 0. This
 patch is against commit 12593, but I am more than willing to patch against
 a more recent commit, though you'll see the patch is really quite trivial,
 minor changes (all the same) to 6 lines, and addition of 19 new lines.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3096>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list