[mythtv-commits] mythtv branch master updated by jstichnoth. v0.28-pre-402-ge3ee97c

Git Repo Owner noreply at mythtv.org
Sat Oct 26 03:14:41 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user jstichnoth.
       via  e3ee97cd75d58b5ac9420c2b8b5f624e4c368de2 (commit)
      from  b7f2f60f76542b29f0390d5a9c6fc57fa10232b2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e3ee97cd75d58b5ac9420c2b8b5f624e4c368de2
Author:    Jim Stichnoth <jstichnoth at mythtv.org> at Fri, 25 Oct 2013 20:03:55 -0700
Committer: Jim Stichnoth <jstichnoth at mythtv.org> at Fri, 25 Oct 2013 20:03:55 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e3ee97cd75d58b5ac9420c2b8b5f624e4c368de2

Be more flexible about starting the Guide at a particular channel.
The DefaultTVChannel specifies the initial channel to highlight when
the Program Guide is started from the top level (not from within Live
TV).  The original logic required an exact match on the channel
number, and if there was no exact match, it would start at the
beginning of the channel list.

The new logic finds the closest match using the same "smart" channel
number comparison function used for sorting the Guide by channel
number.

Refs #11913.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/channelutil.cpp      |   31 +++++++++++++++++
 mythtv/libs/libmythtv/channelutil.h        |    2 +
 mythtv/programs/mythfrontend/guidegrid.cpp |   50 +++++-----------------------
 3 files changed, 42 insertions(+), 41 deletions(-)

-- 



More information about the mythtv-commits mailing list