]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mux grid: enable 'hide: parent disabled'
authorLuis Alves <ljalvs@gmail.com>
Wed, 25 Sep 2019 21:49:00 +0000 (22:49 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 18 Oct 2019 16:13:26 +0000 (18:13 +0200)
src/api/api_mpegts.c

index 18caf10a52f624f48f548d2ae492372808fe6c05..eacf07babdcc7858e3233cee6ef67bedcd33bcff 100644 (file)
@@ -244,7 +244,7 @@ api_mpegts_mux_grid
   }
 
   LIST_FOREACH(mn, &mpegts_network_all, mn_global_link) {
-    //if (hide && !mn->mn_enabled) continue;
+    if (hide && !mn->mn_enabled) continue;
     LIST_FOREACH(mm, &mn->mn_muxes, mm_network_link) {
       if (hide == 2 && !mm->mm_is_enabled(mm)) continue;
       idnode_set_add(ins, (idnode_t*)mm, &conf->filter, perm->aa_lang_ui);
@@ -272,7 +272,7 @@ api_mpegts_service_grid
   }
 
   LIST_FOREACH(mn, &mpegts_network_all, mn_global_link) {
-    //if (hide && !mn->mn_enabled) continue;
+    if (hide && !mn->mn_enabled) continue;
     LIST_FOREACH(mm, &mn->mn_muxes, mm_network_link) {
       if (hide && !mm->mm_is_enabled(mm)) continue;
       LIST_FOREACH(ms, &mm->mm_services, s_dvb_mux_link) {