You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`#EXTGRP`: A semi-colon separted list of channel groups. Note that this is a begin directive, i.e. all channels following this directive will have these groups until an empty `#EXTGRP` directive is reached. These groupings wil also be reset by any `group-title` tag for an `#EXTINF` channel directive.
529
533
-`#KODIPROP`: A single property in the format `key=value` that can be passed to Kodi. Multiple can be passed each on a separate line.
530
534
-`#EXTVLCOPT`: A single property in the format `key=value` that can be passed to Kodi. Multiple can be passed each on a separate line. Note that if either a `http-user-agent` or a `http-referrer` property is found it will added to the URL as a HTTP header as `user-agent` or `referrer` respectively if not already provided in the URL. These two fields specifically will be dropped as properties whether or not they are added as header values. They will be added in the same format as the `URL` below.
535
+
-`#WEBPROP`: Properties used for web scraping streams from HTML pages. Multiple can be passed each on a separate line.
536
+
-`web-regex`: A regular expression pattern to extract the stream URL from the HTML content. The first capture group will be used as the stream URL. The URL must be captured within parentheses in the regex pattern, e.g. "([^"]+\.m3u8)".
537
+
-`web-headers`: HTTP headers to be used when making the request to the web page. Format is `name1:value1&name2:value2`.
531
538
-`#EXT-X-PLAYLIST-TYPE`: If this element is present with a value of `VOD` (Video on Demand) the stream is marked as not being live.
532
539
-`URL`: The final line in each channel stanza is the URL used for the stream. Appending `|user-agent=<agent-name>` will change the user agent. Other HTTP header fields can be set in the same fashion: `|name1=val1&name2=val2` etc. The header fields supported in this way by Kodi can be found [here](#http-header-fields-supported-by-kodi). If you want to pass custom headers that are not supported by Kodi you need to prefix them with an `!`, for example: : `|!name1=val1&!name2=val2`.
540
+
-`@`: When a URL starts with '@' symbol (e.g. '@http://path-to-stream/live/channel-p.html'), it indicates that the URL points to a web page that contains the actual stream URL. The addon will attempt to extract the stream URL from this web page using either the provided `web-regex` pattern or default patterns. This is useful when the actual stream URL is embedded within a web page rather than being directly accessible.
533
541
534
542
When processing an XMLTV file the addon will attempt to find a channel loaded from the M3U that matches the EPG channel. It will cycle through the full set of M3U channels checking for one condition on each pass. The first channel found to match is the channel chosen for this EPG channel data.
0 commit comments