xmltv: use --quiet argument for grabber binary

This commit is contained in:
Jaroslav Kysela 2014-11-30 15:32:30 +01:00
parent 1d9a3483a5
commit 01e7cc1478
2 changed files with 2 additions and 2 deletions

View 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;

View file

@ -713,7 +713,6 @@ static void _xmltv_load_grabbers ( void )
char *argv[] = {
NULL,
(char *)"--description",
(char *)"--quiet",
NULL
};
path = strdup(tmp);