From 01e7cc1478ebfca55a479b3aeb00df12615632dc Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 30 Nov 2014 15:32:30 +0100 Subject: [PATCH] xmltv: use --quiet argument for grabber binary --- src/epggrab/module.c | 3 ++- src/epggrab/module/xmltv.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/epggrab/module.c b/src/epggrab/module.c index b8554e93..ce6afb73 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 c16bbf01..55ef9ef1 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);