Skip to content

Commit 267aef1

Browse files
ksoooFlole998
authored andcommitted
HTSP: Expose service provider name with channel information.
1 parent f20e38d commit 267aef1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎src/htsp_server.c‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
static void *htsp_server, *htsp_server_2;
5353

54-
#define HTSP_PROTO_VERSION 37
54+
#define HTSP_PROTO_VERSION 38
5555

5656
#define HTSP_ASYNC_OFF 0x00
5757
#define HTSP_ASYNC_ON 0x01
@@ -906,6 +906,9 @@ htsp_build_channel(channel_t *ch, const char *method, htsp_connection_t *htsp)
906906
if (t->s_hbbtv)
907907
htsmsg_add_msg(svcmsg, "hbbtv", htsmsg_copy(t->s_hbbtv));
908908

909+
/* Provider */
910+
htsmsg_add_str2(svcmsg, "providername", t->s_provider_name(t));
911+
909912
htsmsg_add_msg(services, NULL, svcmsg);
910913
}
911914

0 commit comments

Comments
 (0)