From: root Date: Wed, 7 Mar 2018 17:37:23 +0000 (+0100) Subject: epggrab: giveup epg grabbing on SM_CODE_TUNING_FAILED (fixes loop) X-Git-Tag: v4.2.6~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8973d48e59b2c134aafec78de0c14756d6b15e8b;p=thirdparty%2Ftvheadend.git epggrab: giveup epg grabbing on SM_CODE_TUNING_FAILED (fixes loop) --- diff --git a/src/epggrab/otamux.c b/src/epggrab/otamux.c index bfe738163..25f45e445 100644 --- a/src/epggrab/otamux.c +++ b/src/epggrab/otamux.c @@ -595,6 +595,8 @@ next_one: om->om_retry_time = mclk() + mono2sec(60); if (r == SM_CODE_NO_FREE_ADAPTER) net->failed = 1; + if (r == SM_CODE_TUNING_FAILED) + net->failed = 1; } else { if (tvhtrace_enabled()) { mpegts_mux_nice_name(mm, name, sizeof(name));