[mythtv] Mythweb and auto-expire checkboxes

Chris Petersen lists at forevermore.net
Thu Mar 30 16:45:36 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.
>> 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 :)

Well, looks like it got checked into svn accidentally last night, so 
I'll just let it stay there until I come up with a cleaner fix.

-Chris


More information about the mythtv-dev mailing list