[mythtv] Thumbnail regeneration in WatchRecordings every viewing

Isaac Richards ijr at case.edu
Tue Jan 3 23:05:48 UTC 2006


On Tuesday 03 January 2006 17:55, Torbjörn Jansson wrote:
> mythtv-dev-bounces at mythtv.org <> wrote:
> > Stutty wrote:
> >> As far as I can work out the ProgramInfo.lastmodified is always newer
> >> than the thumbnail when I exit from watching a recording... So this
> >> code in Playbackbox::getPixmap, always gets exercised:
> >>
> >>    if (previewLastModified <  pginfo->lastmodified &&
> >>        previewLastModified >= pginfo->recendts &&
> >>        !pginfo->IsEditing() &&
> >>        !JobQueue::IsJobRunning(JOB_COMMFLAG, pginfo))    {
> >>        RemoteGeneratePreviewPixmap(pginfo);
> >>        previewLastModified = getPreviewLastModified(pginfo);    }
> >>
> >>
> >> If this is a problem then I'll raise a ticket tomorrow, otherwise
> >> I'll just patch locally as it's a real PITA for me.
> >
> > Please do (with patch if possible) as this has been noted before on
> > -dev and certain exists as an issue.
> >
> > Kevin
>
> Could this be another case where the miliseconds part of the date affects
> coparison of the dates?

Naw, this is likely just the bookmark update changing the lastmodified 
timestamp.

Isaac


More information about the mythtv-dev mailing list