[mythtv-commits] mythtv commit: r21385 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Aug 21 03:16:46 UTC 2009


      Author: cpinkham
        Date: 2009-08-21 03:16:46 +0000 (Fri, 21 Aug 2009)
New Revision: 21385
   Changeset: http://cvs.mythtv.org/trac/changeset/21385

Modified:

   trunk/mythtv/programs/mythbackend/housekeeper.cpp
   trunk/mythtv/programs/mythbackend/housekeeper.h
   trunk/mythtv/programs/mythbackend/main.cpp
   trunk/mythtv/programs/mythbackend/scheduler.cpp

Log:

Allow the housekeeper to run mythfilldatabase when the backend is first
started if:

1) we are in the mythfilldatabase time window
2) it has been long enough since the last run
3) the backend was started automatically

For users using the ability to shutdown the master backend when idle and
automatically wakeup for the next recording, mythfilldatabase may rarely
get a chance to run because of the randomization logic we apply to
determine when to run a job.

Closes #4961 with a patch that slightly resembles the original by Stefan Becker






More information about the mythtv-commits mailing list