From ca41ada02c6593dffafaa4c45ef2841035dd1d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Tue, 23 Sep 2008 16:26:19 +0000 Subject: [PATCH] We can not do any emebbed xmltv config yet --- webui/static/app/xmltv.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/webui/static/app/xmltv.js b/webui/static/app/xmltv.js index 930caa54..e7681af2 100644 --- a/webui/static/app/xmltv.js +++ b/webui/static/app/xmltv.js @@ -138,6 +138,27 @@ tvheadend.xmltv = function() { grabberSelect.on('select', function(c,r,i) { + + Ext.MessageBox.alert('XMLTV', + 'Make sure that the grabber is properly ' + + 'configured before saving configuration.
'+ + '
' + + 'To configure manually execute the ' + + 'following command in a shell on the ' + + 'server:
' + + '$ ' + r.data.identifier + + ' --configure
' + + '
' + + 'Note: It is important to configure the ' + + 'grabber using the same userid as tvheadend '+ + 'since most grabbers save their '+ + 'configuration in the users home directory.'+ + '
' + + '
' + + 'Grabber version: ' + r.data.version + ); + +/* if(r.data.apiconfig) { Ext.MessageBox.confirm('XMLTV', @@ -176,6 +197,7 @@ tvheadend.xmltv = function() { 'Grabber version: ' + r.data.version ); } +*/ }); function saveChanges() {