]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mdhelp: add satip server mux handling table.
authorMark Clarkstone <hello@markclarkstone.co.uk>
Tue, 24 May 2016 21:19:52 +0000 (22:19 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 27 May 2016 16:14:29 +0000 (18:14 +0200)
docs/property/satip_muxhandling.md [new file with mode: 0644]
src/satip/server.c

diff --git a/docs/property/satip_muxhandling.md b/docs/property/satip_muxhandling.md
new file mode 100644 (file)
index 0000000..e29f963
--- /dev/null
@@ -0,0 +1,7 @@
+:
+
+Option           | Description
+-----------------|------------
+**Auto**         | Keep the mux if it doesn't already exist.
+**Keep**         | Always keep the mux regardless of whether it exists or not.
+**Reject**       | Always reject.
index 967cd2e9c2ddc7d16535a062d4b826b3b3e2a645..946b6d5ff728c0792533683ae688662325799a53 100644 (file)
@@ -567,6 +567,7 @@ static htsmsg_t *satip_server_class_muxcfg_list ( void *o, const char *lang )
 }
 
 CLASS_DOC(satip_server)
+PROP_DOC(satip_muxhandling)
 
 const idclass_t satip_server_class = {
   .ic_snode      = (idnode_t *)&satip_server_conf,
@@ -652,14 +653,12 @@ const idclass_t satip_server_class = {
       .type   = PT_INT,
       .id     = "satip_muxcnf",
       .name   = N_("Mux handling"),
-      .desc   = N_("Select how Tvheadend should handle muxes. "
-                   "Auto = accept the mux if it "
-                   "doesn't already exist. Keep = Always keep the mux"
-                   "regardless of whether it exists or not. Reject = "
-                   "Always reject."),
+      .desc   = N_("Select how Tvheadend should handle muxes. See Help "
+                   "for details."),
+      .doc    = prop_doc_satip_muxhandling,
       .off    = offsetof(struct satip_server_conf, satip_muxcnf),
       .list   = satip_server_class_muxcfg_list,
-      .opts   = PO_EXPERT,
+      .opts   = PO_EXPERT | PO_DOC_NLIST,
       .group  = 1,
     },
     {