[mythtv-commits] mythtv commit: r12188 by cpinkham
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Mon Dec 4 06:44:24 UTC 2006
Author: cpinkham
Date: 2006-12-04 06:44:24 +0000 (Mon, 04 Dec 2006)
New Revision: 12188
Changeset: http://cvs.mythtv.org/trac/changeset/12188
Modified:
trunk/mythtv/libs/libmythtv/RingBuffer.cpp
trunk/mythtv/libs/libmythtv/programinfo.cpp
Log:
Fix a bug that was introduced in the Storage Groups patch in the Ringbuffer
is_local determination code. We need to assume a file is local if it starts
with a '/', not just if we can find it local using QFile::exists().
Also, as a safety precaution in ProgramInfo::GetPlaybackURL, if the file should
be local (ie, we're on the backend that recorded the file), but we can't find
it, return a filename instead of returning a myth:// URL. If we return a
myth:// URL, the caller could try to stream a file that doesn't exist on
the backend.
References #2774.
More information about the mythtv-commits
mailing list