Project

General

Profile

Automatic IPTV Network » History » Version 7

Mark Clarkstone, 2017-04-25 14:21

1 1 Jaroslav Kysela
h1. Automatic IPTV Network
2
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 
6
7 7 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 which no longer present in the playlist are discarded. 
8 2 Mark Clarkstone
9
h2. Scanning
10
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
13
h2. Disable Service Probing/Speed up Scanning/Create Services Without Scanning
14
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
17
h2. Determining Service ID (SID)
18
19
To determine the correct SID for your playlist follow these steps:
20
21
# 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*.
22
# Create a new (temporary) IPTV network (not a _IPTV Automatic Network_) and add the copied URL as a new mux. 
23
# Tvheadend should now probe the URL for service details. 
24
# 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.
25
# 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.
26
27
h2. Notes
28
29
# 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.