<div dir="ltr">One last try... Does anyone know how to check (programatically) if a client (like Kodi) is streaming content via the API?<div><br></div><div>Thanks,</div><div>Marc</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 26, 2017 at 9:41 PM, Marc Rawji <span dir="ltr"><<a href="mailto:mrawji@gmail.com" target="_blank">mrawji@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 5, 2017 at 4:56 AM, Daniel Frey <span dir="ltr"><<a href="mailto:dmfrey@gmail.com" target="_blank">dmfrey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">you can do a HTTP GET to /Dvr/GetEncoderList. There is a Program object that indicates what the input is currently doing. You can determine from the as well if it is recording or watching live TV.</p>
<br><div class="gmail_quote"><div><div class="m_-7683691868375680139gmail-h5"><div dir="ltr">On Sat, Feb 4, 2017, 11:59 PM Marc Rawji <<a href="mailto:mrawji@gmail.com" target="_blank">mrawji@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_-7683691868375680139gmail-h5"><div dir="ltr" class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg">Hi Everyone,<div class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg"><br class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg"></div><div class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg">I am running a combined mythbackend / mythfrontend in my living room... I have a couple of Kodi clients on other hosts (like tablets). If I understand correctly, Kodi uses the API to gain access to the recordings.</div><div class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg"><br class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg"></div><div class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg">Is there a way that I can query the API to find out if there are any clients currently watching content via the API? </div><div class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg"><br class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg"></div><div class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg">Thanks,</div><div class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg">Marc</div></div></div></div><br class="m_-7683691868375680139gmail-m_-7425256423982552746gmail_msg"></blockquote></div>
<br></blockquote></div><br></div></span><div class="gmail_extra">Thanks Daniel... I just tried that and the response from that API is the same whether or not a client is playing something... am I using it wrong?</div><div class="gmail_extra"><br></div><div class="gmail_extra">I am calling it like this:</div><div class="gmail_extra">curl <a href="http://localhost:6544/Dvr/GetEncoderList" target="_blank">http://localhost:6544/Dvr/<wbr>GetEncoderList</a> | xmllint --format -<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Marc</div></div>
</blockquote></div><br></div>