<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 03/06/2017 12:21 AM, Marc Rawji
wrote:<br>
</div>
<blockquote
cite="mid:CAJ14JXoGmruGRHpZKhhQB8TOBQ-DSs8DUi=zguBaR7cP-jJn2Q@mail.gmail.com"
type="cite">
<div class="gmail_extra">Thanks Bill. Yeah, it's not a Frontend,
so no Frontend API to query. I have multiple tablets with Kodi
on them that I am using to view my recordings. I have a script
that turns off my backend if it's idle. I am looking for a way
to detect when my backend is sending content to one of my
tablets to keep it from shutting down.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Thanks,</div>
<div class="gmail_extra">Marc</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
</div>
</blockquote>
The backend already has the feature built in. If you set "Idle
shutdown timeout" in mythtv-setup, it will automatically shut down
the server when idle using the "server halt command" that you
specify. Is there some reason this does not work for you?<br>
<br>
Peter<br>
</body>
</html>