Opened 13 years ago
Closed 8 years ago
Last modified 8 years ago
#11968 closed Patch - Bug Fix (fixed)
Disabling automatic mythfilldatabase still causes wakeups
| Reported by: | Owned by: | Peter Bennett | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - Scheduling | Version: | 0.27-fixes |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
If "Automatically update program listings" (config item MythFillEnabled) is disabled then the scheduler will still trigger a wakeup time based on the other relevant settings (MythFillSuggestedRunTime and MythFillGrabberSuggestsTime).
In version 0.26 this was all within mythbackend/housekeeper.cpp surrounded by a test on MythFillEnabled but in version 0.27 in mythbackend/scheduler.cpp that test has gone.
The attached patch restores the test on MythFillEnabled.
The patch also subtracts the StartupSecsBeforeRecording offset from the recording time and doesn't subtract it from a mythfilldatabase startup time because that looks like unexpected behaviour.
The patch is not tested because that would take another 24 hours and it looks like an obvious fix.
Attachments (1)
Change History (6)
by , 13 years ago
| Attachment: | mythfill-schedule-fail.diff added |
|---|
comment:1 by , 13 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → accepted |
comment:2 by , 8 years ago
| Owner: | changed from to |
|---|---|
| Status: | accepted → assigned |
comment:3 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

In fb942608d/mythtv: