[mythtv-commits] mythtv commit: r7848 by greg

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Nov 11 17:27:56 EST 2005


      Author: greg
        Date: 2005-11-11 22:27:55 +0000 (Fri, 11 Nov 2005)
New Revision: 7848
   Changeset: http://cvs.mythtv.org/trac/changeset/7848

Modified:

   trunk/mythplugins/mythvideo/mythvideo/dbcheck.cpp
   trunk/mythplugins/mythvideo/mythvideo/globalsettings.cpp
   trunk/mythplugins/mythvideo/mythvideo/videolist.cpp
   trunk/mythplugins/mythvideo/mythvideo/videolist.h
   trunk/mythplugins/mythvideo/mythvideo/videoscan.cpp
   trunk/mythplugins/mythvideo/mythvideo/videoscan.h

Log:


 A few changes to improve performance when loading the video list
 or launching Video Manager.

 Cache the ignored file extension list rather than performing
 an SQL lookup for each file in the list.

 Adds a new config option to allow a user to not bother loading
 a videos Meta Data when using a Video List. Since most people
 just use the Video List as a file browser load the Meta Data
 is just a waste of time and by not loading it they will see a
 siginifcant speed up in how long it takes to load the Video List.

 These changes took my personal Video List load time from 1300ms
 down to 250ms and incurred close to 4000 less SQL queries to the
 database.






More information about the mythtv-commits mailing list