[mythtv-commits] Ticket #11968: Disabling automatic mythfilldatabase still causes wakeups
MythTV
noreply at mythtv.org
Mon Dec 2 09:54:12 UTC 2013
#11968: Disabling automatic mythfilldatabase still causes wakeups
-------------------------------------+------------------------
Reporter: amb@… | Owner: gigem
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Scheduling | Version: 0.27-fixes
Severity: medium | Keywords:
Ticket locked: 0 |
-------------------------------------+------------------------
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.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11968>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list