Feature #2608

Pass subscription weight to IPTV URL

Added by Sam Stenvall over 2 years ago. Updated over 1 year ago.

Status:FixedStart date:2015-01-08
Priority:NormalDue date:
Assignee:Jaroslav Kysela% Done:

100%

Category:Streaming
Target version:4.2

Description

Currently if you connect two tvheadend instances together by using a bunch of HTTP muxes, whenever you restart the "client" it will perform the initial EPG grab (unless you've disabled that). On the server side this looks like any other subscription and thus gets a standard priority, when it really should be detected as an EPG grab subscription.

I suggest tvheadend sends an additional GET parameter for HTTP requests (perhaps something prefixed so that non-tvheadend servers don't accidentally react on it), and when a HTTP stream request comes in the parameter is checked and the subscription priority is set accordingly.

Associated revisions

Revision f0c315c4
Added by Jaroslav Kysela over 1 year ago

IPTV: Add $m $n $w formatters (mux name, service name, start subscription weight), fixes #2608

History

#1 Updated by Jaroslav Kysela over 2 years ago

  • Status changed from New to Rejected

EPG has weight 3. Use weight=3 as the parameter in the URL.

#2 Updated by Jaroslav Kysela over 2 years ago

  • Subject changed from Supply "subscription=epggrab" when connecting to HTTP muxes, handle accordingly to Pass subscription weight to IPTV URL
  • Status changed from Rejected to Accepted

Sorry. The client (in this case tvh) must give this value. It seems that we need to add more URL modifiers like ${service_name} for pipe.

#3 Updated by Jaroslav Kysela over 2 years ago

  • Assignee changed from John Törnblom to Jaroslav Kysela

#4 Updated by Jaroslav Kysela almost 2 years ago

  • Target version set to 4.2

#5 Updated by Jaroslav Kysela over 1 year ago

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

Also available in: Atom PDF