From 988a268839af6b7dded6f39a27eeb284647db9f4 Mon Sep 17 00:00:00 2001 From: Mark Clarkstone Date: Thu, 23 Jun 2016 16:08:54 +0100 Subject: [PATCH] mdhelp: add runningstate (EITp/f) doc --- docs/property/runningstate.md | 17 +++++++++++++++++ src/channels.c | 6 +++--- src/dvr/dvr_config.c | 7 ++++--- 3 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 docs/property/runningstate.md diff --git a/docs/property/runningstate.md b/docs/property/runningstate.md new file mode 100644 index 000000000..c95337078 --- /dev/null +++ b/docs/property/runningstate.md @@ -0,0 +1,17 @@ +: + +EITp/f (Event Information Table present/following) allows broadcasters +to tell DVRs/STBs when a program actually starts, finishes or pauses, +unfortunately not all broadcasters get it right which can lead to +unexpected behavior, missing/failed recordings, etc.. + +It is recommended that you only enable this option if you're absolutely +sure your broadcaster sends the flags correctly and on time. +You can set this option per channel or per DVR profile, +enabling/disabling per channel overrides the DVR profile setting. + +Per Channel Option | Description +----------------------|------------ +**Not set** | Use DVR profile setting. +**Enabled** | Enable running state (EITp/f) detection. +**Disabled** | Don't use running state (EITp/f) detection. diff --git a/src/channels.c b/src/channels.c index 7f0a25f74..1eb5b1c57 100644 --- a/src/channels.c +++ b/src/channels.c @@ -359,6 +359,7 @@ channel_class_epg_running_list ( void *o, const char *lang ) } CLASS_DOC(channel) +PROP_DOC(runningstate) const idclass_t channel_class = { .ic_class = "channel", @@ -484,9 +485,8 @@ const idclass_t channel_class = { .name = N_("Use EPG running state"), .desc = N_("Use EITp/f to decide " "event start/stop. This is also known as " - "\"Accurate Recording\". Note that this can have " - "unexpected results if the broadcaster isn't very " - "good at time keeping."), + "\"Accurate Recording\". See Help for details."), + .doc = prop_doc_runningstate, .off = offsetof(channel_t, ch_epg_running), .list = channel_class_epg_running_list, .opts = PO_ADVANCED | PO_DOC_NLIST, diff --git a/src/dvr/dvr_config.c b/src/dvr/dvr_config.c index 18eac388b..4785d986a 100644 --- a/src/dvr/dvr_config.c +++ b/src/dvr/dvr_config.c @@ -797,6 +797,7 @@ PROP_DOC(postprocessor) PROP_DOC(postremove) PROP_DOC(pathname) PROP_DOC(cache_scheme) +PROP_DOC(runningstate) const idclass_t dvr_config_class = { .ic_class = "dvrconfig", @@ -996,9 +997,9 @@ const idclass_t dvr_config_class = { .id = "epg-running", .name = N_("Use EPG running state"), .desc = N_("Use EITp/f to decide event start/stop. This is " - "also known as \"Accurate Recording\". Note that " - "this can have unexpected results if the " - "broadcaster isn't very good at time keeping."), + "also known as \"Accurate Recording\". See Help " + "for details."), + .doc = prop_doc_runningstate, .off = offsetof(dvr_config_t, dvr_running), .opts = PO_ADVANCED, .def.u32 = 1, -- 2.47.3