From 874d441faeaecf121f9f07f35b051dc3ffe996cc Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 14 Apr 2016 09:58:41 +0200 Subject: [PATCH] mdhelp: add caclient --- docs/class/caclient.md | 38 ++++++++++++++++++++++++++++++++ src/descrambler/caclient.c | 3 +++ src/webui/static/app/caclient.js | 2 +- 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 docs/class/caclient.md diff --git a/docs/class/caclient.md b/docs/class/caclient.md new file mode 100644 index 000000000..1a62cdbdb --- /dev/null +++ b/docs/class/caclient.md @@ -0,0 +1,38 @@ +##Configuration - CAs + +Tvheadend support connecting to card clients via the cwc (newcamd) and +capmt (linux network dvbapi) protocols for so-called 'softcam' descrambling. + +--- + +####Menu Bar/Buttons + +The following functions are available: + +Button | Function +--------------------|--------- +**Save** | Save any changes made to the CA client configuration +**Undo** | Undo any changes made to the CA client configuration since the last save. +**Add** | Add a new CA client configuration. +**Delete** | Delete an existing CA client configuration. +**Move Up** | Move the selected CA client configuration up in the list. +**Move Down** | Move the selected CA client configuration down in the list. +**Show Passwords** | Reveals any stored CA client passwords. +**Help** | Display this help page. + +--- + +####Available CA types + +New CA configurations are created with the _Add_ button, with subsequent +editing done within the grid. The following configuration parameters are +used, depending on the type of CA access: + +* List of types + + - [CAPMT (Linux Network DVBAPI)](class/caclient_capmt) + - [Code word client (newcamd)](class/caclient_cwc) + - [DES constant code word client](class/caclient_ccw_des) + - [AES constant code word client](class/caclient_ccw_aes) + +--- diff --git a/src/descrambler/caclient.c b/src/descrambler/caclient.c index 2610f076a..7df2b88e1 100644 --- a/src/descrambler/caclient.c +++ b/src/descrambler/caclient.c @@ -237,6 +237,8 @@ caclient_class_status_get(void *o) return &ret; } +extern const char *tvh_doc_caclient_class[]; + const idclass_t caclient_class = { .ic_class = "caclient", @@ -244,6 +246,7 @@ const idclass_t caclient_class = .ic_changed = caclient_class_changed, .ic_save = caclient_class_save, .ic_event = "caclient", + .ic_doc = tvh_doc_caclient_class, .ic_get_title = caclient_class_get_title, .ic_delete = caclient_class_delete, .ic_moveup = caclient_class_moveup, diff --git a/src/webui/static/app/caclient.js b/src/webui/static/app/caclient.js index 2661a86c7..6a0d9e4ec 100644 --- a/src/webui/static/app/caclient.js +++ b/src/webui/static/app/caclient.js @@ -59,7 +59,7 @@ tvheadend.caclient = function(panel, index) { lcol: [actions], plugins: [actions], help: function() { - new tvheadend.help(_('Conditional Access Client'), 'config_caclient.html'); + new tvheadend.mdhelp('class/caclient'); } }); -- 2.47.3