Opened 12 years ago
Closed 12 years ago
#10327 closed Bug Report - General (fixed)
mythfilldatabase Doesn't Update MythFillSuggestedRunTime
Reported by: | Owned by: | beirdo | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - Mythfilldatabase | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Attachments (2)
Change History (4)
Changed 12 years ago by
Attachment: | mythfilldatabase.20120212124727.8415.log added |
---|
Changed 12 years ago by
Attachment: | version.txt added |
---|
comment:1 Changed 12 years ago by
Owner: | changed from stuartm to beirdo |
---|---|
Status: | new → assigned |
comment:2 Changed 12 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Fix the NextSuggestedTime? not being saved (oops)
Fixes #10327
Branch: master Changeset: a1d708f4e2c07c62d2f1bb6eee39ef10a4fc94f7
Note: See
TracTickets for help on using
tickets.
most lines with http: delete to get past Trac filter