[mythtv-users] upnp clients mythshutdown

Craig Huff huffcslists at gmail.com
Tue Dec 14 15:00:31 UTC 2010


Write a custom shell script to perform whatever test can detect the remote
connection is active. If it is not active AND the original
mythshutdown_check (not the right name, but you get the idea) returns with
the code for OK to shutdown, then return to caller the same value.  Change
MythWelcome setting to call your new script instead of mythshutdown_check.
Problem solved (if you can find a way to detect the upnp connection - maybe
just assume if device can be pinged BE should stay up?).

Craig.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101214/766660c5/attachment.htm>


More information about the mythtv-users mailing list