From: Jaroslav Kysela Date: Sun, 30 Nov 2014 14:32:30 +0000 (+0100) Subject: xmltv: use --quiet argument for grabber binary X-Git-Tag: v4.1~672 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01e7cc1478ebfca55a479b3aeb00df12615632dc;p=thirdparty%2Ftvheadend.git xmltv: use --quiet argument for grabber binary --- diff --git a/src/epggrab/module.c b/src/epggrab/module.c index b8554e936..ce6afb73a 100644 --- a/src/epggrab/module.c +++ b/src/epggrab/module.c @@ -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; diff --git a/src/epggrab/module/xmltv.c b/src/epggrab/module/xmltv.c index c16bbf013..55ef9ef1a 100755 --- a/src/epggrab/module/xmltv.c +++ b/src/epggrab/module/xmltv.c @@ -713,7 +713,6 @@ static void _xmltv_load_grabbers ( void ) char *argv[] = { NULL, (char *)"--description", - (char *)"--quiet", NULL }; path = strdup(tmp);