<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.<wbr>yml<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<br><br>MythTV status for localhost<br>===========================<br>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><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>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 class="gmail-im"><br></span></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">skooobie@gmail.com</a>> wrote:<br>
> ... you can use --noencoder-skip-idle on the command line, or if you have a config<br>
<span class="im HOEnZb">> file called mythtv-status.yml have a setting like this:<br>
> encoder_skip_idle: 0<br>
<br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" rel="noreferrer" target="_blank">http://lists.ourshack.com/<wbr>mailman/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" rel="noreferrer" target="_blank">http://www.gossamer-threads.<wbr>com/lists/mythtv/mythtvnz/</a><br>
</div></div></blockquote></div><br></div>