Project

General

Profile

Bug #4096

Subscription status broken in master

Added by glenn ch about 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Category:
Streaming
Target version:
-
Start date:
2016-11-22
Due date:
% Done:

0%

Estimated time:
Found in version:
Master
Affected Versions:

Description

When an active subscription gets aborted/overridden, client are not informed (tested htsp), while they are with tvheadend 4.0.

Digging in the code a little bit shows me that the subscription code gets correctly set to "SMT_NOSTART" or "SMT_NOSTART_WARN", however these messages newer reach htsp_server.c.

When the subscription resumes, the output data rate indicator stays at 0kb/s and playback is not possible. Maybe this is also related to the missing SMT messages?

History

#1

Updated by glenn ch about 4 years ago

This issue seems to be timeshift related:

Timeshift on:
1) play channel
2) interrupt channel with a higher prio recording for example
3) SMT_STOP (with SM_CODE_SUBSCRIPTION_OVERRIDDEN) gets fired
4) The subscription will be retried every x seconds, but SMT_NOSTART or SMT_NOSTART_WARN are missing.
5) Abort recording, image from channel stays frozen (Kodi), input kb/s is correct, output kb/s is 0.
6) Forwarding in Kodi does not work anymore.

Timeshift off:
1) play channel
2) interrupt channel with a higher prio recording for example
3) SMT_STOP (with SM_CODE_SUBSCRIPTION_OVERRIDDEN) gets fired
4) SMT_NOSTART or SMT_NOSTART_WARN gets fired (as the subscription will be retried every x seconds)
5) Abort recording, image from channel resumes correctly (Kodi)

Also available in: Atom PDF