On 9/17/07, <b class="gmail_sendername">Michael T. Dean</b> &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 09/17/2007 04:49 PM, Patrick Wagstrom wrote:<br>&gt; Cottrell, Eric wrote:<br>&gt;<br>&gt;&gt;&gt; OK, I may be blind, but...<br>&gt;&gt;&gt; This morning when I checked the schedules, I found that<br>&gt;&gt;&gt; mythtv didnt know anything about what was on the air.
<br><br>&lt;snip&gt;<br><br>&gt; Sounds like mythfilldatabase not automatically running may be a<br>&gt; moderately common issue.<br><br>Perhaps you two, too, are suffering from the issue that I described in<br>Eric&#39;s thread (if so--if the below solutioin fixes the issue for any/all
<br>of you), please let me know as I can probably make a case for getting a<br>&quot;fix&quot; into 0.20-fixes).&nbsp;&nbsp;I&#39;ll re-post my answer here since it hasn&#39;t yet<br>made it into the archives:<br><br>It sounds like you may be using the &quot;Run mythfilldatabase at time
<br>suggested by grabber&quot; but the time that was last suggested (i.e. by a<br>&quot;manual&quot; execution of mythfilldatabase) is not in the window during<br>which mythfilldatabase is allowed to run. To fix it, change the
<br>&quot;mythfilldatabase Execution Start/End&quot; times to 0 and 24, respectively.<br><br>In 0.20.2 (and 0.20-fixes), the window is &quot;moved&quot; to a period of a<br>couple of hours around the suggested time by the backend when the
<br>backend runs mythfilldatabase. So, if mythfilldatabase is run manually,<br>no one is updating the window and it may or may not line up with the<br>last-updated window. In SVN trunk (and, in 0.21, when it&#39;s released),
<br>the window isn&#39;t changed, rather it&#39;s ignored. See<br><a href="http://www.gossamer-threads.com/lists/mythtv/commits/263447#263447">http://www.gossamer-threads.com/lists/mythtv/commits/263447#263447</a> .<br></blockquote>
</div><br><br>Mike,<br><br>While we&#39;re talking about the automatic mythfilldatabase (MFDB) controls, <br>perhaps you (or someone else, for that matter) can clear up another aspect <br>for me.&nbsp; If I have the automatic scheduling of MFDB enabled and then use 
<br>the mythwelcome/mythshutdown controls to send my system into suspend <br>or hibernate, AKA suspend to ram or suspend to disk,&nbsp; will it wake up when <br>the MFDB is scheduled to run (presuming that that is before the next 
<br>scheduled recording event)?&nbsp; In other words, is the wakeup time fed to <br>mythshutdown taking into account *both* the time of the next recording<br>*and* the time of the scheduled MFDB job?&nbsp; Section 11.5 of the <br>documentation in 
<a href="http://www.mythtv.org/modules.php?name=MythInstall">&quot;Installing and using MythTV&quot;</a> doesn&#39;t make any mention <br>of the MFDB time, so it has been my assumption that it isn&#39;t accounted for.&nbsp; <br>
Hence, I have not tried the automatic MFDB feature and instead have bashed <br>together a script to extract the suggested time from the MFDB log and choose<br>the earlier of that time and the time supplied by mythshutdown (my script is
<br>masquerading as the nvram-wakeup command used to set the alarm time).<br>If I&#39;ve reinvented the wheel, I&#39;d be happy to trade in my wagon wheel for <br>a modern tubeless tire. ;-)<br><br>OTOH, if it&#39;s not taken into account, do I need to go to the -dev list or submit
<br>a bug report to have this considered for an enhancement to the code?<br><br>Craig.<br>