Feature #2771

Tune errors are not reported through htsp when channel restart enabled

Added by Mirko Di Paolo over 2 years ago. Updated almost 2 years ago.

Status:FixedStart date:2015-04-11
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:HTSP
Target version:4.2

Description

When channel restart is enabled tune errors and other errors are not reported through htsp (client doesn't display any sort of errors)
Using this I get errors reported until restart is done:

--- src/subscriptions.c 2015-04-10 14:59:13.696005169 0200
++ src/subscriptions.c 2015-04-10 15:01:33.968005268 0200
@ -350,7 +350,9 @
continue;
}
if (s->ths_flags & SUBSCRIPTION_RESTART) {
- if (s->ths_channel)
sm = streaming_msg_create_code(SMT_NOSTART, error);
+ streaming_target_deliver(s->ths_output, sm);
+ if (s->ths_channel)
tvhwarn("subscription", "%04X: restarting channel %s",
shortid(s), channel_get_name(s->ths_channel));
else

I think should be useful get tune errors on every tuner try and not only when all tuners were tried (having a lot of tuners I need to wait a while to get the first error reported).

Associated revisions

Revision 9a45923e
Added by Jaroslav Kysela almost 2 years ago

streaming: add SMT_NOSTART_WARN for HTSP, fixes #2771

History

#1 Updated by Jaroslav Kysela almost 2 years ago

  • Target version set to 4.2

#2 Updated by Jaroslav Kysela almost 2 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF