]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
subscriptions: reschedule - add warning when a service instance goes to the bad state
authorJaroslav Kysela <perex@perex.cz>
Fri, 24 Apr 2015 19:41:56 +0000 (21:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 24 Apr 2015 19:41:56 +0000 (21:41 +0200)
src/subscriptions.c

index 9ac7d23663487102912f33b21b2ebc7595e6ff6b..00252f0bd4255c766bd4f80e64de9c1b0d1e04a0 100644 (file)
@@ -318,6 +318,9 @@ subscription_reschedule(void)
       if(s->ths_state != SUBSCRIPTION_BAD_SERVICE)
        continue; /* And it not bad, so we're happy */
 
+      tvhwarn("subscription", "%04X: service instance is bad, reason: %s",
+              shortid(s), streaming_code2txt(s->ths_testing_error));
+
       t->s_streaming_status = 0;
       t->s_status = SERVICE_IDLE;