From c3cb86ab01c1b84084f68f0a85ea78972f0dee46 Mon Sep 17 00:00:00 2001 From: Mark Clarkstone Date: Tue, 24 May 2016 22:19:52 +0100 Subject: [PATCH] mdhelp: add satip server mux handling table. --- docs/property/satip_muxhandling.md | 7 +++++++ src/satip/server.c | 11 +++++------ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 docs/property/satip_muxhandling.md diff --git a/docs/property/satip_muxhandling.md b/docs/property/satip_muxhandling.md new file mode 100644 index 000000000..e29f9639d --- /dev/null +++ b/docs/property/satip_muxhandling.md @@ -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. diff --git a/src/satip/server.c b/src/satip/server.c index 967cd2e9c..946b6d5ff 100644 --- a/src/satip/server.c +++ b/src/satip/server.c @@ -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, }, { -- 2.47.3