<div dir="ltr">Actually after checking I can see the YAML variables being used for colour and encode_details but not the encoder_skip_idle. When I used the command line it is okay and all three get used, just not with myth-status.yml. I've raised this question with Andrew.</div><div class="gmail_extra"><br><div class="gmail_quote">On 9 September 2016 at 03:27, 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"><div><div>can you try other config keys, such as colour:0 ? Do you see greens and reds?<br><br></div>Here's my process:<br><br>kh@kh:~$sudo touch ~/mythtv-status.yml<br>kh@kh:~$sudo chmod 775 mythtv-status.yml<br>kh@kh:~$echo 'encoder_skip_idle: 0' >> ~/mythtv-status.yml<br>kh@kh:~$echo 'colour: 1' >> ~/mythtv-status.yml<br>kh@kh:~$echo 'encoder_details: 0' >> ~/mythtv-status.yml<br></div>kh@kh:~$ cat mythtv-status.yml <br>encoder_skip_idle: 0<br>colour: 1<br>encoder-details: 1<br><br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 9 September 2016 at 02:39, 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"><div>It can go in any of the following locations:<br>
<br>
mythtv-status.yml (current directory)<br>
~/mythtv-status.yml<br>
/etc/mythtv-status.yml<br>
/usr/local/etc/mythtv-status.y<wbr>ml<br>
.mythtv-status.yml<br>
~/.mythtv-status.yml<br>
/etc/.mythtv-status.yml<br>
/usr/local/etc/.mythtv-status.<wbr>yml<br><br></div><div>Make the file readable with permissions of course.<br><br></div><div>On a side note I found it easier to make an alias of the command, which makes launching and adding extra info simple and much faster to execute. To do this simply edit the ~/.bashrc file or ~/.bash_aliases if you want all of your aliases in a separate file, then add this line:<br><br>alias ms='mythtv-status --noencoder-skip-idle --colour --encoder-details'<br><br></div><div>You need to restart for bash to know these alias but it will now be permanent and you can simply enter ms at the prompt. The cool thing with adding these extra switches, like noencoder-skip-idle and --colour and --encoder-details is that is looks nicer and provides a nice level of detail. Here's mine, with my new 'ms' alias...<br><br><b>kh@kh:~$ ms<span><br><br>MythTV status for localhost<br>===========================<br></span>Status..........: 2016-09-09 02:33:17<br>Total Disk Space: Total space is 465.8 GB, with 137.4 GB used (<span style="color:rgb(0,255,0)">29.5%</span>)<br><br>Encoders:<br>kh (9) - <span style="color:rgb(255,0,0)"><span style="background-color:rgb(255,255,255)">Watching LiveTV</span></span><span><br>kh (10) - <span style="color:rgb(0,255,0)">Idle</span><br>kh (11) - <span style="color:rgb(0,255,0)">Idle</span><br>kh (12) - <span style="color:rgb(0,255,0)">Idle</span><br><br></span>Recording Now:<br>Infomercial (TV ONE, Enc: 9, Chan: 1) Ends: 05:35:00<br><br>Scheduled Recordings:<br>2016-09-09 19:30:00 - Enc: 9, Chan: 2 - The Voice Australia (TV2)<br>2016-09-10 13:30:00 - Enc: 9, Chan: 3 - Married At First Sight USA (TV3)<br>2016-09-10 18:30:00 - Enc: 9, Chan: 10 - David Attenborough's (PRIME)<br>2016-09-10 19:00:00 - Enc: 11, Chan: 1 - Hyundai Country Calendar (TV ONE)<br>2016-09-10 19:00:00 - Enc: 9, Chan: 3 - Johnny English (TV3)<br></b><br></div><div>You can also now add a shortcut on Unity if you use Ubuntu flavour by adding a *.desktop to /usr/share/Applications and then specifying the Terminal=True command. But I like just Ctrl-Alt-T and then 'ms'<br></div><div><br></div><div>Cheers, Karl<br></div><div>
<span><br></span></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 8 September 2016 at 21:57, Austin Green <span dir="ltr"><<a href="mailto:austin.green@orcon.net.nz" target="_blank">austin.green@orcon.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The --noencoder-skip-idle flag works on mine, but not the mythtv-status.yml file - where should that live? Tried it in my home directory, no effect. Not obvious from the Perl script (I'm not familiar with Perl)<br>
Austin.<br>
<br>
On Thu, 8 Sep 2016 16:58:32 +1200<br>
Karl -skooobie <<a href="mailto:skooobie@gmail.com" target="_blank">skooobie@gmail.com</a>> wrote:<br>
> ... you can use --noencoder-skip-idle on the command line, or if you have a config<br>
<span>> file called  mythtv-status.yml have a setting like this:<br>
> encoder_skip_idle: 0<br>
<br>
</span><div><div>______________________________<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>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>