]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epggrab: reduce spam in the logs, fixes #1839.
authorAdam Sutton <dev@adamsutton.me.uk>
Mon, 23 Dec 2013 23:01:52 +0000 (23:01 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Mon, 23 Dec 2013 23:01:52 +0000 (23:01 +0000)
src/epggrab/module/eit.c
src/epggrab/otamux.c

index f69e2d073523e3da36c1d35d1719abcab94080b0..98299782481fd216b154eac404f280ea25f20d17 100644 (file)
@@ -595,10 +595,12 @@ _eit_callback
   } else {
     if (mm->mm_tsid != tsid ||
         mm->mm_onid != onid) {
-      tvhwarn("eit",
-              "invalid tsid found tid 0x%02X, onid:tsid %d:%d != %d:%d",
-              tableid, mm->mm_onid, mm->mm_tsid, onid, tsid);
-      //dm = NULL;
+      if (mm->mm_onid != MPEGTS_ONID_NONE &&
+          mm->mm_tsid != MPEGTS_TSID_NONE)
+        tvhwarn("eit",
+                "invalid tsid found tid 0x%02X, onid:tsid %d:%d != %d:%d",
+                tableid, mm->mm_onid, mm->mm_tsid, onid, tsid);
+      mm = NULL;
     }
   }
   if(!mm)
index dd0cdd6440fb8f2d4c82b3d677d458aaeaa46f42..fc90e18f06bcdd8c434e722918f0263a54a2a71c 100644 (file)
@@ -136,7 +136,7 @@ epggrab_ota_start ( epggrab_ota_mux_t *om )
     epggrab_ota_active_timer_cb(NULL);
   LIST_FOREACH(map, &om->om_modules, om_link) {
     map->om_complete = 0;
-    tvhinfo(map->om_module->id, "grab started");
+    tvhdebug(map->om_module->id, "grab started");
   }
 }
 
@@ -242,7 +242,7 @@ epggrab_ota_complete
 {
   int done = 1;
   epggrab_ota_map_t *map;
-  tvhinfo(mod->id, "grab complete");
+  tvhdebug(mod->id, "grab complete");
 
   /* Test for completion */
   LIST_FOREACH(map, &ota->om_modules, om_link) {