[mythtv-commits] Ticket #12823: Wrong tuned multiplex

MythTV noreply at mythtv.org
Thu Jul 7 20:21:06 UTC 2016


#12823: Wrong tuned multiplex
----------------------------------+------------------------
 Reporter:  guillaume.ml@…        |          Owner:
     Type:  Bug Report - General  |         Status:  new
 Priority:  major                 |      Milestone:  0.27.7
Component:  MythTV - DVB          |        Version:  0.27.5
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+------------------------

Comment (by guillaume.ml@…):

 I solved the problem by tuning a second time. Weird indeed...

 Here is the patch :
 {{{
 diff --git a/mythtv/libs/libmythtv/recorders/dtvchannel.cpp
 b/mythtv/libs/libmythtv/recorders/dtvchannel.cpp
 index d0b7dda..a005fb0 100644
 --- a/mythtv/libs/libmythtv/recorders/dtvchannel.cpp
 +++ b/mythtv/libs/libmythtv/recorders/dtvchannel.cpp
 @@ -332,6 +332,8 @@ bool DTVChannel::SetChannelByString(const QString
 &channum)
                      ClearDTVInfo();
                      ok = false;
                  }
 +                // Tune a second time
 +                Tune(tuning, (*it)->name);
              }
          }
          else
 diff --git a/mythtv/libs/libmythtv/recorders/dvbchannel.cpp
 b/mythtv/libs/libmythtv/recorders/dvbchannel.cpp
 index f4a3e58..ade48dc 100644
 --- a/mythtv/libs/libmythtv/recorders/dvbchannel.cpp
 +++ b/mythtv/libs/libmythtv/recorders/dvbchannel.cpp
 @@ -523,7 +523,7 @@ bool DVBChannel::Tune(const DTVMultiplex &tuning,
 QString inputname)
                  .arg(inputname));
          return false;
      }
 -    return Tune(tuning, inputid, false, false);
 +    return Tune(tuning, inputid, true, false);
  }

  #if DVB_API_VERSION >= 5
 }}}

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


More information about the mythtv-commits mailing list