diff --git a/htmlui.c b/htmlui.c index 6f5e08a5..16b064b1 100644 --- a/htmlui.c +++ b/htmlui.c @@ -99,7 +99,8 @@ pvrstatus_to_html(tv_pvr_status_t pvrstatus, const char **text, static void -html_header(tcp_queue_t *tq, const char *title, int javascript, int width) +html_header(tcp_queue_t *tq, const char *title, int javascript, int width, + int autorefresh) { char w[30]; @@ -116,6 +117,11 @@ html_header(tcp_queue_t *tq, const char *title, int javascript, int width) "\r\n", title); + if(autorefresh) + tcp_qprintf(tq, + "\r\n", + autorefresh); + tcp_qprintf(tq, "