Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdhelp: add markdown description for dvrentry tooltips: update channe…
…lname and channel property descriptions to differentiate them
  • Loading branch information
Mark Clarkstone authored and perexg committed Apr 5, 2016
1 parent 6997e59 commit ca63491
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
12 changes: 12 additions & 0 deletions docs/class/dvrentry.md
@@ -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.
9 changes: 6 additions & 3 deletions src/dvr/dvr_db.c
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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),
Expand Down

0 comments on commit ca63491

Please sign in to comment.