[mythtv-commits] mythtv/master commit: 59b43bfa3 by David Engel (gigem)

MythTV noreply at mythtv.org
Fri Apr 15 15:28:30 UTC 2011


      Author:  David Engel <dengel at mythtv.org>
 Change Date:  2011-04-15T08:27:07-07:00
   Push Date:  2011/04/15 08:28:28 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  59b43bfa3b88896bc1aea2f064c2040df8103cd7
   Changeset:  https://github.com/MythTV/mythtv/commit/59b43bfa3

Log:

Rework the handling of missed recordings to be more efficient.

Intead of deleting and rewriting all future entries every time the
scheduler runs, only delete entries that are no longer applicable and
only write entries that changed.  This also should remove the
possibility of losing entries if the backend crashes or hangs while
the scheduler is running.

In addition, this change cleans up the logic a little and fixes some
minor issues with the previous change.  Finally, it also fixes a
known, longstanding, bug where the schedTime variable had file static
scope and could possibly cause a problem if a speculative scheduleer
was running at the same time as the main scheduler.

Modified:

   mythtv/bindings/perl/MythTV.pm
   mythtv/bindings/python/MythTV/static.py
   mythtv/libs/libmythtv/dbcheck.cpp
   mythtv/libs/libmythtv/recordinginfo.cpp
   mythtv/libs/libmythtv/recordinginfo.h
   mythtv/programs/mythbackend/scheduler.cpp
   mythtv/programs/mythbackend/scheduler.h



More information about the mythtv-commits mailing list