[mythtv-commits] Ticket #12081: Setting a program to record from Program Schedule does not highlight/change status

MythTV noreply at mythtv.org
Thu Mar 27 15:15:08 UTC 2014


#12081: Setting a program to record from Program Schedule does not highlight/change
status
----------------------------------+-----------------------------
 Reporter:  deadletterfile@…      |          Owner:  stuartm
     Type:  Bug Report - General  |         Status:  closed
 Priority:  minor                 |      Milestone:  0.28
Component:  MythTV - Scheduling   |        Version:  Master Head
 Severity:  medium                |     Resolution:  fixed
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------

Comment (by stuartm):

 {{{
 diff --git a/mythtv/libs/libmyth/programinfo.cpp
 b/mythtv/libs/libmyth/programinfo.cpp
 index 06cc019..be5d653 100644
 --- a/mythtv/libs/libmyth/programinfo.cpp
 +++ b/mythtv/libs/libmyth/programinfo.cpp
 @@ -2116,12 +2116,20 @@ bool ProgramInfo::IsSameProgram(const ProgramInfo&
 other) const

  /**
   *  \brief Match same program, with same starttime (channel may be
 different)
 + *
 + *         Channels with the SAME CALLSIGN are considered IDENTICAL and
 + *         therefore any programs showing with the same starttime are
 + *         also considered to be exactly the same! (See #12081)
 + *
 + *         If the programs are different, then the channels MUST have
 different
 + *         callsigns
 + *
   *  \param other ProgramInfo to compare this one with.
   *  \return true if this program is the same and shares same start time
 as "other" program.
   */
  bool ProgramInfo::IsSameProgramAndStartTime(const ProgramInfo& other)
 const
  {
 -    if (!IsSameProgram(other))
 +    if (!IsSameChannel() || !IsSameProgram(other))
          return false;
      if (startts == other.startts)
          return true;
 }}}

 You could also try the above patch, taking careful note of the comment
 about channels sharing the same callsign having to be absolutely identical
 in content.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12081#comment:10>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list