]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
DVR: autorec - implement record per month - missing code, fixes #4216
authorJaroslav Kysela <perex@perex.cz>
Wed, 8 Feb 2017 12:49:53 +0000 (13:49 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 8 Feb 2017 12:49:53 +0000 (13:49 +0100)
src/dvr/dvr_autorec.c
src/dvr/dvr_db.c

index 7c184157524c2d6f48c96d815aec561ecad39317..290ebe004f5536acf2f42f0a65f6af11ce3025ea 100644 (file)
@@ -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"),
index ffa16062d5edc25023b44dbafdaee9d21bd36ea2..c31f14bee94d71b640183275803b2c94bf5ab8b4 100644 (file)
@@ -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: