From e316c7677e80b8d746d114879b118cfe088a4e3b Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 1 Oct 2018 11:14:59 +0200 Subject: [PATCH] subscription: try to iterate through all adapters on tuning failed error, fixes #5230 --- src/subscriptions.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/subscriptions.c b/src/subscriptions.c index b5af604d5..544b8d3ab 100644 --- a/src/subscriptions.c +++ b/src/subscriptions.c @@ -425,7 +425,9 @@ subscription_reschedule(void) s->ths_current_instance = si; if(si == NULL) { - if (s->ths_last_error != error || s->ths_last_find + sec2mono(2) >= mclk()) { + if (s->ths_last_error != error || + s->ths_last_find + sec2mono(2) >= mclk() || + error == SM_CODE_TUNING_FAILED) { tvhtrace(LS_SUBSCRIPTION, "%04X: instance not available, retrying", shortid(s)); if (s->ths_last_error != error) s->ths_last_find = mclk(); -- 2.47.3