From: Jaroslav Kysela Date: Wed, 8 Feb 2017 12:49:53 +0000 (+0100) Subject: DVR: autorec - implement record per month - missing code, fixes #4216 X-Git-Tag: v4.2.1~124 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0631ea414e918579469dcdd33cb85e5144aeba1;p=thirdparty%2Ftvheadend.git DVR: autorec - implement record per month - missing code, fixes #4216 --- diff --git a/src/dvr/dvr_autorec.c b/src/dvr/dvr_autorec.c index 7c1841575..290ebe004 100644 --- a/src/dvr/dvr_autorec.c +++ b/src/dvr/dvr_autorec.c @@ -942,6 +942,8 @@ dvr_autorec_entry_class_dedup_list ( void *o, const char *lang ) DVR_AUTOREC_RECORD_DIFFERENT_SUBTITLE }, { N_("All: Record if different description"), DVR_AUTOREC_RECORD_DIFFERENT_DESCRIPTION }, + { N_("All: Record once per month"), + DVR_AUTOREC_RECORD_ONCE_PER_MONTH }, { N_("All: Record once per week"), DVR_AUTOREC_RECORD_ONCE_PER_WEEK }, { N_("All: Record once per day"), @@ -954,6 +956,8 @@ dvr_autorec_entry_class_dedup_list ( void *o, const char *lang ) DVR_AUTOREC_LRECORD_DIFFERENT_SUBTITLE }, { N_("Local: Record if different description"), DVR_AUTOREC_LRECORD_DIFFERENT_DESCRIPTION }, + { N_("Local: Record once per month"), + DVR_AUTOREC_LRECORD_ONCE_PER_MONTH }, { N_("Local: Record once per week"), DVR_AUTOREC_LRECORD_ONCE_PER_WEEK }, { N_("Local: Record once per day"), diff --git a/src/dvr/dvr_db.c b/src/dvr/dvr_db.c index ffa16062d..c31f14bee 100644 --- a/src/dvr/dvr_db.c +++ b/src/dvr/dvr_db.c @@ -1341,6 +1341,9 @@ static dvr_entry_t *_dvr_duplicate_event(dvr_entry_t *de) case DVR_AUTOREC_RECORD_ONCE_PER_WEEK: case DVR_AUTOREC_LRECORD_ONCE_PER_WEEK: break; + case DVR_AUTOREC_RECORD_ONCE_PER_MONTH: + case DVR_AUTOREC_LRECORD_ONCE_PER_MONTH: + break; case DVR_AUTOREC_LRECORD_DIFFERENT_TITLE: break; default: