]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mdhelp: add markdown description for dvrentry tooltips: update channelname and channe...
authorMark Clarkstone <hello@markclarkstone.co.uk>
Tue, 5 Apr 2016 01:53:54 +0000 (02:53 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 5 Apr 2016 10:58:56 +0000 (12:58 +0200)
docs/class/dvrentry.md [new file with mode: 0644]
src/dvr/dvr_db.c

diff --git a/docs/class/dvrentry.md b/docs/class/dvrentry.md
new file mode 100644 (file)
index 0000000..646047b
--- /dev/null
@@ -0,0 +1,12 @@
+The DVR entry is used by Tvheadend to keep track of the upcoming, 
+finished and failed recordings.
+
+* Upcoming and currently recording entries remain in the 'Upcoming/ 
+Current Recordings' tab.
+* When a recording completes successfully the entry gets moved to the 
+'Finished recordings' tab.
+* When a recording fails or is aborted it gets moved to the 'Failed 
+recordings' tab.
+
+Some entry details are not available/incomplete until the recording 
+completes or fails, e.g. filesize, total data errors, etc.
index 7ea22f1a72778ac9d134cbf06cfdd36d38bcc750..cb3d038b22136128a102ddfc9f7ea71e6ac4789e 100644 (file)
@@ -2809,10 +2809,13 @@ dvr_entry_class_content_type_list(void *o, const char *lang)
   return m;
 }
 
+extern const char *tvh_doc_dvrentry_class[];
+
 const idclass_t dvr_entry_class = {
   .ic_class     = "dvrentry",
-  .ic_caption   = N_("DVR entry"),
+  .ic_caption   = N_("DVR Entry"),
   .ic_event     = "dvrentry",
+  .ic_doc       = tvh_doc_dvrentry_class,
   .ic_changed   = dvr_entry_class_changed,
   .ic_save      = dvr_entry_class_save,
   .ic_get_title = dvr_entry_class_get_title,
@@ -2903,7 +2906,7 @@ const idclass_t dvr_entry_class = {
       .type     = PT_STR,
       .id       = "channel",
       .name     = N_("Channel"),
-      .desc     = N_("The channel to be used/used for the recording."),
+      .desc     = N_("The channel name the entry will record from."),
       .set      = dvr_entry_class_channel_set,
       .get      = dvr_entry_class_channel_get,
       .rend     = dvr_entry_class_channel_rend,
@@ -2922,7 +2925,7 @@ const idclass_t dvr_entry_class = {
       .type     = PT_STR,
       .id       = "channelname",
       .name     = N_("Channel name"),
-      .desc     = N_("Name of channel used for the recording."),
+      .desc     = N_("Name of channel the entry recorded from."),
       .get      = dvr_entry_class_channel_name_get,
       .set      = dvr_entry_class_channel_name_set,
       .off      = offsetof(dvr_entry_t, de_channel_name),