[mythtv-commits] mythtv branch master updated by stuartm. v0.28-pre-1095-g7fd0a20

Git Repo Owner noreply at mythtv.org
Sat Apr 26 08:48:58 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user stuartm.
       via  7fd0a20200a58c30d3c200008b54a3258bbe0808 (commit)
      from  e46904385382ca90f71ae472e88bd3dcd6cf1d7f (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 7fd0a20200a58c30d3c200008b54a3258bbe0808
Author:    Stuart Morgan <smorgan at mythtv.org> at Thu, 27 Mar 2014 17:35:03 +0000
Committer: Stuart Morgan <smorgan at mythtv.org> at Sat, 26 Apr 2014 09:48:12 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=7fd0a20200a58c30d3c200008b54a3258bbe0808

Fix some confusion over the behaviour/purpose of IsSameProgram
Creates a new method similar to IsSameProgram called
IsDuplicateProgram which is purely used for scheduling purposes.

The issue seems to be that IsSameProgram() doesn't do what it appears
it should. Places using it assume that it will match two
programs which are identical - same content - but it's been modified
over time to serve the definition of a 'duplicate' for scheduling
purposes. This means, among other things, that if the duplicate check
method is 'None', then IsSameProgram will return false given two
identical programs.



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

Summary of changes:
 mythtv/libs/libmyth/programinfo.cpp       |   61 ++++++++++++++++++++++++++++-
 mythtv/libs/libmyth/programinfo.h         |    3 +-
 mythtv/libs/libmythbase/mythversion.h     |    2 +-
 mythtv/programs/mythbackend/scheduler.cpp |    2 +-
 4 files changed, 64 insertions(+), 4 deletions(-)

-- 



More information about the mythtv-commits mailing list