[mythtv-commits] mythtv commit: r23042 - in trunk/mythtv by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Thu Dec 31 21:10:11 UTC 2009
Author: danielk
Date: 2009-12-31 21:10:10 +0000 (Thu, 31 Dec 2009)
New Revision: 23042
Changeset: http://svn.mythtv.org/trac/changeset/23042
Modified:
trunk/mythtv/libs/libmyth/programinfo.cpp
trunk/mythtv/programs/mythbackend/mainserver.cpp
Log:
Speeds up the handling of no-file and zero-byte recordings on the backend
While testing some code I generated a lot of no-file and zero-byte recordings and discovered that we're spending an inordinate amount of time checking those do to a subtle interaction with the storage group code.
The ProgramInfo::GetPlaybackURL() was returning "/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/..." for files it couldn't find, but we have a few places in the code that assume anything starting in "/" is a valid file. This strips the leading "/" from the message, and changes a couple other checks.
More information about the mythtv-commits
mailing list