<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>--- On <b>Sat, 8/13/11, Douglas Mackay <i>&lt;douglas.mackay@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Douglas Mackay &lt;douglas.mackay@gmail.com&gt;<br>Subject: Re: [mythtv-users] Long time Mythwelcome bugs?<br>To: "Discussion about MythTV" &lt;mythtv-users@mythtv.org&gt;<br>Date: Saturday, August 13, 2011, 2:18 AM<br><br><div id="yiv790949135"><br><br><div class="yiv790949135gmail_quote">On 12 August 2011 18:01, Neil Cooper <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:neilcoo@yahoo.co.uk" target="_blank" href="/mc/compose?to=neilcoo@yahoo.co.uk">neilcoo@yahoo.co.uk</a>&gt;</span> wrote:<br><div>&nbsp;</div><blockquote class="yiv790949135gmail_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 rel="nofollow" ymailto="mailto:huffcslists@gmail.com" target="_blank" href="/mc/compose?to=huffcslists@gmail.com">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 rel="nofollow" ymailto="mailto:huffcslists@gmail.com" target="_blank" href="/mc/compose?to=huffcslists@gmail.com">huffcslists@gmail.com</a>&gt;<br>Subject: Re: [mythtv-users] Long time Mythwelcome bugs?<br>
To: "Discussion about MythTV" &lt;<a rel="nofollow" ymailto="mailto:mythtv-users@mythtv.org" target="_blank" href="/mc/compose?to=mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>&gt;<br>Date: Thursday, August 11, 2011, 7:07 PM<div><div></div><div class="yiv790949135h5"><br><br><div>
<p>You're missing somethings. ;-)</p>
<p>1) You don't have to start the frontend in order for something to be recorded.<br>
2)&nbsp; Sounds like you don't have myth set up correctly to check before it shuts down. Not at home, so I can't be more specific, but there'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,&nbsp; 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="yiv790949135im">_______________________________________________<br>mythtv-users mailing list<br><a rel="nofollow" target="_blank" href="http://mc/compose?to=mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br><br><br></div><div class="yiv790949135im">&gt;&gt; 1) You don'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&nbsp; I didn't already know that, especially as I describe how when I'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't happen according to&nbsp; the mythtv wiki:<br><br><pre>Automatically Start
 Mythfrontend<br>&nbsp;<br>- Normally when mythwelcome starts up it checks to see<br>&nbsp;whether the system was started to record something or<br>&nbsp;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&nbsp; 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>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>mythtv-users mailing list<br><a ymailto="mailto:mythtv-users@mythtv.org" href="/mc/compose?to=mythtv-users@mythtv.org">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>Ahh No I'm not using mythshutdown...&nbsp; mythshutdown doesn't set the RTC bios so I call my own script that does it.<br><br>So you're saying the only way mythwelcome can know if it is being woken to do a recording is if mythtv was shutdown using mythshutdown? That's not at all clear from the documentation in the wiki.<br></div></blockquote></td></tr></table>