]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mdhelp: add markdown for autorec/timerec/dvrconfig
authorJaroslav Kysela <perex@perex.cz>
Wed, 6 Apr 2016 18:19:23 +0000 (20:19 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 6 Apr 2016 18:19:23 +0000 (20:19 +0200)
docs/class/dvrautorec.md [new file with mode: 0644]
docs/class/dvrconfig.md [new file with mode: 0644]
docs/class/dvrtimerec.md [new file with mode: 0644]
src/dvr/dvr_autorec.c
src/dvr/dvr_config.c
src/dvr/dvr_timerec.c

diff --git a/docs/class/dvrautorec.md b/docs/class/dvrautorec.md
new file mode 100644 (file)
index 0000000..09abfe8
--- /dev/null
@@ -0,0 +1,11 @@
+##Digital Video Recorder - Autorec
+
+This tab is used to create and maintain Digital Video Recorder rules.
+These can be EPG-driven (such as those created from the initial EPG tab)
+through the DVR AutoRec Entries tab , or can be timer-based through the
+Time Schedules tab.
+
+This tab controls EPG-driven recording rules.
+
+!['Autorec' Tab](docresources/dvrautorecentries.png)
+
diff --git a/docs/class/dvrconfig.md b/docs/class/dvrconfig.md
new file mode 100644 (file)
index 0000000..d504406
--- /dev/null
@@ -0,0 +1,8 @@
+##Configuration - Recording - Digital Video Recorder Profiles
+
+This tab is used to configure operation of the Digital Video Recorder.
+It is not used for scheduling or administration of individual
+recordings.
+
+!['Digital Video Recorder Profiles' Tab 1](docresources/configdvrtab.png)
+
diff --git a/docs/class/dvrtimerec.md b/docs/class/dvrtimerec.md
new file mode 100644 (file)
index 0000000..8ce9621
--- /dev/null
@@ -0,0 +1,10 @@
+##Digital Video Recorder - Time Schedules
+
+This tab is used to create and maintain Digital Video Recorder rules.
+These can be EPG-driven (such as those created from the initial EPG tab)
+through the DVR AutoRec Entries tab , or can be timer-based through the
+Time Schedules tab.
+
+This tab controls timer-driven recording rules.
+
+![Time Schedules Tab](docresources/timeschedules.png)
index b15fe0e068ac1d905924c70ef14cbc43f1d637dc..fdc28bfaffcc39cfb987c6e4fa3e7b4a065ba596 100644 (file)
@@ -978,10 +978,13 @@ dvr_autorec_entry_class_owner_opts(void *o)
   return PO_RDONLY | PO_ADVANCED;
 }
 
+extern const char *tvh_doc_dvrautorec_class[];
+
 const idclass_t dvr_autorec_entry_class = {
   .ic_class      = "dvrautorec",
   .ic_caption    = N_("DVR Auto-record entry"),
   .ic_event      = "dvrautorec",
+  .ic_doc        = tvh_doc_dvrautorec_class,
   .ic_changed    = dvr_autorec_entry_class_changed,
   .ic_save       = dvr_autorec_entry_class_save,
   .ic_get_title  = dvr_autorec_entry_class_get_title,
index 45f39013896c52fa3b4d8547341707ca6b1668e0..245ebdbb2ea4b0deb1990ad43eb3c8e2fe26a545 100644 (file)
@@ -791,10 +791,13 @@ dvr_config_class_pathname_set(void *o, const void *v)
   return 0;
 }
 
+extern const char *tvh_doc_dvrconfig_class[];
+
 const idclass_t dvr_config_class = {
   .ic_class      = "dvrconfig",
   .ic_caption    = N_("DVR configuration profile"),
   .ic_event      = "dvrconfig",
+  .ic_doc        = tvh_doc_dvrconfig_class,
   .ic_changed    = dvr_config_class_changed,
   .ic_save       = dvr_config_class_save,
   .ic_get_title  = dvr_config_class_get_title,
index 8ecb966e45d971729a2c51c32972d829a8010ff5..f7fa33ea4e7da904cf7cc3c546c44fcb6cdb941f 100644 (file)
@@ -514,10 +514,13 @@ dvr_timerec_entry_class_owner_opts(void *o)
   return PO_RDONLY | PO_ADVANCED;
 }
 
+extern const char *tvh_doc_dvrtimerec_class[];
+
 const idclass_t dvr_timerec_entry_class = {
   .ic_class      = "dvrtimerec",
   .ic_caption    = N_("DVR time record entry"),
   .ic_event      = "dvrtimerec",
+  .ic_doc        = tvh_doc_dvrtimerec_class,
   .ic_changed    = dvr_timerec_entry_class_changed,
   .ic_save       = dvr_timerec_entry_class_save,
   .ic_get_title  = dvr_timerec_entry_class_get_title,