Opened 17 years ago

Closed 16 years ago

#3096 closed patch (fixed)

Patch to reverse sorting of channels in the program guide

Reported by: lscotte@… Owned by: paulh
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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.

Attachments (1)

EPGSortReverse.patch (2.8 KB) - added by lscotte@… 17 years ago.
Patch to sort EPG in reverse order

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by lscotte@…

Attachment: EPGSortReverse.patch added

Patch to sort EPG in reverse order

comment:1 Changed 17 years ago by stuartm

Owner: changed from Isaac Richards to stuartm
Version: 0.20head

I'd rather not add another setting, but I'll see if this can be implemented without needing one.

comment:2 Changed 17 years ago by anonymous

Thank you very much, I've been looking for this feature until someone on the irc chan pointed me here.

Thanks for the patch! hope it makes it into new releases

comment:3 Changed 16 years ago by paulh

Owner: changed from stuartm to paulh
Status: newassigned

comment:4 Changed 16 years ago by paulh

Resolution: fixed
Status: assignedclosed

(In [15281]) Add a key binding TOGGLEEPGORDER (default is number '0') that will reverse the order of channels in the program guide. The order is remembered when exiting the EPG and will be restored the next time it is used.

Note if you have the 'Allow channel jumping in guide' setting on the default binding will be ignored so you will have to use another key.

Closes #3096.

Note: See TracTickets for help on using tickets.