[mythtv] Re: [mythtv-users] Pre-scaling theme images

Joseph A. Caputo jcaputo1 at comcast.net
Wed Sep 15 08:58:15 EDT 2004

On Wednesday 15 September 2004 07:10, Thomas Börkel wrote:
> HI!
> Joseph A. Caputo wrote:
> > It appears that every time you run mythfrontend *at a different
> > resolution*, it removes the 'stale' themecache and generates one
> > for the current resolution.  For instance, I normally run at
> > 800x600, and I *never* get the "generating scaled-images..."
> > progress bar.  Today I ssh-ed in from work and ran with a remote
> > 1280x1024 display.  I saw the progress bar (as expected), but I
> > also saw a terminal message "removing stale cache blue.800.600".  I
> > checked, and sure enough, I now have a blue.1280.1024 cache and NO
> > blue.800.600 cache.  I fully expect that the next time I fire up my
> > main frontend I will see the progress bar.
> >
> > Perhaps it would be a good idea to have myth *not* delete a
> > themecache just because it's not the current resolution?
> I write protect the cache dir and sub dirs after they have been
> created.

Copying the -dev list on this.  See the whole thread here:

Hmmm, not a bad idea, but won't that cause problems as themes get 
updated and images get added/removed/changed ?  In any event it would 
be nice for the code to do the right thing.

(to the -dev list):  is there a good reason for this behavior?  If not, 
I'll look into patching it to not delete the theme cache, or at least 
maybe to come up with a better way of determining if a theme cache is 
truly 'stale'.

mythtv-dev mailing list
mythtv-dev at mythtv.org

More information about the mythtv-users mailing list