<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 11, 2014 at 8:12 PM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hoi Dave,<br>
<div><div class="h5"><br>
Saturday, April 12, 2014, 1:47:50 AM, you wrote:<br>
<br>
> I must be missing something with the logic in 0.27 mythshutdown.<br>
<br>
<br>
> My MBE is recording (encoder 14), my SBE (encoder 18) is not and<br>
> there are no upcoming recordings on the SBE. I run mythshutdown on<br>
> the SBE and it returns Recording in progress...<br>
<br>
<br>
> But I don't understand why. Seems like since the SBE isn't<br>
> recording and should be allowed to shutdown<br>
<br>
> Looks like mythshutdown is blindly checking all encoders instead of<br>
> the just the encoder on the BE its being run on:<br>
><br>
> 2014-04-11 18:56:18.793603 D MSqlQuery::exec(DBManager1) SELECT<br>
> cardid FROM capturecard ORDER BY cardid <<<< Returns 6 row(s)<br>
> 2014-04-11 18:56:18.793645 D MSqlQuery::next(DBManager1) Result: "cardid = 8"<br>
> 2014-04-11 18:56:18.793703 D MSqlQuery::next(DBManager1) Result: "cardid = 14"<br>
> 2014-04-11 18:56:18.793718 D MSqlQuery::next(DBManager1) Result: "cardid = 15"<br>
> 2014-04-11 18:56:18.793727 D MSqlQuery::next(DBManager1) Result: "cardid = 16"<br>
> 2014-04-11 18:56:18.793735 D MSqlQuery::next(DBManager1) Result: "cardid = 17"<br>
> 2014-04-11 18:56:18.793744 D MSqlQuery::next(DBManager1) Result: "cardid = 18"<br>
> 2014-04-11 18:56:18.793870 I MythSocket(18bd820:17): write -> 17<br>
> 35 QUERY_REMOTEENCODER 8[]:[]GET_STATE<br>
> 2014-04-11 18:56:18.795022 I MythSocket(18bd820:17): read <- 17 1 0<br>
> 2014-04-11 18:56:18.795150 I MythSocket(18bd820:17): write -> 17<br>
> 36 QUERY_REMOTEENCODER 14[]:[]GET_STATE<br>
> 2014-04-11 18:56:18.795512 I MythSocket(18bd820:17): read <- 17 1<br>
><br>
<br>
<br>
<br>
</div></div><div class="">> Full log is here: <a href="http://pastebin.com/MZMwLSgr" target="_blank">http://pastebin.com/MZMwLSgr</a><br>
<br>
<br>
<br>
> More than happy to work on patch if it would help...<br>
<br>
<br>
</div>Isn't the SBE running the commercialcheck for the recording on the<br>
MBE.<br>
<br>
</blockquote></div><br></div><div class="gmail_extra">Think I have all jobs disabled on this SBE, but I will confirm<br></div></div>