So I did a bit of experimenting as well. I altered two files in my copy of mythweb from the end of the 0.19-fixes branch:<br><ul><li>I commented out line 207 in modules/tv/recorded.php so that &quot;generate_preview_pixmap&quot; wouldn't get called.
</li><li>I hacked up themes/default/tv/recorded.php so that it looks directly in my /var/video directory for thumbnails rather than checking its own cache. I then had to make sure that Apache could follow a symlink off to where those thumbnails (and all of my recordings) are stored.
</li></ul>After I made these two changes, the Recorded Programs page was suddenly loading in a couple seconds with all of the thumbnails showing -- except for shows that are currently being recorded.<br><br>While this solves it well enough for me, I do still have a few misgivings:
<br><ol><li>No thumbnail will be available for shows currently being recorded.</li><li>I don't like having my /var/video directory exposed to the rest of the world -- which is probably why the cache was set up in the first place.
</li><li>The next time I update mythweb, I'm going to have to rehack my files to keep things chugging along.</li></ol>It looks like the real solution would be to fix the generate_preview_pixmap function in the first place. It's in includes/mythbackend.php at line 226. I'm going to poke at it for a bit right now before I head off to work. Thanks for the feedback, Niels -- it's sort of reassuring to know that someone else is putting up with this behavior too.
<br><br><div><span class="gmail_quote">On 5/1/06, <b class="gmail_sendername">Niels Dybdahl</b> &lt;<a href="mailto:Niels@dybdahl.dk">Niels@dybdahl.dk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;"><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></blockquote></div><div style="direction: ltr;"><span class="q">
&gt; b) looking at the timestamps, a handful of .png files (nine to be<br>&gt; exact) keep getting re-created everytime I view the Recorded Programs
<br>&gt; page of mythweb.<br><br></span></div><div style="direction: ltr;">Mythweb checks the modification timestamp for the recording in the<br>database and compares it with the creation date of the thumbnail.&nbsp;&nbsp;If<br>the thumbnail is too old, it requests a new one from the backend.&nbsp;&nbsp;This
<br>means that either your database is somehow corrupt and has timestamps<br>set in the future, or you're changing (that include playing) the recordings.<div><br>
<br>
I have the same problem, so I checked in my mythweb/data/cache folder.<br>
I opened&nbsp; the recorded shows in MythWeb and 439 out of 528 thumbnails were regenerated.<br>
A couple of minutes later I refreshed the web page and this time 418
thumbnails were regenerated. I could not watch so many shows in such a
short time and I do not think that all these entries should be corrupt.
None of them have dates in the future.<br>
I just tried once more and all 418 thumbnails from second try were
regenerated, so the 21 (439-418) that were not regenerated in the
second and third try could have been played or new since last time I
used MythWeb.<br>
The 418 shows consists of all recorded with 0.18.1 and numerous recorded with 0.19 including those recorded today.<br>
<br>
</div>Niels Dybdahl<br>
</div><br>

</div><br>_______________________________________________<br>mythtv-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br><br><br></blockquote></div><br>