beardypig/plugin.video.streamlink

Link works on streamlink 0.8.1 command line but not on Kodi

Opened this issue · 4 comments

I have an http link to a m3u8. This would not play on VLC or on streamlink plugin on kodi, but does play on 0.8.1 streamlink command line. If there are significant updates to the hls code in streamlink, would it be possible to update the plugin to the latest streamlink?

On further inspection I was able to play the link on streamlink 0.6.0 command line by changing the hls://.... to hlsvariant://....

Now I would like to make sure I am using this properly. I have setup the beardpig repo and installed streamlink plugin.

From my own plugin I play the following link (where stream_url is set to hlsvariant://..... and uality to 'best')

plugin://plugin.video.streamlink/?url={}&q={}".format(stream_url, quality)

Is that correct?

That should work. However, HLS Streams might not have the best support. I'd recommend just using Kodi to play M3U8 URLs which it can do natively.

Thanks. I will try direct play on Kodi.

Further debugging found the issue. Command line streamlink and Kodi were using different User-Agent value, one of which was rejected by the URL host. I forced the User-Agent on the Kodi URL.

Direct play on Kodi does not work for the links I have. Resolving through streamlink works. I did not look into it as it works for me.

Would you be able to update this plugin for streamlink 0.8.1 ? There are enough fixes there to be worth it.