[mythtv-commits] Ticket #10327: mythfilldatabase Doesn't Update MythFillSuggestedRunTime

MythTV noreply at mythtv.org
Sun Feb 12 19:03:09 UTC 2012


#10327: mythfilldatabase Doesn't Update MythFillSuggestedRunTime
------------------------------------------------+-------------------------
     Reporter:  Bill Meek <keemllib@…>          |      Owner:  stuartm
         Type:  Bug Report - General            |     Status:  new
     Priority:  minor                           |  Milestone:  unknown
    Component:  MythTV - Mythfilldatabase       |    Version:  Master Head
     Severity:  medium                          |   Keywords:
Ticket locked:  0                               |
------------------------------------------------+-------------------------
 mythfilldatabase runs successfully (every 3 hours), however,
 note the next suggested run time never changes.

 {{{
 mythfilldatabaseLastRunEnd    | 2012-02-12 12:48:40
 mythfilldatabaseLastRunStart  | 2012-02-12 12:48:40
 MythFillSuggestedRunTime      | 2012-02-10T01:11:11
 }}}

 To duplicate:
 {{{
 mythfilldatabase --dd-grab-all -v general,file --loglevel debug --logpath
 /var/log/mythtv
 }}}

 The following was added for debugging:
 {{{
 diff --git i/mythtv/libs/libmythtv/datadirect.cpp
 w/mythtv/libs/libmythtv/datadirect.cpp
 index ee8b0b7..addae6a 100644
 --- i/mythtv/libs/libmythtv/datadirect.cpp
 +++ w/mythtv/libs/libmythtv/datadirect.cpp
 @@ -1096,6 +1096,13 @@ bool
 DataDirectProcessor::GrabNextSuggestedTime(void)
      bool GotNextSuggestedTime = false;
      MUNUSED bool GotBlockedTime = false;

 +    if (file.size() == 0)
 +    {
 +        LOG(VB_GENERAL, LOG_WARNING, LOC +
 +            QString("NextSuggestedTime has 0 bytes"));
 +        return GotNextSuggestedTime;
 +    }
 +
      if (file.open(QIODevice::ReadOnly))
      {
          QTextStream stream(&file);
 }}}

 and prints on every run.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10327>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list