<div dir="ltr"><div><div>So I just emailed with Andrew ( the developer) and he states this: That's so that the default is to skip idle encoders. To show those you<br>
can use --noencoder-skip-idle on the command line, or if you have a config file called mythtv-status.yml have a setting like this:<br>
<br>
encoder_skip_idle: 0<br><br></div>Which works perfectly. So the perl script wasn't broken just set to not show idle by default. The command line would be:<br></div><pre id="gmail-console"><span class="gmail-ansiDef gmail-bgAnsiDef">$ mythtv-status --noencoder-skip-idle <br><span style="font-family:arial,helvetica,sans-serif"><br></span></span><span style="font-family:arial,helvetica,sans-serif">So I've changed the file back, which was always a hack to show idle. All good!</span><br></pre></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 September 2016 at 15:56, Karl -skooobie <span dir="ltr"><<a href="mailto:skooobie@gmail.com" target="_blank">skooobie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><span style="font-size:12.8px">I have found a possible solution in the perl script which runs the data gathering and print to screen. There is a setting:</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;white-space:pre-wrap">$c->{'encoder_skip_idle'} ||<wbr>= 1;</span></div><div style="font-size:12.8px"><font color="#000000" face="monospace"><span style="font-size:12px;white-space:pre-wrap"><br></span></font></div></span><div style="font-size:12.8px">Where, if I change this to 0, I get the full output including the "idle" status... see below which now shows all my encoders and their individual status. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div style="font-size:12.8px"><i>kh@kh:/$ mythtv-status </i></div><span class=""><div style="font-size:12.8px"><i> </i></div><div style="font-size:12.8px"><i>MythTV status for localhost </i></div><div style="font-size:12.8px"><i>=========================== </i></div></span><div style="font-size:12.8px"><i>Status...........: 2016-09-08 15:54:29 </i></div><div style="font-size:12.8px"><i>Total Disk Space.: Total space is 465.8 GB, with 132.5 GB used (28.4%) </i></div><div style="font-size:12.8px"><i>Next Recording In: 4 Hours </i></div><div style="font-size:12.8px"><i> </i></div><div style="font-size:12.8px"><i>Encoders: </i></div><div style="font-size:12.8px"><i><b>kh (9) - Idle </b></i></div><div style="font-size:12.8px"><i><b>kh (10) - Idle </b></i></div><div style="font-size:12.8px"><i><b>kh (11) - Idle </b></i></div><div style="font-size:12.8px"><i><b>kh (12) - Idle </b> </i></div><div style="font-size:12.8px"><i> </i></div><div style="font-size:12.8px"><i>Scheduled Recordings: </i></div><div style="font-size:12.8px"><i>2016-09-08 19:55:00 - Tiny House Hunting (ChoiceTV) </i></div><div style="font-size:12.8px"><i>2016-09-08 20:30:00 - Seven Year Switch Australia (TV2) </i></div><div style="font-size:12.8px"><i>2016-09-08 23:00:00 - Holden Golf World (TV3) </i></div><div style="font-size:12.8px"><i>2016-09-09 19:30:00 - The Voice Australia (TV2) </i></div></div><span class=""><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The script captures not only Idle and Recording events but also Error, which is rather handy. There is some protocol versions that are introduced in MythTV which has different information and gathering options changed and can be viewed here: <a href="https://www.mythtv.org/wiki/Category:Myth_Protocol" target="_blank">https://www.mythtv.org/<wbr>wiki/Category:Myth_Protocol</a> <wbr>and in the latest protocols you can view the following on the encoders:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div> '^-1$' => "${warning}Error${normal}",</div><div> '^0$' => "${safe}Idle${normal}",</div><div> '^1$' => "${warning}Watching LiveTV${normal}",</div><div> '^2$' => "${warning}Watching Pre-recorded${normal}",</div><div> '^3$' => "${warning}Watching DVD${normal}",</div><div> '^4$' => "${warning}Watching Blu-ray${normal}",</div><div> '^5$' => "${warning}Watching Video${normal}",</div><div> '^6$' => "${warning}Watching Recording${normal}",</div><div> '^7$' => "${warning}Recording${normal}" },</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">While I have made the change on my system, it would be better to have this as a git version change. I will ask the developer before making a git pull request, just in case.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Karl</div></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 8 September 2016 at 15:48, Karl -skooobie <span dir="ltr"><<a href="mailto:skooobie@gmail.com" target="_blank">skooobie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have found a possible solution in the perl script which runs the data gathering and print to screen. There is a setting:<div><br></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;white-space:pre-wrap">$c->{'encoder_skip_idle'} ||<wbr>= 1;</span></div><div><font color="#000000" face="monospace"><span style="font-size:12px;white-space:pre-wrap"><br></span></font></div><div>Where, if I change this to 0, I get the full output including the "idle" status... see screen-capture below which now shows all my encoders and their individual status. The script captures not only Idle and Recording events but also Error, which is rather handy. There is some protocol versions that are introduced in MythTV which has different information and gathering options changed and can be viewed here: <a href="https://www.mythtv.org/wiki/Category:Myth_Protocol" target="_blank">https://www.mythtv.org/wiki/Ca<wbr>tegory:Myth_Protocol</a> and in the latest protocols you can view the following on the encoders:</div><div><br></div><div><div> '^-1$' => "${warning}Error${normal}",</div><div> '^0$' => "${safe}Idle${normal}",</div><div> '^1$' => "${warning}Watching LiveTV${normal}",</div><div> '^2$' => "${warning}Watching Pre-recorded${normal}",</div><div> '^3$' => "${warning}Watching DVD${normal}",</div><div> '^4$' => "${warning}Watching Blu-ray${normal}",</div><div> '^5$' => "${warning}Watching Video${normal}",</div><div> '^6$' => "${warning}Watching Recording${normal}",</div><div> '^7$' => "${warning}Recording${normal}" },</div></div><div><br></div><div>While I have made the change on my system, it would be better to have this as a git version change. I will ask the developer before making a git pull request, just in case.</div><div><br></div><div>Karl</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 7 September 2016 at 16:40, skooobie doo <span dir="ltr"><<a href="mailto:skooobie@gmail.com" target="_blank">skooobie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">But in the Web notes the screeshot shows the status as idle when not recording. This would be a quick way of checking whether one or both tuners have a fault or not without logging into the frontend or backend. </p><div><div>
<div class="gmail_extra"><br><div class="gmail_quote">On 7/09/2016 14:51, "Austin Green" <<a href="mailto:austin.green@orcon.net.nz" target="_blank">austin.green@orcon.net.nz</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 7 Sep 2016 06:09:18 +1200<br>
skooobie doo <<a href="mailto:skooobie@gmail.com" target="_blank">skooobie@gmail.com</a>> wrote:<br>
> It should also show the tuners as *idle* when not recording. But maybe this<br>
> functionality was removed between your version and my slightly newer<br>
> version.<br>
><br>
> On 6/09/2016 21:42, "Austin Green" <<a href="mailto:austin.green@orcon.net.nz" target="_blank">austin.green@orcon.net.nz</a>> wrote:<br>
><br>
> > On Tue, 6 Sep 2016 17:23:20 +1200<br>
> > skooobie doo <<a href="mailto:skooobie@gmail.com" target="_blank">skooobie@gmail.com</a>> wrote:<br>
> ><br>
> > > Anyone use the mythtv-status command-line program? I use this a lot but<br>
> > > have noticed it is no longer populating some of the info that should be<br>
> > > there. Is this the same for those of you who use the program?<br>
> ><br>
> > Works for me:<br>
> ><br>
> > $ mythtv-status<br>
> ><br>
> > MythTV status for localhost<br>
> > ===========================<br>
> > Status..........: 2016-09-06 21:34:23<br>
> > Total Disk Space: Total space is 2,047.2 GB, with 1,822.1 GB used<br>
> > (89.0%)<br>
> ><br>
> > Encoders:<br>
> > alcatraz (1) - Recording<br>
> > alcatraz (6) - Recording<br>
> ><br>
> > Recording Now:<br>
> > Game Of Thrones (Prime) Ends: 22:45:00<br>
> > The Hard Stuff With Nigel Latta (TV ONE) Ends: 21:30:00<br>
> ><br>
> > Scheduled Recordings:<br>
> > ...<br>
> ><br>
> > OS is Trisquel Belenos, which is derived I believe from Ubuntu Trusty.<br>
> > MythTV Version : v0.27-193-g8ee257c<br>
> > mythtv-status, version 0.10.4.<br>
> ><br>
> > Austin.<br>
<br>
Mine too shows no encoders at all when no recording is happening; I guess we are supposed to deduce the idle status from that. :)<br>
Austin.<br>
<br>
______________________________<wbr>_________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz" target="_blank">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" rel="noreferrer" target="_blank">http://lists.ourshack.com/mail<wbr>man/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" rel="noreferrer" target="_blank">http://www.gossamer-threads.co<wbr>m/lists/mythtv/mythtvnz/</a><br>
</blockquote></div></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>