[mythtv-commits] mythtv commit: r26210 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Sep 11 02:44:42 UTC 2010


      Author: cpinkham
        Date: 2010-09-11 02:44:41 +0000 (Sat, 11 Sep 2010)
New Revision: 26210
   Changeset: http://svn.mythtv.org/trac/changeset/26210

Log:

A few fixes related to the Theme Chooser:

Fix abnormally slow Theme Chooser list downloading for people who
have high latency between themselves and the mythtv.org server.  We
now download a .zip file containing all the themeinfo.xml files
and preview thumbnails in one shot rather than downloading each
individually and having to run last modified checks against each
file (3 per theme counting the theminfo.xml, preview image, and
preview thumbnail).

Fix slow scrolling in the Theme Chooser.  Rather than loading
the thumbnail preview and preview images from the themes.mythtv.org
site directly, we download the thumbnails in the new .zip file
mentioned above.  The preview images themselves are downloaded
separately and pre-cached locally under the themecache directory
along with the contents of the .zip.  This means that when
scrolling, all images are coming off the 'local' filesystem and
not a remote http:// URI.  This significantly speeds up scrolling
speed in both the buttonlist and the full-screen preview.



Modified:

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




More information about the mythtv-commits mailing list