[mythtv-users] CLI access to tuner status?

Bill Meek keemllib at gmail.com
Sat Jan 25 22:50:06 UTC 2014


On 01/25/2014 04:10 PM, Chris Lewis wrote:
> On Jan 25, 2014 9:57 PM, "Greg Woods" <greg at gregandeva.net> wrote:
...
>> I want to run a script periodically that checks to see if the HD-PVR is
>> working (cat from the device for a few seconds, see if it got any data).
>> Then I am thinking of purchasing a USB-controllable power strip so that
>> I could power cycle when needed. The catch of course is that I don't
>> want to end up power cycling while there is a recording in progress, so
>> I need a way to check this before mucking about with the HD-PVR.
>>
>> Thanks,
>> --Greg
>>
>
> Can you parse the mythweb status page?

Something like this: http://pastebin.com/Ydh52pw9

-- 
Bill


More information about the mythtv-users mailing list