<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Hi Bill!<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <blockquote type="cite"
      cite="mid:mailman.1.1634126402.15261.mythtv-users@mythtv.org">
      <pre class="moz-quote-pre" wrap="">Here's a command line version that does the last test in Stephen's
script that just sees if there's at lease one upcoming recording:

  $ curl --header Accept:application/JSON --silent yourBE:6544/Dvr/GetUpcomingList?Count=1 | json_pp - | grep '"Count"'

Which returns: "Count" : "1", if there's at least one upcoming recording.
That may be easier to do.</pre>
    </blockquote>
    <p><br>
    </p>
    <p> </p>
    <pre class="western"><font face="Liberation Sans Narrow, sans-serif"><font style="font-size: 12pt" size="3">YESSS!!!  This is certainly simpler, at least for what I’m wishing to do.  I’m guessing any result but ‘ <b>"Count" : "1",</b> ‘ means there’s a problem.  As a quick experiment changed the command’s <font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US">GetUpcomingList?Count=1 </span></font></font><font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US">to 0 (zero) and received ‘254’.   Tested with 9 and 99 and received those numbers back – 9</span></font></font><sup><font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US">th</span></font></font></sup><font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US"> and 99</span></font></font><sup><font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US">th</span></font></font></sup><font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US"> upcoming programmes maybe?  </span></font></font><font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US">Probably easier to stick with the expected result and anything else is considered an error.</span></font></font></font></font>

<font face="Liberation Sans Narrow, sans-serif"><font style="font-size: 12pt" size="3"><font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US">Barry </span></font></font></font></font>
</pre>
    <p>
      <style type="text/css">pre.cjk { font-family: "Courier New", monospace }p { margin-bottom: 0.1in; line-height: 115% }a:link { so-language: zxx }</style></p>
    <p><br>
    </p>
  </body>
</html>