Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdhelp: add runningstate (EITp/f) doc
  • Loading branch information
Mark Clarkstone authored and perexg committed Aug 17, 2016
1 parent dd8dbeb commit 988a268
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
17 changes: 17 additions & 0 deletions 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.
6 changes: 3 additions & 3 deletions src/channels.c
Expand Up @@ -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",
Expand Down Expand Up @@ -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,
Expand Down
7 changes: 4 additions & 3 deletions src/dvr/dvr_config.c
Expand Up @@ -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",
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 988a268

Please sign in to comment.