Ahh, duh!&nbsp; I use a MCE remote but have the power button programed to power off my tv.&nbsp; I am going to see if I can get my MCE ir receiver to pickup the pioneer tv power off command, then I can have it power off the tv, and the mythbox will run the script as well.<br>
<br>After thinking about this, I think I am going to have problems picking up the programmed pioneer power signals, so to simplify it I put a ir transmitter on the pioneer and reset the mce remote to the default power button that the receiver will recognize, then set my script to power off/on the Yamaha receiver, and the Pioneer tv in the same script, and like you did set it to return mythtv to the &quot;main menu&quot;.<br>
<br>Thanks Brad for your direction.&nbsp; <br><br>Note: I am also going to see if I can set mythtv&#39;s sleep to call this script, so once sleep is activated on this box it will return mythtv to the main menu, power on/off the appropriate devices...<br>
<br><br><div class="gmail_quote">On Sun, Jun 8, 2008 at 12:46 PM, Brad DerManouelian &lt;<a href="mailto:myth@dermanouelian.com">myth@dermanouelian.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Jun 8, 2008, at 11:35 AM, Matt Nelson wrote:<br>
<br>
&gt; In my main family room I have a mythfrontend that sends all of its<br>
&gt; audio through a spdif cable to a Yamaha receiver. &nbsp;The problem that<br>
&gt; I have it that currently I leave my receiver on all the time. &nbsp;This<br>
&gt; takes up a lot of power that is not needed when there is no audio<br>
&gt; playing. &nbsp;I have a script that uses the ir transmitter to poweroff<br>
&gt; the the receiver, but I don&#39;t know how to automate this?<br>
&gt;<br>
&gt; Is there a way to run the script if there has been no audio for 15<br>
&gt; minutes? &nbsp;And how would I execute the poweron script prior to<br>
&gt; playing something?<br>
&gt;<br>
&gt; Any advice or guidance would be greatly appreciated.<br>
&gt;<br>
&gt; I thank you and my power bill will thank you.<br>
&gt; -Matt<br>
<br>
</div></div>Not the solution you asked for, but I solved this by using a Harmony<br>
remote. When I hit the Power Off button, it powers off my TV and my<br>
Receiver and also brings MythTV to the main menu so everything is<br>
using as little power as possible while still leaving my mythtv box<br>
running. Then when I watch something, I hit a custom &quot;Watch<br>
Recordings&quot; button which powers on the right stuff and brings MythTV<br>
to the Watch Recordings page.<br>
<br>
You don&#39;t have to get a Harmony remote to do this since there are lots<br>
of remotes that allow for macros, but this was the easiest for me to<br>
get working and my kids no longer leave the TV on LiveTV with this<br>
setup. :)<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br>