[mythtv-users] myth protocol or backend API docs/examples?

Greg Estabrooks greg at phaze.org
Thu Nov 3 12:25:00 EST 2005


>   I wish to cobble up a commandline script that can report tuner status, 
>   much the same way as MythWeb does, so I can direct it to lcdproc.

 Actually it's built in.   Just telnet to the status port (default is 6544 but you can check the database to verify) and do a GET /


mythtv at woop:~$ telnet localhost 6544
Trying 127.0.0.1...^M
Connected to localhost.^M
Escape character is '^]'.^M
GET /
HTTP/1.0 200 Ok
Content-Type: text/html; charset="UTF-8"

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type"content="text/html; charset=UTF-8" />

--------SNIP-----------









More information about the mythtv-users mailing list