From: Jaroslav Kysela Date: Mon, 22 May 2017 11:58:58 +0000 (+0200) Subject: htsp server: add hbbtv info to the channel/service description X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3579cb023393f523d6c84f200fe930bedff35f4;p=thirdparty%2Ftvheadend.git htsp server: add hbbtv info to the channel/service description --- diff --git a/src/htsp_server.c b/src/htsp_server.c index b1fe329d4..7d12eaac7 100644 --- a/src/htsp_server.c +++ b/src/htsp_server.c @@ -856,6 +856,11 @@ htsp_build_channel(channel_t *ch, const char *method, htsp_connection_t *htsp) htsmsg_add_u32(svcmsg, "caid", 65535); htsmsg_add_str(svcmsg, "caname", tvh_gettext_lang(htsp->htsp_language, N_("Encrypted service"))); } + + /* HbbTv */ + if (t->s_hbbtv) + htsmsg_add_msg(svcmsg, "hbbtv", htsmsg_copy(t->s_hbbtv)); + htsmsg_add_msg(services, NULL, svcmsg); }