Added encryption column to configuration->TV Adapters->Services. Added additional caidnametab entry.
This commit is contained in:
parent
b42cbe593c
commit
d4be257b80
3 changed files with 11 additions and 2 deletions
|
@ -447,6 +447,7 @@ dvb_service_build_msg(service_t *t)
|
|||
{
|
||||
th_dvb_mux_instance_t *tdmi = t->s_dvb_mux_instance;
|
||||
htsmsg_t *m = htsmsg_create_map();
|
||||
uint16_t caid;
|
||||
char buf[100];
|
||||
|
||||
htsmsg_add_str(m, "id", t->s_identifier);
|
||||
|
@ -464,6 +465,9 @@ dvb_service_build_msg(service_t *t)
|
|||
|
||||
htsmsg_add_str(m, "network", tdmi->tdmi_network ?: "");
|
||||
|
||||
if((caid = service_get_encryption(t)) != 0)
|
||||
htsmsg_add_str(m, "encryption", psi_caid2name(caid));
|
||||
|
||||
dvb_mux_nicefreq(buf, sizeof(buf), tdmi);
|
||||
htsmsg_add_str(m, "mux", buf);
|
||||
|
||||
|
|
|
@ -874,6 +874,7 @@ static struct strtab caidnametab[] = {
|
|||
{ "CryptoWorks ICE", 0x0D96 },
|
||||
{ "CryptoWorks ICE", 0x0D97 },
|
||||
{ "PowerVu", 0x0E00 },
|
||||
{ "PowerVu", 0x0E11 },
|
||||
{ "Sony", 0x0F00 },
|
||||
{ "Tandberg", 0x1000 },
|
||||
{ "Thompson", 0x1100 },
|
||||
|
|
|
@ -497,6 +497,10 @@ tvheadend.dvb_services = function(adapterId) {
|
|||
header : "Network",
|
||||
dataIndex : 'network',
|
||||
width : 100
|
||||
}, {
|
||||
header : "Encryption",
|
||||
dataIndex : 'encryption',
|
||||
width : 100
|
||||
}, {
|
||||
header : "Multiplex",
|
||||
dataIndex : 'mux',
|
||||
|
@ -526,8 +530,8 @@ tvheadend.dvb_services = function(adapterId) {
|
|||
var store = new Ext.data.JsonStore({
|
||||
root : 'entries',
|
||||
fields : Ext.data.Record.create([ 'id', 'enabled', 'type', 'sid', 'pmt',
|
||||
'pcr', 'svcname', 'network', 'provider', 'mux', 'channelname', 'prefcapid',
|
||||
'dvb_charset', 'dvb_eit_enable' ]),
|
||||
'pcr', 'svcname', 'network', 'provider', 'encryption', 'mux', 'channelname',
|
||||
'prefcapid', 'dvb_charset', 'dvb_eit_enable' ]),
|
||||
url : "dvb/services/" + adapterId,
|
||||
autoLoad : true,
|
||||
id : 'id',
|
||||
|
|
Loading…
Add table
Reference in a new issue