[Overview](#overview) | Tab overview
[Items/Properties](#items) | Items and Properties
+[Return to DVB Inputs](dvbinputs)
+
---
## Overview
<tvh_include>inc/buttons</tvh_include>
---
-
[Overview](#overview) | Tab overview
[Items/Properties](#items) | Items and Properties
+[Return to DVB Inputs](dvbinputs)
+
---
## Overview
<tvh_include>inc/buttons</tvh_include>
---
-
[Service information](#service-information)| How to display service information
[Items/Properties](#items) | Items and Properties
+[Return to DVB Inputs](dvbinputs)
+
---
## Overview
[Force Scanning](#force-scanning) | Force scanning a network
[Service Probing (IPTV only)](#service-probing-iptv-only-) | Service probing information (IPTV only)
[Items/Properties](#items) | Items and properties
+
+[Return to DVB Inputs](dvbinputs)
.set = esfilter_class_type_set_video,
.list = esfilter_class_type_enum_video,
.rend = esfilter_class_type_rend,
+ .opts = PO_DOC_NLIST,
},
{
.type = PT_STR,
.set = esfilter_class_type_set_audio,
.list = esfilter_class_type_enum_audio,
.rend = esfilter_class_type_rend,
+ .opts = PO_DOC_NLIST,
},
{
.type = PT_STR,
.set = esfilter_class_type_set_teletext,
.list = esfilter_class_type_enum_teletext,
.rend = esfilter_class_type_rend,
+ .opts = PO_DOC_NLIST,
},
{
.type = PT_STR,
.set = esfilter_class_type_set_ca,
.list = esfilter_class_type_enum_ca,
.rend = esfilter_class_type_rend,
+ .opts = PO_DOC_NLIST,
},
{
.type = PT_STR,
.get = esfilter_class_caid_get,
.set = esfilter_class_caid_set,
.list = esfilter_class_caid_enum,
+ .opts = PO_DOC_NLIST,
},
{
.type = PT_STR,
.get = esfilter_class_caprovider_get,
.set = esfilter_class_caprovider_set,
.list = esfilter_class_caprovider_enum,
+ .opts = PO_DOC_NLIST,
},
{
.type = PT_STR,
.set = esfilter_class_type_set_other,
.list = esfilter_class_type_enum_other,
.rend = esfilter_class_type_rend,
+ .opts = PO_DOC_NLIST,
},
{
.type = PT_STR,
if (!s) continue;
if (first) {
nl = md_nl(hq, nl);
- htsbuf_append_str(hq, "#### ");
+ htsbuf_append_str(hq, "### ");
htsbuf_append_str(hq, tvh_gettext_lang(lang, N_("Items")));
md_nl(hq, 1);
md_nl(hq, 1);
- htsbuf_append_str(hq, tvh_gettext_lang(lang, N_("The items have the following functions:")));
- md_nl(hq, 1);
+ //htsbuf_append_str(hq, tvh_gettext_lang(lang, N_("The items have the following functions:")));
+ //md_nl(hq, 1);
first = 0;
}
nl = md_nl(hq, nl);
var parse = function(text) {
var renderer = new marked.Renderer;
+ var lastanchor = null;
renderer.link = function(href, title, text) {
var x = href.indexOf('#');
if (href.indexOf(':/') === -1 && (x === -1 || x > 1)) {
}
var bodyid = Ext.id();
- var text = '<div id="' + bodyid + '">';
+ var text = '<div id="jump"></div><div id="' + bodyid + '">';
if (tvheadend.docs_toc || history)
text += '<div class="hts-doc-toc">' + history + tvheadend.docs_toc + '</div>';
text += '<div class="hts-doc-text">' + parse(mdtext) + '</div>';
}
var win = new Ext.Window({
- title: _('Help for') + ' ' + title,
+ title: title,
iconCls: 'help',
layout: 'fit',
width: 900,
height: 400,
constrainHeader: true,
+ bbar: [
+ {
+ iconCls: 'moveup',
+ text: _('Back to top'),
+ tooltip: _('Back to top'),
+ handler: function() {
+ document.getElementById('jump').scrollIntoView();
+ },
+ }],
items: [content],
listeners: {
render: function(win) {
var helpfailuremsg = function() {
Ext.MessageBox.show({
title:_('Error'),
- msg: _('There was a problem displaying the Help!') + '<br>' +
- _('Please check Tvheadend is running and try again.'),
+ msg: _('There was a problem displaying the Help!') + '<br>' +
+ _('Please check Tvheadend is running and try again.'),
buttons: Ext.Msg.OK,
icon: Ext.MessageBox.ERROR,
});
}
-
- var helppagefail = function() {
+
+ var helppagefail = function() {
title = _('Not Available');
- msg = _('There is no documentation associated with the Help button pressed, or there was an problem loading the page.\n\n') +
- _('Please take a look at the other Help pages (Table of Contents). If you still can\'t find what you\'re ') +
- _('looking for please see the [Wiki](http://tvheadend.org/projects/tvheadend/wiki) ') +
+ msg = _('There\'s no documentation available, or there was a problem loading the page.\n\n') +
+ _('**You\'ll also see this page if you try and view documentation (for a feature) not included with your version of Tvheadend.**\n\n\n\n') +
+ _('Please take a look at the other Help pages (Table of Contents), if you still can\'t find what you\'re ') +
+ _('looking for please see the [Wiki](http://tvheadend.org/projects/tvheadend/wiki) ') +
_('or join the [IRC channel on freenode](https://kiwiirc.com/client/chat.freenode.net/?nick=tvhhelp|?#hts).');
-
+
// Fake the result.
result = [];
result['responseText'] = "## " + title + '\n\n' + msg;
-
+
// Load the TOC.
if (!tvheadend.docs_toc) {
Ext.Ajax.request({
conf.params = {};
conf.params.uuid = Ext.encode(uuids);
tvheadend.Ajax(conf);
- }
+ }
}
tvheadend.loading = function(on) {
var videoPlayer = new tv.ui.VideoPlayer({
params: { }
});
-
+
var initialChannelName;
if (channelId) {
var record = tvheadend.channels.getById(channelId);
videoPlayer.zapTo(channelId);
}
});
-
+
win.on('close', function() {
videoPlayer.stop();
});