Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdhelp: add tab specific button table to bouquets doc for force scan …
…mdhelp: slightly change new mux discovery option text mdhelp: hide list for autodiscovery property in mpegts_network_class replace with network_discovery markdown doc
  • Loading branch information
Mark Clarkstone authored and perexg committed Jun 4, 2016
1 parent d3f8852 commit 189dcb6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/class/bouquet.md
Expand Up @@ -21,6 +21,12 @@ listen to the specific MPEG-TS PIDs.

<tvh_include>inc/common_button_table_end</tvh_include>

The following tab specific buttons are available:

Button | Function
---------------|---------
**Force Scan** | Rescan the selected mux for changes to the bouquet.

---

<tvh_include>inc/add_grid_entry</tvh_include>
Expand Down
7 changes: 7 additions & 0 deletions docs/property/network_discovery.md
@@ -0,0 +1,7 @@
:

Option | Description
-------------------------------|------------
**Disable** | Disable mux discovery.
**New muxes only** | Discover new muxes only.
**New muxes + changed muxes** | Discover new muxes and changes to existing muxes.
6 changes: 4 additions & 2 deletions src/input/mpegts/mpegts_network.c
Expand Up @@ -135,12 +135,13 @@ mpegts_network_discovery_enum ( void *o, const char *lang )
static const struct strtab tab[] = {
{ N_("Disable"), MN_DISCOVERY_DISABLE },
{ N_("New muxes only"), MN_DISCOVERY_NEW },
{ N_("New muxes + change muxes"), MN_DISCOVERY_CHANGE },
{ N_("New muxes + changed muxes"), MN_DISCOVERY_CHANGE },
};
return strtab2htsmsg(tab, 1, lang);
}

CLASS_DOC(mpegts_network)
PROP_DOC(network_discovery)

const idclass_t mpegts_network_class =
{
Expand Down Expand Up @@ -182,9 +183,10 @@ const idclass_t mpegts_network_class =
.name = N_("Network discovery"),
.desc = N_("Discover more muxes using the Network "
"Information Table (if available)."),
.doc = prop_doc_network_discovery,
.off = offsetof(mpegts_network_t, mn_autodiscovery),
.list = mpegts_network_discovery_enum,
.opts = PO_ADVANCED,
.opts = PO_ADVANCED | PO_DOC_NLIST,
.def.i = MN_DISCOVERY_NEW
},
{
Expand Down

0 comments on commit 189dcb6

Please sign in to comment.