[mythtv] Mythweb and auto-expire checkboxes

Otto Kolsi otto at kolsi.net
Thu Mar 30 16:11:31 UTC 2006


>> Selecting or de-selecting auto-expire checkbox in mythweb recorded 
>> programs page (SVN 9489), generates lot of activity in backend.
> 
> 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

Yes, that helped a lot! Instead of 14-15 seconds its now down to ~0.5s :)
--
  Otto


More information about the mythtv-dev mailing list