[mythtv-users] Ceton infinitv 6 Eth & mythtv?

Ronald Frazier ron at ronfrazier.net
Sun Aug 18 11:15:36 UTC 2013


On Sun, Aug 18, 2013 at 12:51 AM, Matt Mossholder <matt at mossholder.com>wrote:

> I think I have it figured out... the regex cetonstreamhandler.cpp 's
> GetVar function doesn't match the response code to the GET
> /get_var?i=5&s=tuner&v=CarrierLock call to the tuner. The Eth 6's
> response looks like this:
>
> <html><style>body.get {font-family: Verdana, Helvetica, Arial;
> padding: 0px; margin: 0px; background-color: #DDE2E6;}</style><body
> class="get">1</body></html>
>
> From the code, it looks like the other Ceton devices hand back
> something that looks JSONy. Testing my theory now...
>
>      --Matt


get_var will return HTML, while get_var.json will return JSON. My code for
the ceton should always be using get_var.json, so there should be no
problem. I assume you were just poking around by hand and didn't notice the
distinction.

Also, remember that mailing-list rules say no top-posting. Put your reply
below the quoted text, not above.

---
Ron Frazier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130818/79a4a15f/attachment.html>


More information about the mythtv-users mailing list