Modify

Ticket #3096 (closed patch: fixed)

Opened 5 years ago

Last modified 4 years ago

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

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

Change History

Changed 5 years ago by lscotte@…

Patch to sort EPG in reverse order

comment:1 Changed 5 years ago by stuartm

  • Owner changed from ijr to stuartm
  • Version changed from 0.20 to head

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

comment:2 Changed 5 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 4 years ago by paulh

  • Owner changed from stuartm to paulh
  • Status changed from new to assigned

comment:4 Changed 4 years ago by paulh

  • Status changed from assigned to closed
  • Resolution set to fixed

(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.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.