<div dir="ltr"><div><div>I must be missing something with the logic in 0.27 mythshutdown.<br><br></div>My MBE is recording (encoder 14), my SBE (encoder 18) is not and there are no upcoming recordings on the SBE. I run mythshutdown on the SBE and it returns Recording in progress...<br>
<br></div>But I don't understand why. Seems like since the SBE isn't recording and should be allowed to shutdown<br><div><div><div>Looks like mythshutdown is blindly checking all encoders instead of 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 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 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 36 QUERY_REMOTEENCODER 14[]:[]GET_STATE<br>2014-04-11 18:56:18.795512 I MythSocket(18bd820:17): read <- 17 1 7<br>
<br><br></div><div>Full log is here: <a href="http://pastebin.com/MZMwLSgr">http://pastebin.com/MZMwLSgr</a><br><br></div><div>More than happy to work on patch if it would help...<br></div><div><br></div><div>Thanks<br>Dave<br>
</div></div></div></div>