[mythtv-firehose] mythtv branch master updated. v0.26-pre-15-gcbb8eb1
Git Repo Owner
noreply at mythtv.org
Wed Apr 11 14:45:35 UTC 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "mythtv".
The branch, master has been updated
via cbb8eb1ee32a658a519d2d5fb751ace114f63bf9 (commit)
via 4621e138f33a508d68f01a84f18866e14eed82b7 (commit)
from fe24dceab5d3345c5c20c258fed9470eb4090b51 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cbb8eb1ee32a658a519d2d5fb751ace114f63bf9
Author: David Engel <dengel at mythtv.org>
AuthorDate: Wed Apr 11 09:40:25 2012 -0500
Commit: David Engel <dengel at mythtv.org>
CommitDate: Wed Apr 11 09:40:25 2012 -0500
Add duplicate checking and limited matching optimizations and other
scheduler related changes.
The three major changes are as follows.
Split the checks against the oldrecorded and recorded tables for
previous recordings away from the "place" phase of scheduling and call
it the "check" phase. This makes it easier to report how much time is
spent doing this and leads to the next major change.
Drastically reduce the number of checks against the oldrecorded and
recorded tables for previous recordings. Historically, this has been
the most significant contributor to long scheduler runs. Not every
unnecessary check is eliminated, but the vast majority of them are.
Trying to remove the few remaining ones would probably take longer
than simply rechecking them.
Allow for checking a subset of the program table when new guide data
is available. This is primarily aimed at EIT scanning where typically
only a few hours of guide data for specific channels is updated in an
orderly fashion. Not rechecking the unchanged guide data greatly
reduces the amount of work the scheduler has to do. Please note the
EIT scanner has not been updated yet to take advantage of this change.
The other changes are as follows.
Use more expressive reschedule requests. This is primarily to support
the changes listed above. It also makes it easier to understand why
reschedules occurred when reading the logs and might lead to the
elimination of unnecessary reschedules in the future.
MATCH reschedule requests should be used when the guide data or a
specific recording rule is changed. The syntax is as follows.
RESCHEDULE_RECORDINGS
MATCH <recordid> <sourceid> <mplexid> <maxstarttime> <reason>
maxstarttime should be in ISO format. If recordid, sourceid or
mplexid are non-zero or maxstarttime is a valid time, the scheduler
will restrict itself to recording rules and guide data matching
those parameters. reason is purely for purposes of logging.
CHECK reschedule requests should be used when the status of a
specific episode is affected such as when "never record" or "allow
re-record" are selected or a recording finishes or is deleted. The
syntax is as follows.
RESCHEDULE_RECORDINGS
CHECK <recstatus> <recordid> <findid> <reason>
<title>
<subtitle>
<description>
<programid>
recordid should be the parent recordid, when applicable, otherwise,
the normal recordid. Setting programid to '**any**" and title to ""
is a special case used to emulate an old reschedule request for
recordid 0. Setting programid to "**any**" and title to other than
"" is another special case used when all entries for a title are
deleted from oldrecorded. recstatus and reason are purely for
purposes of logging.
PLACE reschedule request should be used in all other cases. The
syntax is as follows.
RESCHEDULE_RECORDINGS
PLACE <reason>
reason is purely for purposes of logging.
Update the PHP and Python bindings to use the new reschedule requests.
Please note the bindings API has not changed to make full use of the
new requests. I'm leaving it to the bindings maintainers to decide
how best to do that.
Clear record.duplicate when a recording is queued for deletion. It
should have been this way all along and avoids a redundant reschedule
when the file is actually unlinked.
Lower the very detailed scheduler placement logging to LOG_DEBUG.
This makes VB_SCHEDULE/LOG_INFO more useful for less voluminous
purposes.
Add findid to the recordmatch table. This avoids having to calculate
it in multiple places.
Tighten the window for rescheduling long running programs from "24
hours ago" to "~8 hours ago".
Avoid creating unnecessary RecordingInfo objects that are going to get
deleted later anyway.
Fixes #10533
commit 4621e138f33a508d68f01a84f18866e14eed82b7
Author: David Engel <dengel at mythtv.org>
AuthorDate: Wed Apr 11 09:38:51 2012 -0500
Commit: David Engel <dengel at mythtv.org>
CommitDate: Wed Apr 11 09:38:51 2012 -0500
Extend mythutil to support sending multi-line events.
Use extra --event arguments to add more lines to the event.
-----------------------------------------------------------------------
Summary of changes:
mythtv/bindings/perl/MythTV.pm | 6 +-
mythtv/bindings/php/MythBackend.php | 16 +-
mythtv/bindings/python/MythTV/mythproto.py | 12 +-
mythtv/bindings/python/MythTV/static.py | 6 +-
mythtv/libs/libmyth/programinfo.cpp | 3 +-
mythtv/libs/libmythbase/mythversion.h | 8 +-
mythtv/libs/libmythtv/dbcheck.cpp | 12 +
mythtv/libs/libmythtv/eitscanner.cpp | 2 +-
mythtv/libs/libmythtv/recordinginfo.cpp | 10 +-
mythtv/libs/libmythtv/recordinginfo.h | 2 -
mythtv/libs/libmythtv/recordingrule.cpp | 8 +-
mythtv/libs/libmythtv/scheduledrecording.cpp | 44 +-
mythtv/libs/libmythtv/scheduledrecording.h | 35 +-
mythtv/libs/libmythtv/tv_rec.cpp | 2 +-
mythtv/programs/mythbackend/main_helpers.cpp | 6 +-
mythtv/programs/mythbackend/mainserver.cpp | 44 +-
mythtv/programs/mythbackend/mainserver.h | 3 +-
mythtv/programs/mythbackend/scheduler.cpp | 808 ++++++++++++--------
mythtv/programs/mythbackend/scheduler.h | 44 +-
mythtv/programs/mythfilldatabase/main.cpp | 3 +-
.../programs/mythfrontend/channelrecpriority.cpp | 2 +-
mythtv/programs/mythfrontend/custompriority.cpp | 4 +-
mythtv/programs/mythfrontend/main.cpp | 2 +-
mythtv/programs/mythfrontend/proglist.cpp | 8 +-
.../programs/mythfrontend/programrecpriority.cpp | 5 +-
mythtv/programs/mythutil/backendutils.cpp | 27 +-
mythtv/programs/mythutil/commandlineparser.cpp | 3 +-
27 files changed, 721 insertions(+), 404 deletions(-)
hooks/post-receive
--
mythtv
More information about the mythtv-firehose
mailing list