Kodi Community Forum
Release "iPlayer WWW" add-on - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Release "iPlayer WWW" add-on (/showthread.php?tid=353349)



RE: New plugin "iPlayer WWW" - tredman - 2016-12-07

(2016-12-07, 14:05)CaptainT Wrote:
(2016-12-07, 10:15)Martijn Wrote: Who says?

Sorry, I didn't check the progress recently. My impression was still based on what was going on about a year back.

(2016-12-07, 10:15)Martijn Wrote: DASH works just fine with v17 and YouTube add-on from repo using inputstream.adaptive

That sounds great! Will need to test that once I am back. I just had a quick look at inputstream.adaptive and came accross this:

Quote:Adaptive bitrate switching is prepared but currently not yet activated

That would be the end of all of the bitrate setting nightmares. Rofl

However, I assume that would break compatibility of the add-on with older versions of Kodi, right? What is the approximate release date of Krypton?
Current add-on works fine on krypton betas for me, including live TV last time I checked (never have much use for it since i have a tvheadend freeview setup)


Edit - that was meant as a plea to not change what's not broken Smile I love this add-on.


RE: New plugin "iPlayer WWW" - popcornmix - 2016-12-08

(2016-12-07, 10:19)Martijn Wrote: Maybe @popcornmix as he's the only one that lives in UK

Tested several live channels using LibreELEC Krpyton on Raspberry Pi. All worked fine.
It won't work with Jarvis builds.


RE: New plugin "iPlayer WWW" - primaeval - 2016-12-08

(2016-12-08, 17:32)popcornmix Wrote:
(2016-12-07, 10:19)Martijn Wrote: Maybe @popcornmix as he's the only one that lives in UK

Tested several live channels using LibreELEC Krpyton on Raspberry Pi. All worked fine.
It won't work with Jarvis builds.

The BBC mpd links?
eg
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/dash/uk/dash_pc/ak/bbc_two_england.mpd


RE: New plugin "iPlayer WWW" - popcornmix - 2016-12-08

(2016-12-08, 17:57)primaeval Wrote: The BBC mpd links?
eg
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/dash/uk/dash_pc/ak/bbc_two_england.mpd

I'm using the "Watch Live" -> "BBC One" option in add-on.
The URL looks like "http://vs-hls-uk-live.akamaized.net/pool_30/live/bbc_one_hd/bbc_one_hd.isml/bbc_one_hd-pa4%3d128000-video%3d5070016.m3u8"


RE: New plugin "iPlayer WWW" - primaeval - 2016-12-08

(2016-12-08, 18:07)popcornmix Wrote:
(2016-12-08, 17:57)primaeval Wrote: The BBC mpd links?
eg
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/dash/uk/dash_pc/ak/bbc_two_england.mpd

I'm using the "Watch Live" -> "BBC One" option in add-[/php]on.
The URL looks like "http://vs-hls-uk-live.akamaized.net/pool_30/live/bbc_one_hd/bbc_one_hd.isml/bbc_one_hd-pa4%3d128000-video%3d5070016.m3u8"

Thanks for checking.

We were hoping the new BBC mpeg-dash streams would work in Krypton. The other day jcorsaut and I couldn't get the live normal live streams working. The only thing that worked were the dash streams in a normal browser.
If/when the BBC moves over to only using mpeg-dash we are screwed unless someone can get them working in Kodi.


RE: New plugin "iPlayer WWW" - popcornmix - 2016-12-09

(2016-12-08, 18:13)primaeval Wrote: We were hoping the new BBC mpeg-dash streams would work in Krypton. The other day jcorsaut and I couldn't get the live normal live streams working. The only thing that worked were the dash streams in a normal browser.
If/when the BBC moves over to only using mpeg-dash we are screwed unless someone can get them working in Kodi.

I've had a chat with peak3d who owns the inputstream add-on.

In theory if you create a bbc.strm file containing:
Code:
#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=mpd
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/dash/uk/dash_pc/llnw/bbc_two_england.mpd

then play the strm file it will handle the dash correctly.
But there is currently an issue stopping this working which he hopes to have fixed in next update (1.0.4).

So hopefully we'll be able to play these streams soon.


RE: New plugin "iPlayer WWW" - popcornmix - 2016-12-09

And inputstream.adaptive has updated and I can how play the dash stream.

I suspect you'll be able to test in tonight's Milhouse builds.

Note: currently on first play you get 384x216 resolution. Don't worry, stop and restart and you should get 1280x720.
It measures the bandwidth on first play and uses that on subsequent plays to pick a better stream.
Eventually this will be dynamic and will switch while playing.


RE: New plugin "iPlayer WWW" - jjd-uk - 2016-12-09

If you need guidance on adding dash support then perhaps use the Youtube add-on as a guide, from a quick search this is the Youtube add-on history for dash https://github.com/Kolifanes/plugin.video.youtube/pulls?utf8=%E2%9C%93&q=is%3Apr%20is%3Aclosed%20dash


RE: New plugin "iPlayer WWW" - primaeval - 2016-12-09

@popcornmix and @jjd-uk Excellent. Thanks.


RE: New plugin "iPlayer WWW" - popcornmix - 2016-12-09

peak3d comments:
Quote:from python side the #kodiprop things are listItem properties
listItem.setProperty("inputstream.manifest_type","mpd") for example
so they don't have to generate strm files

Edit: More example code:
https://github.com/liberty-developer/plugin.video.prime_instant/blob/master/default.py#L740


RE: New plugin "iPlayer WWW" - primaeval - 2016-12-09

(2016-12-09, 18:29)popcornmix Wrote: peak3d comments:
Quote:from python side the #kodiprop things are listItem properties
listItem.setProperty("inputstream.manifest_type","mpd") for example
so they don't have to generate strm files

Edit: More example code:
https://github.com/liberty-developer/plugin.video.prime_instant/blob/master/default.py#L740

Do you think it should work on all devices and are there any things we need to be aware of?


RE: New plugin "iPlayer WWW" - peak3d - 2016-12-09

(2016-12-09, 19:38)primaeval Wrote: Do you think it should work on all devices and are there any things we need to be aware of?

Because its unencrypted content (no DRM stuff) it should runs on all devices with kodi >= krypton b6
inputstream.adaptive has to be the current version 1.0.4 (and above)

Edit: By default inputstream.adaptive is disabled on fresh kodi implementations.
It has to be enabled manually.
@popcornmix wouldn't it be a good idea to either let external plugins enable it or set it enabled by default??


RE: New plugin "iPlayer WWW" - primaeval - 2016-12-12

(2016-12-09, 17:51)popcornmix Wrote:
(2016-12-08, 18:13)primaeval Wrote: We were hoping the new BBC mpeg-dash streams would work in Krypton. The other day jcorsaut and I couldn't get the live normal live streams working. The only thing that worked were the dash streams in a normal browser.
If/when the BBC moves over to only using mpeg-dash we are screwed unless someone can get them working in Kodi.

I've had a chat with peak3d who owns the inputstream add-on.

In theory if you create a bbc.strm file containing:
Code:
#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=mpd
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/dash/uk/dash_pc/llnw/bbc_two_england.mpd

then play the strm file it will handle the dash correctly.
But there is currently an issue stopping this working which he hopes to have fixed in next update (1.0.4).

So hopefully we'll be able to play these streams soon.

(2016-12-09, 18:07)popcornmix Wrote: And inputstream.adaptive has updated and I can how play the dash stream.

I suspect you'll be able to test in tonight's Milhouse builds.

Note: currently on first play you get 384x216 resolution. Don't worry, stop and restart and you should get 1280x720.
It measures the bandwidth on first play and uses that on subsequent plays to pick a better stream.
Eventually this will be dynamic and will switch while playing.

(2016-12-09, 20:10)peak3d Wrote:
(2016-12-09, 19:38)primaeval Wrote: Do you think it should work on all devices and are there any things we need to be aware of?

Because its unencrypted content (no DRM stuff) it should runs on all devices with kodi >= krypton b6
inputstream.adaptive has to be the current version 1.0.4 (and above)

Edit: By default inputstream.adaptive is disabled on fresh kodi implementations.
It has to be enabled manually.
@popcornmix wouldn't it be a good idea to either let external plugins enable it or set it enabled by default??

I had a go with the bbc.strm file today in nightly on Windows but I couldn't get it to play.
(17.0-BETA7 Git:20161211-aeb22f6). Platform: Windows NT x86 32-bit

When you say Milhouse builds do you mean his LibreELEC builds at Milhouse's Github?
That is all my Google-fu could come up with.


RE: New plugin "iPlayer WWW" - chewitt - 2016-12-12

RPi Zero/RPi1: http://milhouse.libreelec.tv/builds/master/RPi
RPi2/RPi3: http://milhouse.libreelec.tv/builds/master/RPi2
Generic (x86): http://milhouse.libreelec.tv/builds/master/Generic

^^ use the highest number builds from there


RE: New plugin "iPlayer WWW" - popcornmix - 2016-12-12

Pi Milhouse build thread
x86 Milhouse build thread

The BBC dash stream is working for me with last night's Milhouse Pi build.