]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mdhelp: add caclient
authorJaroslav Kysela <perex@perex.cz>
Thu, 14 Apr 2016 07:58:41 +0000 (09:58 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 14 Apr 2016 07:58:41 +0000 (09:58 +0200)
docs/class/caclient.md [new file with mode: 0644]
src/descrambler/caclient.c
src/webui/static/app/caclient.js

diff --git a/docs/class/caclient.md b/docs/class/caclient.md
new file mode 100644 (file)
index 0000000..1a62cdb
--- /dev/null
@@ -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)
+
+---
index 2610f076a0bbcbba8c9a0395df150e772001a526..7df2b88e1e5e12d816595e888ea266a7b9f92742 100644 (file)
@@ -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,
index 2661a86c76d56382f4dc45a0e8101070b5834869..6a0d9e4ecde0637fa909af439c51b74792d39bfd 100644 (file)
@@ -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');
         }
     });