<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
  <meta name="Generator" content="Zarafa WebAccess v7.1.1-37812">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>RE: [mythtv-users] MythWeb Recorded Program Details page takes forever to load (Even worse on 0.27)</title>
  <style type="text/css">
      body
      {
        font-family: Arial, Verdana, Sans-Serif ! important;
        font-size: 12px;
        padding: 5px 5px 5px 5px;
        margin: 0px;
        border-style: none;
        background-color: #ffffff;
      }

      p, ul, li
      {
        margin-top: 0px;
        margin-bottom: 0px;
      }
  </style>
</head>
<body>
<blockquote style="border-left: 2px solid #325FBA; padding-left: 5px;margin-left:5px;">-----Original message-----<br /><strong>From:</strong>        Jean-Yves Avenard &lt;jyavenard@gmail.com&gt;<br /><strong>Sent:</strong>        Tue 10-09-2013 10:16<br /><strong>Subject:</strong>        Re: [mythtv-users] MythWeb Recorded Program Details page takes forever to load (Even worse on 0.27)<br /><strong>To:</strong>        Discussion about MythTV &lt;mythtv-users@mythtv.org&gt;; <br />On 10 September 2013 18:14, Dave Pearson &lt;lists@the-pearsons.co.uk&gt; wrote:<br /><br />&gt; I commented that line out and the details page now loads pretty much<br />&gt; instantly!<br /><br />ok.. so it&#39;s the same issue as me...<br /><br />connect to mysql on the mythconverg database (mysql -u mythtv -p mythconverg)<br />and run the following command:<br />SELECT DISTINCT settings.hostname FROM settings WHERE<br />settings.hostname IS NOT NULL AND settings.value =<br />&quot;NetworkControlEnabled&quot; AND settings.data &nbsp;= 1;<br /><br />This will return a list of hostnames...<br /><br />On my system, there were about 5 machines that did not exist anymore<br />and would resolve to my ISP&#39;s default search page which cause<br />searching for mythtv settings taking forever...<br />today my cable connection was down, and the detail page would take 10<br />minutes to load; with the internet connection working it would still<br />take 2 minutes.<br /><br />If you know of a machine that isn&#39;t in use anymore, deleted the settings with:<br />DELETE FROM `settings` WHERE `hostname` = &#39;machine_hostname&#39;;<br /><br /><br />That won&#39;t solve the issue of findFrontends() taking a long time, but<br />will bypass it...<br /><br />&gt; Now, I wonder what causes the Record Program Update function to be so slow?<br />&gt; :-)<br /><br />I have that issue too... will look into it<br />_______________________________________________<br />mythtv-users mailing list<br />mythtv-users@mythtv.org<br />http://www.mythtv.org/mailman/listinfo/mythtv-users<br /></blockquote><p>Hi Jean-Yves,</p><p>&nbsp;</p><p>I&#39;ve added the flush() command to the details.php script and that certainly allows the rest of the page to load pretty much instantly. I&#39;ve now deleted the non-existent frontends from my database and that has sped up the rendering of the &quot;Play Recording on Frontend&quot; section of the page significantly.</p><p>&nbsp;</p><p>Regards,</p><p>Dave.<br />&nbsp;</p>
</body>
</html>