]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
xmltv: use --quiet argument for grabber binary
authorJaroslav Kysela <perex@perex.cz>
Sun, 30 Nov 2014 14:32:30 +0000 (15:32 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 30 Nov 2014 14:32:30 +0000 (15:32 +0100)
src/epggrab/module.c
src/epggrab/module/xmltv.c

index b8554e9363dc4078735a56174c6cc7b3044557bc..ce6afb73acb0bd3b9dd9b2f2c0b610bd42de75ea 100644 (file)
@@ -282,12 +282,13 @@ char *epggrab_module_grab_spawn ( void *m )
   int        rd = -1, outlen;
   char       *outbuf;
   epggrab_module_int_t *mod = m;
+  const char *argv[] = { NULL, "--quiet", NULL };
 
   /* Debug */
   tvhlog(LOG_INFO, mod->id, "grab %s", mod->path);
 
   /* Grab */
-  outlen = spawn_and_give_stdout(mod->path, NULL, NULL, &rd, NULL, 1);
+  outlen = spawn_and_give_stdout(mod->path, (char **)argv, NULL, &rd, NULL, 1);
 
   if (outlen < 0)
     goto error;
index c16bbf0131b7bcd7278973f3e3747ef4aab39961..55ef9ef1a55d6c771d607925c2437bb6bade5031 100755 (executable)
@@ -713,7 +713,6 @@ static void _xmltv_load_grabbers ( void )
     char *argv[] = {
       NULL,
       (char *)"--description",
-      (char *)"--quiet",
       NULL
     };
     path = strdup(tmp);