Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdhelp: add caclient
  • Loading branch information
perexg committed Apr 14, 2016
1 parent 2a4dea2 commit 874d441
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
38 changes: 38 additions & 0 deletions 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)

---
3 changes: 3 additions & 0 deletions src/descrambler/caclient.c
Expand Up @@ -237,13 +237,16 @@ caclient_class_status_get(void *o)
return &ret;
}

extern const char *tvh_doc_caclient_class[];

const idclass_t caclient_class =
{
.ic_class = "caclient",
.ic_caption = N_("Conditional access client"),
.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,
Expand Down
2 changes: 1 addition & 1 deletion src/webui/static/app/caclient.js
Expand Up @@ -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');
}
});

Expand Down

0 comments on commit 874d441

Please sign in to comment.