diff --git a/htmlui.c b/htmlui.c index fb643342..6963a740 100644 --- a/htmlui.c +++ b/htmlui.c @@ -56,6 +56,17 @@ static struct strtab recstatustxt[] = { { "Buffer error", HTSTV_PVR_STATUS_BUFFER_ERROR }, }; +static struct strtab recintstatustxt[] = { + { "Stopped", PVR_REC_STOP }, + { "Waiting for transponder", PVR_REC_WAIT_SUBSCRIPTION }, + { "Waiting for program start", PVR_REC_WAIT_FOR_START }, + { "Waiting for valid audio frames", PVR_REC_WAIT_AUDIO_LOCK }, + { "Waiting for valid video frames", PVR_REC_WAIT_VIDEO_LOCK }, + { "Recording", PVR_REC_RUNNING }, + { "Commercial break", PVR_REC_COMMERCIAL } +}; + + static struct strtab recstatuscolor[] = { { "#3333aa", HTSTV_PVR_STATUS_SCHEDULED }, { "#aa3333", HTSTV_PVR_STATUS_RECORDING }, @@ -303,7 +314,7 @@ top_menu(http_connection_t *hc, tcp_queue_t *tq) tcp_qprintf(tq, "