htsp: provide webroot in htsp hello message.
This commit is contained in:
parent
4c681bd70e
commit
c13eb6e607
1 changed files with 2 additions and 0 deletions
|
@ -716,6 +716,8 @@ htsp_method_hello(htsp_connection_t *htsp, htsmsg_t *in)
|
|||
htsmsg_add_str(r, "servername", "HTS Tvheadend");
|
||||
htsmsg_add_str(r, "serverversion", tvheadend_version);
|
||||
htsmsg_add_bin(r, "challenge", htsp->htsp_challenge, 32);
|
||||
if (tvheadend_webroot)
|
||||
htsmsg_add_str(r, "webroot", tvheadend_webroot);
|
||||
|
||||
/* Capabilities */
|
||||
htsmsg_add_msg(r, "servercapability", tvheadend_capabilities_list(1));
|
||||
|
|
Loading…
Add table
Reference in a new issue