[mythtv-commits] Re: Ticket #358: Still problems with TVRec: Timed out waiting for lock -- aborting recording

MythTV mythtv at cvs.mythtv.org
Wed Sep 21 20:21:03 UTC 2005


#358: Still problems with TVRec: Timed out waiting for lock -- aborting recording
--------------------------------+-------------------------------------------
 Reporter:  asmythtv at dsgml.com  |        Owner:  ijr 
     Type:  enhancement         |       Status:  new 
 Priority:  major               |    Milestone:      
Component:  mythtv              |      Version:  head
 Severity:  low                 |   Resolution:      
--------------------------------+-------------------------------------------
Comment (by asmythtv at dsgml.com):

 Here is a patch to partially do what's needed:

 {{{
 Index: libs/libmythtv/tv_rec.cpp
 ===================================================================
 --- libs/libmythtv/tv_rec.cpp   (revision 7273)
 +++ libs/libmythtv/tv_rec.cpp   (working copy)
 @@ -1356,18 +1356,16 @@

          if ((t.elapsed() > timeout) || abortRecordingStart)
          {
 -            // BEGIN DEBUG CODE
 -            if (print_verbose_messages & VB_CHANNEL)
 +            if (print_verbose_messages & (VB_CHANNEL | VB_IMPORTANT))
              {
                  QString flagStr =
 sm_flags_to_string(signalMonitor->GetFlags());
                  VERBOSE(VB_CHANNEL, "SigMon Flags are: "<<flagStr);
                  for (uint i = 0; i < list.size(); ++i)
                  {
 -                    VERBOSE(VB_CHANNEL, "SML["<<i<<"]: "
 -                            <<list.at(i).toString());
 +                    VERBOSE( (list.at(i).IsGood() ? VB_CHANNEL :
 VB_IMPORTANT),
 +                            "SML["<<i<<"]: "<<list.at(i).toString());
                  }
              }
 -            // END DEBUG CODE
              return false;
          }

 @@ -1410,7 +1408,7 @@
              VERBOSE(VB_IMPORTANT,
                      ((abortRecordingStart) ?
                       "TVRec: StartChannel() -- canceled" :
 -                     "TVRec: Timed out waiting for lock -- aborting
 recording"));
 +                     "TVRec: Timed out waiting for good signal --
 aborting recording"));
              SetSignalMonitoringRate(0, 0);
              return false;
          }
 }}}

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/358>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list