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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2baa71998fadf72905b076e7b5f219975f7e1c46;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 f9f588a81..939e13d14 100644 --- a/src/epggrab/otamux.c +++ b/src/epggrab/otamux.c @@ -582,6 +582,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 { tvhtrace(LS_EPGGRAB, "no free adapter for %s (subscribe)", mm->mm_nicename); net->fatal = 1;