Kodi Community Forum

Full Version: "iPlayer WWW" add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2021-04-17, 20:55)DarrenHill Wrote: [ -> ]@CaptainT - using the current version with the two commits in, it's now just throwing a log error when you select the channel to play (before you get to the stream selection).

Log - https://paste.kodi.tv/jubiragudu.kodi

Editted to add - if you've got a Windows or MacOS machine to hand and you are going for a dual install, you can use a portable mode (wiki) install to keep things separate if you just want a dedicated working environment split off from a version to actually use.
My development platform is Linux, and I try to keep it clean (no manual installs, no build from source). Unfortunately, that makes it more difficult to keep two versions in parallel. I reverted to installing a portable version on Windows, and do the digging there. Looks like I was able to iron out all the different cases. 3.0.51 is on its way and brings DASH Radio to Leia.
OK. Happy to carry on testing before release (or after) if needed.
Thanks for 3.0.51 @CaptainT. I can confirm that Dash radio is working splendidly.
This is a fantastic add-on for BBC iPlayer but is it possible to develop something for ITV Hub? There appears to be no working ITV add-on for Kodi.
I still only get 540 SD streams for everything. I changed inputstream adaptive to select manually as previously advised but it doesn't give me any manual choice it just loads SD. I am using Kodi 18.9 Leia on a Firestick.
(2021-05-06, 15:22)chrissxuk Wrote: [ -> ]I still only get 540 SD streams for everything. I changed inputstream adaptive to select manually as previously advised but it doesn't give me any manual choice it just loads SD. I am using Kodi 18.9 Leia on a Firestick.


If you set inputstream.adaptive to manual selection, you need to change the bitrate during playback. Did you try that?

If so, which version of IA are you running, and what options do you get at all? It would be great if you could share a screenshot or screen „photo“ to see what is going on.
(2021-05-06, 15:29)CaptainT Wrote: [ -> ]
(2021-05-06, 15:22)chrissxuk Wrote: [ -> ]I still only get 540 SD streams for everything. I changed inputstream adaptive to select manually as previously advised but it doesn't give me any manual choice it just loads SD. I am using Kodi 18.9 Leia on a Firestick.


If you set inputstream.adaptive to manual selection, you need to change the bitrate during playback. Did you try that?

If so, which version of IA are you running, and what options do you get at all? It would be great if you could share a screenshot or screen „photo“ to see what is going on.
I didn't realise that I then had to manually select during playback I thought a list would appear when you selected the stream like I'm sure it used to. Anyway I've now done that with mixed results.

First I tried on my Android tablet which is running Matrix. That worked for catch-up but when I tried on live TV as soon as I selected the best video stream it just closed the channel down.

On my Firestick I was not able to select the video stream from video settings in either live or catch-up because it was greyed out.
(2021-05-06, 16:43)chrissxuk Wrote: [ -> ]On my Firestick I was not able to select the video stream from video settings in either live or catch-up because it was greyed out.

Sounds like IA on your Firestick is somewhat limited. Nothing the add-on can do about it.
@chrissxuk
Add-ons > VideoPlayer Inputstream > Inputstream Adaptive > Configure > Stream Selection > Manually select all streams
You will then be able to change the stream during playback
(2021-05-07, 01:02)matthuisman Wrote: [ -> ]@chrissxuk
Add-ons > VideoPlayer Inputstream > Inputstream Adaptive > Configure > Stream Selection > Manually select all streams
You will then be able to change the stream during playback

That's exactly what I did but I wasn't able to change the stream manually probably for the reasons given above by CaptainT. It will probably work on my Android box but haven't got round to testing that yet.ImageImage
I have Kodi 18.9 and the iplayer.www works some of the time, however, I have installed Kodi 19 and iplayer.www will not play any live channel or Programme list. It just states ‘Check Log for information’
When I go to log I find a number of items, but basically it states…..
Warning CAddonSetting[plugin.video.iplayer] failed to parse enablecondition “eq(-10,true)” of old setting definition for “radio-live-bitrate”
I do not use Radio, so they are at the initial setting, but ‘old setting definition for “radio-live-bitrate” I have the latest version of Kodi.
Any idea what this means and how to correct it.
Many thanks.
(2021-05-09, 15:38)OldElf Wrote: [ -> ]I have Kodi 18.9 and the iplayer.www works some of the time, however, I have installed Kodi 19 and iplayer.www will not play any live channel or Programme list. It just states ‘Check Log for information’
When I go to log I find a number of items, but basically it states…..
Warning CAddonSetting[plugin.video.iplayer] failed to parse enablecondition “eq(-10,true)” of old setting definition for “radio-live-bitrate”
I do not use Radio, so they are at the initial setting, but ‘old setting definition for “radio-live-bitrate” I have the latest version of Kodi.
Any idea what this means and how to correct it.
Many thanks.


Did you update Kodi from 18.9 to 19? If so, have you tried uninstalling and reinstalling the ads-on? I never saw this error message, but it may be related to an outdated contents of your settings.
Many thanks for a very quick reply. I thought that I uninstalled Kodi and that installed 19 then install iplayer. But I have just uninstalled iplayer and reinstalled it and it works great.

Many many thanks
Hi, I installed this addon today on Kodi 19 on Debian Bullseye, and live TV doesn't seem to work. I have Debian's kodi-inputstream-adaptive package installed.

From the logs it looks as though all streams return a 404 when it attempts to play them. This is the case with the Cloudfront and Akamai streams.

I'm happy to do any debugging necessary to help sort this out. Also, I presumed this was a better place to report than the github issues, as it looked more active, but if you'd rather I posted there instead I can do that.

Log extract:
Code:
2021-05-13 14:16:40.158 T:625872    INFO <general>: CPythonInvoker(18, /home/nick/.kodi/addons/plugin.video.iplayerwww/default.py): script successfully run
2021-05-13 14:16:40.186 T:591687    INFO <general>: VideoPlayer::OpenFile: plugin://plugin.video.iplayerwww/?url=http%3A%2F%2Fvs-cmaf-pushb-uk.live.cf.md.bbci.co.uk%2Fmanifest%2Fx%3D3%2Fi%3Durn%3Abbc%3
Apips%3Aservice%3As4cpbs%2Fpc_hd_abr_v2_cloudfrontms_live_http.mpd&mode=201&name=S4C+-+%5BI%5D%5BCOLOR+fff1f1f1%5DCloudfront%5B%2FCOLOR%5D%5B%2FI%5D&iconimage=%2Fhome%2Fnick%2F.kodi%2Faddons%2Fplugin.v
ideo.iplayerwww%2Fmedia%2Fs4cpbs.png&description=&subtitles_url=&logged_in=False
2021-05-13 14:16:40.204 T:625872    INFO <general>: Python interpreter stopped
2021-05-13 14:16:40.332 T:625876 WARNING <general>: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
2021-05-13 14:16:40.333 T:625876    INFO <general>: Creating InputStream
2021-05-13 14:16:40.369 T:625876    INFO <general>: AddOnLog: inputstream.adaptive: SetVideoResolution (2102 x 2116)
2021-05-13 14:16:40.440 T:625876    INFO <general>: AddOnLog: inputstream.adaptive: Successfully parsed .mpd file. #Periods: 1, #Streams in first period: 2, Type: live, Download speed: 0.0000 Bytes/s
2021-05-13 14:16:40.441 T:625876    INFO <general>: Creating Demuxer
2021-05-13 14:16:40.441 T:625876    INFO <general>: Opening stream: 1001 source: 256
2021-05-13 14:16:40.470 T:625876    INFO <general>: Creating video codec with codec id: 27
2021-05-13 14:16:40.470 T:625876    INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2021-05-13 14:16:40.470 T:625876    INFO <general>: Creating video thread
2021-05-13 14:16:40.470 T:625895    INFO <general>: running thread: video_thread
2021-05-13 14:16:40.471 T:625876    INFO <general>: Opening stream: 1002 source: 256
2021-05-13 14:16:40.500 T:625876    INFO <general>: Finding audio codec for: 86018
2021-05-13 14:16:40.502 T:625876    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2021-05-13 14:16:40.502 T:625876    INFO <general>: Creating audio thread
2021-05-13 14:16:40.502 T:625897    INFO <general>: running thread: CVideoPlayerAudio::Process()
2021-05-13 14:16:40.589 T:625894   ERROR <general>: AddOnLog: inputstream.adaptive: Download http://vs-cmaf-pushb-uk.live.cf.md.bbci.co.uk/content/x=3/v=pv10/b=1604032/t=3840/i=urn:bbc:pips:service:s4c
pbs/417948135.m4s failed with error: 404
2021-05-13 14:16:45.014 T:591687 WARNING <general>: Skipped 4 duplicate messages..
2021-05-13 14:16:45.014 T:591687 WARNING <general>: CGLContextEGL::SwapBuffers: last msc time greater than interval (1)
2021-05-13 14:16:45.032 T:591687    INFO <general>: GL: Maximum texture width: 16384
2021-05-13 14:16:45.989 T:625894   ERROR <general>: AddOnLog: inputstream.adaptive: Download http://vs-cmaf-pushb-uk.live.cf.md.bbci.co.uk/content/x=3/v=pv10/b=1604032/t=3840/i=urn:bbc:pips:service:s4c
pbs/417948135.m4s failed with error: 404
2021-05-13 14:16:51.534 T:625896   ERROR <general>: Skipped 5 duplicate messages..
2021-05-13 14:16:51.534 T:625896   ERROR <general>: AddOnLog: inputstream.adaptive: Download http://vs-cmaf-pushb-uk.live.cf.md.bbci.co.uk/content/x=3/a=pa3/b=96000/t=3840/i=urn:bbc:pips:service:s4cpbs
/417948135.m4s failed with error: 404
2021-05-13 14:16:53.989 T:591687    INFO <general>: Skipped 2 duplicate messages..
2021-05-13 14:16:53.989 T:591687    INFO <general>: GL: Maximum texture width: 16384
2021-05-13 14:16:55.019 T:625896   ERROR <general>: Skipped 1 duplicate messages..
2021-05-13 14:16:55.019 T:625896   ERROR <general>: AddOnLog: inputstream.adaptive: Download http://vs-cmaf-pushb-uk.live.cf.md.bbci.co.uk/content/x=3/a=pa3/b=96000/t=3840/i=urn:bbc:pips:service:s4cpbs
/417948135.m4s failed with error: 404
2021-05-13 14:17:00.336 T:591687 WARNING <general>: Skipped 4 duplicate messages..
2021-05-13 14:17:00.336 T:591687 WARNING <general>: CGLContextEGL::SwapBuffers: last msc time greater than interval (1)
2021-05-13 14:17:00.345 T:591687    INFO <general>: GL: Maximum texture width: 16384
2021-05-13 14:17:00.400 T:625896   ERROR <general>: AddOnLog: inputstream.adaptive: Download http://vs-cmaf-pushb-uk.live.cf.md.bbci.co.uk/content/x=3/a=pa3/b=96000/t=3840/i=urn:bbc:pips:service:s4cpbs
/417948135.m4s failed with error: 404
2021-05-13 14:17:02.704 T:625876    INFO <general>: Skipped 2 duplicate messages..
2021-05-13 14:17:02.704 T:625876    INFO <general>: Process - eof reading from demuxer
Thanks for this add-on, I've been using it for a couple of years now and overall it's been pretty good.
One niggly little problem though is that it doesn't seem to register that I've watched something with the BBC website so the next episode in the "watching" page never moves on unless I manually go to the website, start the stream and allow 30 seconds to play at both the start and end of the video.
Also, do you have any plans to add integration with simple iptv manager for the live channels? This would be really useful!

I'm using v19.1 Matrix, Windows x64 (Installer version, not the one from the app store)