Automatic IPTV Network » History » Version 8

Mark Clarkstone, 2017-04-25 14:24
Make things a little clearer.

1 1 Jaroslav Kysela
h1. Automatic IPTV Network
3 2 Mark Clarkstone
The IPTV Automatic Network parses a playlist (in m3u format) and creates all muxes from this list. 
4 1 Jaroslav Kysela
5 2 Mark Clarkstone
h2. Identifier 
7 8 Mark Clarkstone
The URL (including query string) is used as the identifier, changes to a URL would mean Tvheadend sees the entry as a new "mux". Existing muxes/URLs, already loaded, that are no longer present in the playlist will be removed. 
8 2 Mark Clarkstone
h2. Scanning
11 3 Mark Clarkstone
Tvheadend will (by default) probe each entry in the playlist for service details, depending on the size of the playlist, this can take a very long time. Some service providers don't allow this kind of probing and may deny (or rate limit) access to the streams, leading to scan failures. In such cases you must disable the probing.
12 2 Mark Clarkstone
h2. Disable Service Probing/Speed up Scanning/Create Services Without Scanning
15 4 Mark Clarkstone
To create services without scanning/service probing you must set a _Service ID_ (usually this value is 1) and turn off _Scan after creation_ during the creation of the _IPTV Automatic Network_. Existing networks can be edited and then _forced scanned_ to achieve the same outcome. The prerequisite is that the imported IPTV MPEG-TS stream(s) only have one service with identical service identification (Service ID - SID).
16 2 Mark Clarkstone
h2. Determining Service ID (SID)
To determine the correct SID for your playlist follow these steps:
# Open the m3u playlist in your favourite text editor and copy a URL, any url as long as it points to a MPEGTS stream. *If you've already imported your playlist, done a scan & have successfully scanned  service(s) you can skip this and the next two steps*.
# Create a new (temporary) IPTV network (not a _IPTV Automatic Network_) and add the copied URL as a new mux. 
# Tvheadend should now probe the URL for service details. 
# Now, In the _Services_ tab, you should see a service in the grid, along with lots of other details, take note of the value under the _Service ID_ column. See notes 1/2 below if you can't see the column or value.
# Now that you have the correct SID, you can enter it into the _Service ID_ field when creating (or editing) your automatic IPTV network. See note 1 below.
h2. Notes
# In order to see both _Service ID_ and _Scan after creation_, or the _Service ID_ column, the user interface _View level_ must be set to _Expert_. 
30 5 Mark Clarkstone
# If you have no value under the _Service ID_ column, Tvheadend has yet to probe the service or has failed to do so, check the log (click the bar at the bottom of the webui) for details. You can also force a scan/probe of a service by copying the play link (play icon, from the _Services_ tab) into your favourite media player.