From: Jaroslav Kysela Date: Tue, 20 Jan 2015 19:40:05 +0000 (+0100) Subject: otamux: do not requeue muxes with failed scan status X-Git-Tag: v4.1~444 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abea248babeab8bf619a692e378da2e0737efb35;p=thirdparty%2Ftvheadend.git otamux: do not requeue muxes with failed scan status --- diff --git a/src/epggrab/otamux.c b/src/epggrab/otamux.c index 167c7787f..80cb3c009 100644 --- a/src/epggrab/otamux.c +++ b/src/epggrab/otamux.c @@ -192,7 +192,7 @@ epggrab_ota_done ( epggrab_ota_mux_t *om, int reason ) om->om_q_type = EPGGRAB_OTA_MUX_IDLE; if (reason == EPGGRAB_OTA_DONE_STOLEN) { /* Do not requeue completed muxes */ - if (!om->om_done && om->om_requeue) { + if (!om->om_done && om->om_requeue && mm->mm_scan_result != MM_SCAN_FAIL) { TAILQ_INSERT_HEAD(&epggrab_ota_pending, om, om_q_link); om->om_q_type = EPGGRAB_OTA_MUX_PENDING; } else {