]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
htsp server: add hbbtv info to the channel/service description
authorJaroslav Kysela <perex@perex.cz>
Mon, 22 May 2017 11:58:58 +0000 (13:58 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 22 May 2017 11:58:58 +0000 (13:58 +0200)
src/htsp_server.c

index b1fe329d42400d93ebc42ebfcb495edd2f1f6927..7d12eaac7a38a5c690136de1e0337485621c0803 100644 (file)
@@ -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);
   }