fix bug when clearing a future scheduled PVR session
This commit is contained in:
parent
df14b82ef7
commit
1f3044f3c6
1 changed files with 6 additions and 0 deletions
6
htmlui.c
6
htmlui.c
|
@ -713,6 +713,7 @@ page_event(http_connection_t *hc, const char *remain, void *opaque)
|
|||
return HTTP_STATUS_UNAUTHORIZED;
|
||||
}
|
||||
pvr_clear(pvrr);
|
||||
pvrr = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
@ -764,6 +765,11 @@ page_event(http_connection_t *hc, const char *remain, void *opaque)
|
|||
if(html_verify_access(hc, "record-events")) {
|
||||
switch(pvrstatus) {
|
||||
case HTSTV_PVR_STATUS_SCHEDULED:
|
||||
tcp_qprintf(&tq,
|
||||
"<input type=\"submit\" class=\"knapp\" name=\"clear\" "
|
||||
"value=\"Remove schedule\">");
|
||||
break;
|
||||
|
||||
case HTSTV_PVR_STATUS_RECORDING:
|
||||
tcp_qprintf(&tq,
|
||||
"<input type=\"submit\" class=\"knapp\" name=\"cancel\" "
|
||||
|
|
Loading…
Add table
Reference in a new issue