Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Epg grabber user level adjustments
  • Loading branch information
Glenn-1990 authored and perexg committed Oct 20, 2016
1 parent 6f5a34e commit 7d3c9b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/epggrab.c
Expand Up @@ -280,6 +280,7 @@ const idclass_t epggrab_class = {
"Note: this may cause unwanted changes to "
"already defined channel names."),
.off = offsetof(epggrab_conf_t, channel_rename),
.opts = PO_ADVANCED,
.group = 1,
},
{
Expand All @@ -291,6 +292,7 @@ const idclass_t epggrab_class = {
"Note: this may cause unwanted changes to "
"already defined channel numbers."),
.off = offsetof(epggrab_conf_t, channel_renumber),
.opts = PO_ADVANCED,
.group = 1,
},
{
Expand All @@ -302,6 +304,7 @@ const idclass_t epggrab_class = {
"Note: this may cause unwanted changes to "
"already defined channel icons."),
.off = offsetof(epggrab_conf_t, channel_reicon),
.opts = PO_ADVANCED,
.group = 1,
},
{
Expand Down Expand Up @@ -361,7 +364,7 @@ const idclass_t epggrab_class = {
"time at most. If the EPG data is complete before "
"this limit, the mux is released sooner."),
.off = offsetof(epggrab_conf_t, ota_timeout),
.opts = PO_ADVANCED,
.opts = PO_EXPERT,
.group = 3,
},
{}
Expand Down
2 changes: 1 addition & 1 deletion src/epggrab/module.c
Expand Up @@ -158,7 +158,7 @@ const idclass_t epggrab_mod_class = {
"grabber is enabled. Priority is given to the grabber "
"with the highest value set here."),
.off = offsetof(epggrab_module_t, priority),
.opts = PO_ADVANCED,
.opts = PO_EXPERT,
.group = 1
},
{}
Expand Down
2 changes: 2 additions & 0 deletions src/webui/static/app/epggrab.js
Expand Up @@ -58,6 +58,7 @@ tvheadend.epggrab_map = function(panel, index) {
titleP: _('EPG Grabber Channels'),
iconCls: 'baseconf',
tabIndex: index,
uilevel: 'expert',
del: true,
sort: {
field: 'name',
Expand All @@ -81,6 +82,7 @@ tvheadend.epggrab_mod = function(panel, index) {

tvheadend.idnode_form_grid(panel, {
tabIndex: index,
uilevel: 'advanced',
clazz: 'epggrab_mod',
comet: 'epggrab_mod',
titleS: _('EPG Grabber Module'),
Expand Down

0 comments on commit 7d3c9b4

Please sign in to comment.