LSP - Encryption UI, longer timeout for conversion dir query request + loading message, fixed conversion status request
This commit is contained in:
parent
5078667a86
commit
7211e2ee6d
2 changed files with 46 additions and 6 deletions
35
lsp/main.js
35
lsp/main.js
|
@ -887,7 +887,10 @@
|
|||
'preset':
|
||||
{
|
||||
'cmd': ''
|
||||
}
|
||||
},
|
||||
'contentkey':'',
|
||||
'keyid':'',
|
||||
'keyseed':''
|
||||
},sdata);
|
||||
|
||||
$('#page').append( $('<p>').text(title) );
|
||||
|
@ -933,6 +936,31 @@
|
|||
)
|
||||
);
|
||||
|
||||
// ENCRYPT
|
||||
$('#editserver').append(
|
||||
$('<span>').addClass('LTS-only').append(
|
||||
$('<br>')
|
||||
).append(
|
||||
$('<p>').text('Encrypt this stream')
|
||||
).append(
|
||||
$('<label>').attr('id','stream-edit-contentkey-label').attr('for','stream-edit-contentkey').text('Content key').append(
|
||||
$('<input>').attr('type','text').attr('id','stream-edit-contentkey').attr('value', sdata.contentkey)
|
||||
)
|
||||
).append(
|
||||
$('<span>').text('- or -')
|
||||
).append(
|
||||
$('<label>').attr('id','stream-edit-keyid-label').attr('for','stream-edit-keyid').text('Key ID').append(
|
||||
$('<input>').attr('type','text').attr('id','stream-edit-keyid').attr('value', sdata.keyid)
|
||||
)
|
||||
).append(
|
||||
$('<label>').attr('id','stream-edit-keyseed-label').attr('for','stream-edit-keyseed').text('Key seed').append(
|
||||
$('<input>').attr('type','text').attr('id','stream-edit-keyseed').attr('value', sdata.keyseed)
|
||||
)
|
||||
).append(
|
||||
$('<br>')
|
||||
)
|
||||
);
|
||||
|
||||
var text = $('#stream-edit-source').val();
|
||||
//if the source is not live, show any stuff marked as live-only
|
||||
if(text.charAt(0) == '/')
|
||||
|
@ -984,6 +1012,9 @@
|
|||
sdata.error = null;
|
||||
sdata.record = r.val();
|
||||
if (b.val() != '') { sdata.DVR = b.val(); }
|
||||
sdata.contentkey = $('#stream-edit-contentkey').val();
|
||||
sdata.contentkey = $('#stream-edit-keyid').val();
|
||||
sdata.contentkey = $('#stream-edit-keyseed').val();
|
||||
|
||||
if(streamname == 'new')
|
||||
{
|
||||
|
@ -1340,6 +1371,8 @@
|
|||
$('<button>').text('search for input files').click(function(){
|
||||
conversionDirQuery($('#conv-edit-query').val());
|
||||
})
|
||||
).append(
|
||||
$('<span>').attr('id','conversiondirquery-status')
|
||||
).append(
|
||||
$('<div>').attr('id', 'editconversion')
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue