[mythtv-commits] mythtv commit: r12919 - in branches/release-0-20-fixes/mythtv by cpinkham
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sat Mar 3 06:25:07 UTC 2007
Author: cpinkham
Date: 2007-03-03 06:25:06 +0000 (Sat, 03 Mar 2007)
New Revision: 12919
Changeset: http://cvs.mythtv.org/trac/changeset/12919
Modified:
branches/release-0-20-fixes/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
branches/release-0-20-fixes/mythtv/libs/libmythtv/dtvrecorder.cpp
branches/release-0-20-fixes/mythtv/libs/libmythtv/mpegrecorder.cpp
branches/release-0-20-fixes/mythtv/programs/mythbackend/mainserver.cpp
Log:
Backport of [12918] to -fixes. Here is the original commit log:
Don't update recorded.filesize inside the main recorder capture loops. This
should fix the issues people are seeing with recording glitches related to
scheduler runs blocking updates to the reocrded table.
This also modifies Mainserver::HandleQueryRecordings() to only update call
ProgramInfo::SetFilesize() if the recording's endtime is in the past and the
filesize in the DB is 0, otherwise it just stats the file and gives the
current filesize to the frontend. This way the frontend (and MythWeb) always
get the current filesize of an in-progress recording even though the filesize
in the DB isn't getting updated during the recording.
One potential side-effect of this is that the AutoExpirer will see these
recordings as 0 bytes until the recording is over, but that shouldn't cause
any issues because the expirer won't try to expire an in-use program anyway.
More information about the mythtv-commits
mailing list