[mythtv-users] Question about getting Myth Backend status
Brian Walter
blwalter at gmail.com
Thu May 17 13:55:41 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
> _______________________________________________
>
Thanks Mike!
For now, it's gonna be a once an hour check and if not busy, reboot.
MythWelcome is a frontend gui, right?
MythShutdown looks like the solution - basically returns a status code
if anything is going on.
Thanks,
Brian
More information about the mythtv-users
mailing list