[mythtv-users] Question about getting Myth Backend status
Brian Walter
blwalter at gmail.com
Thu May 17 15:46:58 UTC 2007
Michael T. Dean wrote:
> On 05/17/2007 09:38 AM, Brian Walter wrote:
>
>> I need to write a program/script that will reboot the backend whenever
>> it is not 1) recording and 2) nothing is active in the job queue.
>>
>> Is there a module/script/?? that will return this, or, what values from
>> the DB do I query to find this information out?
>>
>
> wget 'http://mythhostname:6544/xml'
>
> If it's a "use every once in a while" script. For regularly shutting
> down or whatever, check out mythwelcome and mythshutdown.
>
> Mike
>
Turns out, mythshutdown does not check to see if recording? Upon
looking in the source, it only appears to check for spawned processes.
Is there a flag that I'm missing to also have it check for if the
recorder(s) is busy?
Brian
More information about the mythtv-users
mailing list