From: Jaroslav Kysela Date: Mon, 27 Oct 2014 18:48:18 +0000 (+0100) Subject: DVR: NOSTATE belogs to the upcoming recordings - user is allowed to edit it, fixes... X-Git-Tag: v4.1~883 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e0908cc7fe399fb27b9a77f61720fdd118f453f;p=thirdparty%2Ftvheadend.git DVR: NOSTATE belogs to the upcoming recordings - user is allowed to edit it, fixes #2426 --- diff --git a/src/api/api_dvr.c b/src/api/api_dvr.c index ce5a54fca..716e4ea9c 100644 --- a/src/api/api_dvr.c +++ b/src/api/api_dvr.c @@ -69,7 +69,7 @@ static int is_dvr_entry_finished(dvr_entry_t *entry) static int is_dvr_entry_upcoming(dvr_entry_t *entry) { dvr_entry_sched_state_t state = entry->de_sched_state; - return state == DVR_RECORDING || state == DVR_SCHEDULED; + return state == DVR_RECORDING || state == DVR_SCHEDULED || state == DVR_NOSTATE; } static int is_dvr_entry_failed(dvr_entry_t *entry)