<br><br><div class="gmail_quote">On 12 August 2011 18:01, Neil Cooper <span dir="ltr">&lt;<a href="mailto:neilcoo@yahoo.co.uk">neilcoo@yahoo.co.uk</a>&gt;</span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top"><br>--- On <b>Thu, 8/11/11, Craig Huff <i>&lt;<a href="mailto:huffcslists@gmail.com" target="_blank">huffcslists@gmail.com</a>&gt;</i></b> wrote:<br>
<blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px"><br>From: Craig Huff &lt;<a href="mailto:huffcslists@gmail.com" target="_blank">huffcslists@gmail.com</a>&gt;<br>Subject: Re: [mythtv-users] Long time Mythwelcome bugs?<br>
To: &quot;Discussion about MythTV&quot; &lt;<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>&gt;<br>Date: Thursday, August 11, 2011, 7:07 PM<div><div></div><div class="h5"><br><br><div>
<p>You&#39;re missing somethings. ;-)</p>
<p>1) You don&#39;t have to start the frontend in order for something to be recorded.<br>
2)  Sounds like you don&#39;t have myth set up correctly to check before it shuts down. Not at home, so I can&#39;t be more specific, but there&#39;s a setup option to specify a program to run to check whether to shutdown or not. The program - shutdowncheck? - honors the lock as well a recognizing when a recording is active (and IIRC, some other things too). In my case,  I wanted to expand on this, so I call my own shell script which calls that program and does other tests before returning the appropriate value to signal whether to stay up or shutdown.</p>


<p>Craig.</p>
</div><br></div></div>-----Inline Attachment Follows-----<br><br><div><div class="im">_______________________________________________<br>mythtv-users mailing list<br><a href="http://mc/compose?to=mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br><br><br></div><div class="im">&gt;&gt; 1) You don&#39;t have to start the frontend in order for something to be recorded.<br>
<br></div>Uhh.. not sure what part of my original post gave you the incorrect impression that  I didn&#39;t already know that, especially as I describe how when I&#39;m done with the frontend I explicitly exit the frontend back to mythwelcome.<br>
<br>The problem is that mythwelcome is starting the frontend even when mythtv wakes itself up via ACPI to record a show, This shouldn&#39;t happen according to  the mythtv wiki:<br><br><pre>Automatically Start
 Mythfrontend<br> <br>- Normally when mythwelcome starts up it checks to see<br> whether the system was started to record something or<br> because of a wakeup/shutdown period. If not it will<br> automatically start the frontend.<br>
You can disable this feature by unchecking this option.   <br></pre><br></div></blockquote></td></tr></tbody></table></blockquote><div>Are you calling  mythshutdown --setwakeup $time as part of the shutdown process? And is $time in the correct format (it needs to be yyyy-MM-ddThh:mm:ss for mythshutdown --setwakeup)?<br>
</div></div><br>