Recent Changes - Search:

LiveStreamsPro

PmWiki

pmwiki.org

edit SideBar

SLProxy

StreamLink script module support

To play streams via the StreamLink script module (https://github.com/jairoxyz/script.module.streamlink) you can use the <slproxy> tag.

You can use a normal url and let StreamLink find the best protocol or plugin to play the stream. Or you specify the protocol, such as hlsvariant://, hls://, httpstream:// or rtmp://. You also have the option to specify the stream quality for multibitrate streams using $$QUALITY=my_quality$$.

You can also use the proxy as a stream-url resolver only by adding $$RESOLVEONLY$$ to the link, taking advantage of the many existing StreamLink plugins (https://streamlink.github.io/plugin_matrix.html). If you omit the $$QUALITY=$$ option, the resolver will let you select the quality if more than one are available. The returned url for the selecred quality is then passed directly to the Kodi player.

If you want to use a http or https proxy for all streamlink requests, you can add that with the $$HTTPPROXY=http(s)://proxy_ip:proxy_port$$ parameter.

<item>
<title>SLPROXY</title>        
<slproxy>http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8|Referer=google.com&amp;User-Agent=Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 Mobile/14E5239e Safari/602.1</slproxy>
</item>

<item>
<title>SLPROXY with protocol and quality</title>        
<slproxy>hlsvariant://http://cdn-fms.rbs.com.br/vod/hls_sample1_manifest.m3u8$$QUALITY=500k$$|Referer=google.com&amp;User-Agent=Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 Mobile/14E5239e Safari/602.1</slproxy>
<thumbnail></thumbnail>
</item>

Resolve 24h using RTVE plugin

<item>
<title>SLPROXY as resolver only</title>        
<slproxy>http://www.rtve.es/directo/canal-24h$$RESOLVEONLY$$</slproxy>
<thumbnail></thumbnail>
</item>



You can also pass custom key uri for AES encrypted HLS.

<item>
<title>SLPROXY with custom key uri</title>        
<slproxy>hlsvariant://http://hlslive-l3c.med2.med.nhl.com/token=exp=1537664460~id=1537288867600/master_wired60.m3u8|User-Agent=Mozilla/5.0 (iPhone; CPU iPhone OS 10_3 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.75 Mobile/14E5239e Safari/602.1&amp;CustomKeyUri=https://107.6.182.249/ws/media/mf/v2.3/key/silk/mediaid/61113703/kid/70119190",IV=0x7AB17A1AE22ABB576CB3F4EE3A5077BF</slproxy>
<thumbnail></thumbnail>
</item>




Since version 2.9.7 of LSPRO and 0.3.4 of SLProxy, you can rewrite VOD playlists with a regular expression search term and a replacement string. The format is a Json dict like {"regex":"my_regex_string", "repl":"my_replacement_string"} which then has to be base64 encoded and added to the link url using $$M3U8MOD=base64encodeddict$$.
Note that streamlink will not process the playlist, it will be rewritten by the proxy and passed to the Kodi player.



<item>
<item>
<title>SLPROXY TEST VOD rewrite</title>        
<slproxy>hls://http://my_vod_url$$M3U8MOD=eyJyZWdleCI6Im15X3JlZ2V4X3N0cmluZyIsICJyZXBsIjoibXlfcmVwbGFjZW1lbnRfc3RyaW5nIn0=$$</slproxy>
<thumbnail></thumbnail>        
</item>


see also https://streamlink.github.io/cli.html

Edit - History - Print - Recent Changes - Search
Page last modified on August 27, 2020, at 03:56 PM
Free Web Hosting