<div dir="ltr">On Fri, May 17, 2013 at 9:57 PM, Bill Meek <span dir="ltr">&lt;<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 05/17/2013 08:20 PM, Erik Sejr wrote:<br>
...<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As a way around this I was thinking that I could make the channel change<br>
script a little smarter if only I knew if MythTV was currently in the<br>
LiveTV mode. Does anyone know if there is any way to get that<br>
information via Python or Perl bindings? Or anything else really?<br>
</blockquote></div>
...<br>
<br>
This is a fragment from something else I use, and it&#39;s more that<br>
what you need. You could remove the getRecordersList and only<br>
check isRecording for the specific recorder you&#39;re having<br>
trouble with.<br>
<br>
#!/usr/bin/env python<br>
<br>
from MythTV import MythBE<br>
import sys<br>
<br>
try:<br>
    be = MythBE()<br>
except:<br>
    print &#39;Unable to connect to the backend&#39;<br>
    sys.exit(1)<br>
<br>
freeRecorders = be.getRecorderList()<br>
<br>
for recorder in freeRecorders:<br>
    if be.isRecording(recorder):<br>
        print &#39;Recorder {0} is recording&#39;.format(recorder)<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div style>Any idea why the above script doesn&#39;t show all my recorders in use? I have an HD-PVR, PVR-150, and 4 HDHR&#39;s, and it only seems to see the HDHR&#39;s in use. I ran it on both back ends and it only shows the HDHR&#39;s.</div>
<div style><br></div><div style>Tom</div></div></div></div>