Project

General

Profile

Feature #2771

Tune errors are not reported through htsp when channel restart enabled

Added by Mirko Di Paolo over 9 years ago. Updated about 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
HTSP
Target version:
Start date:
2015-04-11
Due date:
% Done:

100%

Estimated time:

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).

History

#1

Updated by Jaroslav Kysela about 9 years ago

  • Target version set to 4.2
#2

Updated by Jaroslav Kysela about 9 years ago

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

Applied in changeset commit:tvheadend|9a45923ec5175bda731eefd5e8267677164bed2a.

Also available in: Atom PDF