[mythtv-commits] mythtv commit: r23739 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Mar 15 02:35:04 UTC 2010


      Author: cpinkham
        Date: 2010-03-15 02:35:04 +0000 (Mon, 15 Mar 2010)
New Revision: 23739
   Changeset: http://svn.mythtv.org/trac/changeset/23739

Modified:

   trunk/mythtv/programs/mythfrontend/playbackbox.cpp
   trunk/mythtv/programs/mythfrontend/playbackbox.h

Log:

Cache the file lists used by PlaybackBox::findArtworkFile() so that
we don't have to retrieve the file list every time we scroll over
a recording that we don't already know about.  This does have the
downside that if an artwork image is added to the Storage Group
while the user is in the Watch Recordings screen, the artwork will
not be shown until the user reenters Watch Recordings, but since
this would have to be done from an outside script, this is not
seen as a big issue.  After 0.23, this code will get reworked as
we plan on implementing a system-wide file/directory name cache,
so this is a short-term solution.






More information about the mythtv-commits mailing list