[mythtv-commits] mythtv commit: r25229 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Jun 30 16:45:11 UTC 2010


      Author: cpinkham
        Date: 2010-06-30 16:45:11 +0000 (Wed, 30 Jun 2010)
New Revision: 25229
   Changeset: http://svn.mythtv.org/trac/changeset/25229

Modified:

   trunk/mythtv/libs/libmythdb/mythversion.h
   trunk/mythtv/libs/libmythdb/remotefile.cpp
   trunk/mythtv/libs/libmythdb/remotefile.h
   trunk/mythtv/libs/libmythdb/storagegroup.cpp

Log:

Convert several RemoteFile methods to use the existing master backend
connection via gCoreContext rather than opening their own dedicated
connections.  This should speed up these operations.  Affected routines
are DeleteFile(), Exists(), and GetFileHash();

Modify StorageGroup::GetFileInfo() to be able take a relative pathname
as well as the existing fully-qualified path to the file.

Also add a new LastModified() method for checking the last modified timestamp
of a remote file.

This does bump the binary API version, so make clean, etc..






More information about the mythtv-commits mailing list