[mythtv] Mythweb and auto-expire checkboxes
Chris Petersen
lists at forevermore.net
Wed Mar 29 23:15:48 UTC 2006
Otto Kolsi wrote:
> Selecting or de-selecting auto-expire checkbox in mythweb recorded
> programs page (SVN 9489), generates lot of activity in backend.
>
> I get lot of encoding type of messages (>1400 lines to logs) and with my
> PIII 500Mhz backend, it takes around 13-15sec to handle this simple
> mythweb checkbox change. At the same time, enabling or disabling
> auto-expire in frontend works fine (without any delays or extra messages).
>
> Is this known issue?
My guess is that it's because I never finished the code to handle it, so
it's probably generating the entire page. I left it undone because it's
svn and I'm planning to do a major rewrite of that whole page.
You could try adding the following after the query around line 68 in
modules/tv/recorded.php:
// Exit early if we're in AJAX mode.
if (isset($_GET['ajax'])) {
echo 'success';
exit;
}
It's sort of a kludgy fix, but please let me know if it works to speed
things up for you (I don't really notice much of a change on my box, but
it's a relatively speedy p4)
-Chris
More information about the mythtv-dev
mailing list