diff --git a/htmlui.c b/htmlui.c index 62a4904d..c57261db 100644 --- a/htmlui.c +++ b/htmlui.c @@ -971,20 +971,28 @@ page_pvr(http_connection_t *hc, const char *remain, void *opaque) "border-bottom-width:thin; border-bottom-style:solid\">", divid, pvrr_tgt == pvrr ? "block" : "none"); - tcp_qprintf(&tq, - "
" - "" - "Filename:" - "%s
", + tcp_qprintf(&tq, + ""); + + tcp_qprintf(&tq, + "" + "" + "", pvrr->pvrr_filename ?: "not set"); - tcp_qprintf(&tq, - "
" - "" - "Recorder status:" - "%s
", + tcp_qprintf(&tq, + "" + "" + "", val2str(pvrr->pvrr_rec_status, recintstatustxt) ?: "invalid"); + tcp_qprintf(&tq, + "
" + "Filename:" + "%s
" + "Recorder status:" + "%s
"); switch(pvrr->pvrr_status) { case HTSTV_PVR_STATUS_SCHEDULED: