[mythtv-commits] mythtv commit: r22870 by robertm
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Fri Nov 20 19:57:48 UTC 2009
Author: robertm
Date: 2009-11-20 19:57:48 +0000 (Fri, 20 Nov 2009)
New Revision: 22870
Changeset: http://svn.mythtv.org/trac/changeset/22870
Modified:
trunk/mythplugins/mythvideo/mythvideo/dbcheck.cpp
trunk/mythplugins/mythvideo/mythvideo/metadata.cpp
trunk/mythplugins/mythvideo/mythvideo/metadata.h
trunk/mythplugins/mythvideo/mythvideo/metadatalistmanager.cpp
trunk/mythplugins/mythvideo/mythvideo/videoscan.cpp
Log:
Implement more of the hashing logic for MythVideo. Note that this is presently limited to locally stored copies, but one can now freely rename, move, spindle, or mutilate the filenames without losing metadata. As long as the files are still the same *data*, they'll be reconnected to the metadata on a rescan.
In testing, hashing and adding 1100 files took 54 seconds. Files are not hashed unless they are renamed or being added. Existing files are not rehashed on a scan. That's the long way of saying it takes a little longer for the initial add, but that there's no performance hit from having a lot of records in subsequent searches.
Looking at how best to work this with Storage Group files, hope to have something for that in a few days time.
More information about the mythtv-commits
mailing list