diff --git a/htmlui.c b/htmlui.c index eca54a37..d1ab8c0a 100644 --- a/htmlui.c +++ b/htmlui.c @@ -442,8 +442,11 @@ page_root(http_connection_t *hc, const char *remain, void *opaque) ch->ch_tag, ch->ch_name); if(tvheadend_streaming_host != NULL) { - tcp_qprintf(&tq, "Watch live
", + tcp_qprintf(&tq, + "Watch live
", tvheadend_streaming_host, http_port, ch->ch_sname); + } else { + tcp_qprintf(&tq, "
"); } e = epg_event_find_current_or_upcoming(ch);