[mythtvnz] mythtv-status
Karl -skooobie
skooobie at gmail.com
Thu Sep 8 22:31:42 BST 2016
So, there is a small bug. Andrew will be releasing a new version in the
next few weeks plus adding some other small fixes along the way. The
workaround if you want to use the YAML file is to search in mythtv-status
for the first occurrence of "encoder_skip_idle" and change the "||" to a
"//"
On 9 September 2016 at 07:11, Karl -skooobie <skooobie at gmail.com> wrote:
> 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.
>
> On 9 September 2016 at 03:27, Karl -skooobie <skooobie at gmail.com> wrote:
>
>> can you try other config keys, such as colour:0 ? Do you see greens and
>> reds?
>>
>> Here's my process:
>>
>> kh at kh:~$sudo touch ~/mythtv-status.yml
>> kh at kh:~$sudo chmod 775 mythtv-status.yml
>> kh at kh:~$echo 'encoder_skip_idle: 0' >> ~/mythtv-status.yml
>> kh at kh:~$echo 'colour: 1' >> ~/mythtv-status.yml
>> kh at kh:~$echo 'encoder_details: 0' >> ~/mythtv-status.yml
>> kh at kh:~$ cat mythtv-status.yml
>> encoder_skip_idle: 0
>> colour: 1
>> encoder-details: 1
>>
>>
>>
>> On 9 September 2016 at 02:39, Karl -skooobie <skooobie at gmail.com> wrote:
>>
>>> It can go in any of the following locations:
>>>
>>> mythtv-status.yml (current directory)
>>> ~/mythtv-status.yml
>>> /etc/mythtv-status.yml
>>> /usr/local/etc/mythtv-status.yml
>>> .mythtv-status.yml
>>> ~/.mythtv-status.yml
>>> /etc/.mythtv-status.yml
>>> /usr/local/etc/.mythtv-status.yml
>>>
>>> Make the file readable with permissions of course.
>>>
>>> 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:
>>>
>>> alias ms='mythtv-status --noencoder-skip-idle --colour --encoder-details'
>>>
>>> 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...
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *kh at kh:~$ msMythTV status for
>>> localhost===========================Status..........: 2016-09-09
>>> 02:33:17Total Disk Space: Total space is 465.8 GB, with 137.4 GB used
>>> (29.5%)Encoders:kh (9) - Watching LiveTVkh (10) - Idlekh (11) - Idlekh (12)
>>> - IdleRecording Now:Infomercial (TV ONE, Enc: 9, Chan: 1) Ends:
>>> 05:35:00Scheduled Recordings:2016-09-09 19:30:00 - Enc: 9, Chan: 2 - The
>>> Voice Australia (TV2)2016-09-10 13:30:00 - Enc: 9, Chan: 3 - Married At
>>> First Sight USA (TV3)2016-09-10 18:30:00 - Enc: 9, Chan: 10 - David
>>> Attenborough's (PRIME)2016-09-10 19:00:00 - Enc: 11, Chan: 1 - Hyundai
>>> Country Calendar (TV ONE)2016-09-10 19:00:00 - Enc: 9, Chan: 3 - Johnny
>>> English (TV3)*
>>> 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'
>>>
>>> Cheers, Karl
>>>
>>>
>>> On 8 September 2016 at 21:57, Austin Green <austin.green at orcon.net.nz>
>>> wrote:
>>>
>>>> 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)
>>>> Austin.
>>>>
>>>> On Thu, 8 Sep 2016 16:58:32 +1200
>>>> Karl -skooobie <skooobie at gmail.com> wrote:
>>>> > ... you 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:
>>>> > encoder_skip_idle: 0
>>>>
>>>> _______________________________________________
>>>> mythtvnz mailing list
>>>> mythtvnz at lists.linuxnut.co.nz
>>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20160909/4c11bb0f/attachment.html>
More information about the mythtvnz
mailing list