<dt>DES Key
<dd>Initial DES key.
+ <dt>Update Card
+ <dd>Forward Entitlement Management Messages (EMMs) to the server.
+
<dt>Comment
<dd>Allows the administrator to set a comment only visible in this editor.
It does not serve any active purpose.
char *cwc_hostname;
int cwc_port;
char *cwc_id;
+ int cwc_emm;
const char *cwc_errtxt;
cwc->cwc_provider_ids[i] = id;
msg += 11;
}
+
+ tvhlog(LOG_INFO, "cwc", "%s: Will %sforward EMMs",
+ cwc->cwc_hostname,
+ cwc->cwc_emm ? "" : "not ");
+
return 0;
}
break;
default:
- /* EMM */
- cwc_send_msg(cwc, data, len, sid);
+ if (cwc->cwc_emm) {
+ /* EMM */
+ cwc_send_msg(cwc, data, len, sid);
+ }
break;
}
}
cwc->cwc_confedkey[0xd]);
htsmsg_add_str(e, "deskey", buf);
-
+ htsmsg_add_u32(e, "emm", cwc->cwc_emm);
htsmsg_add_str(e, "comment", cwc->cwc_comment ?: "");
return e;
memcpy(cwc->cwc_confedkey, key, 14);
}
+ if(!htsmsg_get_u32(values, "emm", &u32))
+ cwc->cwc_emm = u32;
+
cwc->cwc_reconfigure = 1;
if(cwc->cwc_fd != -1)
width: 60
});
+ var emmColumn = new Ext.grid.CheckColumn({
+ header: "Update Card",
+ dataIndex: 'emm',
+ width: 100
+ });
+
function setMetaAttr(meta, record){
var enabled = record.get('enabled');
if(!enabled) return;
return '<span class="tvh-grid-unset">Hidden</span>';
},
editor: new fm.TextField({allowBlank: false})
- },{
+ },
+ emmColumn,
+ {
header: "Comment",
dataIndex: 'comment',
width: 400,
]);
var rec = Ext.data.Record.create([
- 'enabled','connected','hostname','port','username','password','deskey','comment'
+ 'enabled','connected','hostname','port','username','password','deskey','emm','comment'
]);
store = new Ext.data.JsonStore({