]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI: another round of view level sorting
authorJaroslav Kysela <perex@perex.cz>
Wed, 2 Dec 2015 17:42:41 +0000 (18:42 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 2 Dec 2015 17:42:41 +0000 (18:42 +0100)
src/bouquet.c
src/channels.c
src/epggrab.c
src/epggrab/module.c
src/input/mpegts/satip/satip_frontend.c

index 378ef9f45e18d079c9e148aa3223262656fb0d6d..dcd6f47984cfd30796022cdca2f34677d7e4ceb4 100644 (file)
@@ -910,6 +910,7 @@ const idclass_t bouquet_class = {
       .name     = N_("Map zero-numbered channels"),
       .off      = offsetof(bouquet_t, bq_mapnolcn),
       .notify   = bouquet_class_mapnolcn_notify,
+      .opts     = PO_ADVANCED,
     },
     {
       .type     = PT_BOOL,
@@ -917,6 +918,7 @@ const idclass_t bouquet_class = {
       .name     = N_("Map unnamed channels"),
       .off      = offsetof(bouquet_t, bq_mapnoname),
       .notify   = bouquet_class_mapnoname_notify,
+      .opts     = PO_ADVANCED,
     },
     {
       .type     = PT_BOOL,
@@ -924,6 +926,7 @@ const idclass_t bouquet_class = {
       .name     = N_("Map radio channels"),
       .off      = offsetof(bouquet_t, bq_mapradio),
       .notify   = bouquet_class_mapradio_notify,
+      .opts     = PO_ADVANCED,
     },
     {
       .type     = PT_BOOL,
@@ -931,6 +934,7 @@ const idclass_t bouquet_class = {
       .name     = N_("Create tag"),
       .off      = offsetof(bouquet_t, bq_chtag),
       .notify   = bouquet_class_chtag_notify,
+      .opts     = PO_ADVANCED,
     },
     {
       .type     = PT_STR,
@@ -939,7 +943,7 @@ const idclass_t bouquet_class = {
       .get      = bouquet_class_chtag_ref_get,
       .set      = bouquet_class_chtag_ref_set,
       .rend     = bouquet_class_chtag_ref_rend,
-      .opts     = PO_RDONLY | PO_HIDDEN,
+      .opts     = PO_RDONLY | PO_HIDDEN | PO_NOUI,
     },
     {
       .type     = PT_STR,
@@ -960,7 +964,7 @@ const idclass_t bouquet_class = {
       .id       = "ssl_peer_verify",
       .name     = N_("SSL verify peer"),
       .off      = offsetof(bouquet_t, bq_ssl_peer_verify),
-      .opts     = PO_ADVANCED | PO_HIDDEN,
+      .opts     = PO_ADVANCED | PO_HIDDEN | PO_EXPERT,
       .notify   = bouquet_class_ext_url_notify,
     },
     {
@@ -977,7 +981,7 @@ const idclass_t bouquet_class = {
       .id       = "source",
       .name     = N_("Source"),
       .off      = offsetof(bouquet_t, bq_src),
-      .opts     = PO_RDONLY,
+      .opts     = PO_RDONLY | PO_ADVANCED,
     },
     {
       .type     = PT_STR,
@@ -1015,6 +1019,7 @@ const idclass_t bouquet_class = {
       .name     = N_("Channel number offset"),
       .off      = offsetof(bouquet_t, bq_lcn_offset),
       .notify   = bouquet_class_lcn_offset_notify,
+      .opts     = PO_ADVANCED
     },
     {}
   }
index 080ac33f1ba47b0e1ebab5800cdfe7bb61e5d258..5851a985f2534b1153d7df28f7450586cf8a884e 100644 (file)
@@ -453,7 +453,6 @@ const idclass_t channel_class = {
       .set      = channel_class_tags_set,
       .list     = channel_tag_class_get_list,
       .rend     = channel_class_tags_rend,
-      .opts     = PO_ADVANCED
     },
     {
       .type     = PT_STR,
index 6183044c759005f78543182e2533fa79851ffa9c..256e6884bbff1a8066826bb1e0d9513d8db7ab60 100644 (file)
@@ -296,7 +296,7 @@ const idclass_t epggrab_class = {
       .name   = N_("Cron multi-line"),
       .off    = offsetof(epggrab_conf_t, cron),
       .notify = epggrab_class_cron_notify,
-      .opts   = PO_MULTILINE,
+      .opts   = PO_MULTILINE | PO_ADVANCED,
       .group  = 2,
     },
     {
@@ -304,6 +304,7 @@ const idclass_t epggrab_class = {
       .id     = "ota_initial",
       .name   = N_("Force initial EPG scan at start-up"),
       .off    = offsetof(epggrab_conf_t, ota_initial),
+      .opts   = PO_ADVANCED,
       .group  = 3,
     },
     {
@@ -312,7 +313,7 @@ const idclass_t epggrab_class = {
       .name   = N_("Over-the-air Cron multi-line"),
       .off    = offsetof(epggrab_conf_t, ota_cron),
       .notify = epggrab_class_ota_cron_notify,
-      .opts   = PO_MULTILINE,
+      .opts   = PO_MULTILINE | PO_ADVANCED,
       .group  = 3,
     },
     {
@@ -320,6 +321,7 @@ const idclass_t epggrab_class = {
       .id     = "ota_timeout",
       .name   = N_("EPG scan timeout in seconds (30-7200)"),
       .off    = offsetof(epggrab_conf_t, ota_timeout),
+      .opts   = PO_ADVANCED,
       .group  = 3,
     },
     {}
index b53dcb3d9d677a03302a0cb7ea38f53e63cf5552..360735c1b84cb68ad0078923a5a07992f8edb0c1 100644 (file)
@@ -147,6 +147,7 @@ const idclass_t epggrab_mod_class = {
       .id     = "priority",
       .name   = N_("Priority"),
       .off    = offsetof(epggrab_module_t, priority),
+      .opts   = PO_ADVANCED,
       .group  = 1
     },
     {}
@@ -171,6 +172,7 @@ const idclass_t epggrab_class_mod_int = {
       .id     = "args",
       .name   = N_("Extra arguments"),
       .off    = offsetof(epggrab_module_int_t, args),
+      .opts   = PO_ADVANCED,
       .group  = 1
     },
     {}
index 95682e641c6fb3517d670caf1279c811797c436a..34ea110046750a135c8c3dde237a6277d713a259 100644 (file)
@@ -152,6 +152,7 @@ const idclass_t satip_frontend_class =
       .id       = "udp_rtp_port",
       .name     = N_("UDP RTP port number (2 ports)"),
       .off      = offsetof(satip_frontend_t, sf_udp_rtp_port),
+      .opts     = PO_ADVANCED,
     },
     {
       .type     = PT_INT,