Use checkbox instead of combobox for EIT
Update doc
This commit is contained in:
parent
d615aefe0d
commit
462fd53f62
2 changed files with 18 additions and 27 deletions
|
@ -119,6 +119,16 @@
|
|||
<dt>Channel name
|
||||
<dd>Double-click on this column to map the service to a channel.
|
||||
|
||||
<dt>DVB default charset
|
||||
<dd>
|
||||
According to "ETSI EN 300 468", the default character set for EIT data is
|
||||
ISO6937. Unfortunately, some broadcasters actually use ISO-8859-x encodings
|
||||
but fail to correctly announce it. To fix this you can set the default
|
||||
charset to use when none is specified by the broadcaster.
|
||||
|
||||
<dt>EIT
|
||||
<dd>Uncheck this if EIT data should not be retreived for this service.
|
||||
|
||||
<dt>Type
|
||||
<dd>Type of service. Can not be changed
|
||||
|
||||
|
|
|
@ -338,6 +338,12 @@ tvheadend.dvb_services = function(adapterId) {
|
|||
width: 45
|
||||
});
|
||||
|
||||
var eitColumn = new Ext.grid.CheckColumn({
|
||||
header: "EIT",
|
||||
dataIndex: 'dvb_eit_enable',
|
||||
width: 45
|
||||
});
|
||||
|
||||
var actions = new Ext.ux.grid.RowActions({
|
||||
header:'',
|
||||
dataIndex: 'actions',
|
||||
|
@ -433,32 +439,7 @@ tvheadend.dvb_services = function(adapterId) {
|
|||
valueField:'key'
|
||||
})
|
||||
},
|
||||
{
|
||||
header: "EIT",
|
||||
dataIndex: 'dvb_eit_enable',
|
||||
width: 100,
|
||||
renderer: function(value, metadata, record, row, col, store) {
|
||||
if (value == '0')
|
||||
return 'Disabled';
|
||||
if (value == '1')
|
||||
return 'Enabled';
|
||||
},
|
||||
editor: new fm.ComboBox({
|
||||
mode: 'local',
|
||||
store: new Ext.data.SimpleStore({
|
||||
fields: ['key','value'],
|
||||
data: [
|
||||
['0','Disabled'],
|
||||
['1','Enabled']
|
||||
]
|
||||
}),
|
||||
typeAhead: true,
|
||||
lazyRender: true,
|
||||
triggerAction: 'all',
|
||||
displayField:'value',
|
||||
valueField:'key'
|
||||
})
|
||||
},
|
||||
eitColumn,
|
||||
{
|
||||
header: "Type",
|
||||
dataIndex: 'type',
|
||||
|
@ -591,7 +572,7 @@ tvheadend.dvb_services = function(adapterId) {
|
|||
var grid = new Ext.grid.EditorGridPanel({
|
||||
stripeRows: true,
|
||||
title: 'Services',
|
||||
plugins: [enabledColumn, actions],
|
||||
plugins: [enabledColumn, eitColumn, actions],
|
||||
store: store,
|
||||
clicksToEdit: 2,
|
||||
cm: cm,
|
||||
|
|
Loading…
Add table
Reference in a new issue