Skip to content

Commit

Permalink
HTSP: Expose service provider name with channel information.
Browse files Browse the repository at this point in the history
  • Loading branch information
ksooo authored and Flole998 committed Aug 22, 2024
1 parent f20e38d commit 267aef1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/htsp_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

static void *htsp_server, *htsp_server_2;

#define HTSP_PROTO_VERSION 37
#define HTSP_PROTO_VERSION 38

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

/* Provider */
htsmsg_add_str2(svcmsg, "providername", t->s_provider_name(t));

htsmsg_add_msg(services, NULL, svcmsg);
}

Expand Down

0 comments on commit 267aef1

Please sign in to comment.