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-02-23, 21:51)CaptainT Wrote: [ -> ]
(2021-02-21, 09:06)CaptainT Wrote: [ -> ]I figured I should get an early morning start today. Turns out the changes to get DASH working were less complicated than I thought. I created a beta release on Github. Download it from this link and install manually in Kodi if you feel adventurous.

I am sure there are still some bugs that need ironing out. Please report issues here or directly on Github.

From now on, the add-on should behave exactly as the website. No more "different streams", it is all the same.
Has nobody given this a try or is it just working like a charm?

I am having this error with 3.0.50-beta version:

2021-02-25 10:28:54.833 T:1466929376   DEBUG: CAddonSettings[plugin.video.iplayerwww]: loading setting values
2021-02-25 10:28:54.833 T:1466929376   DEBUG: CSettingsManager: requested setting (licence_warning_shown) was not found.
2021-02-25 10:28:54.833 T:1466929376   DEBUG: CAddonSettings[plugin.video.iplayerwww]: failed to find definition for setting licence_warning_shown. Creating$
2021-02-25 10:28:55.422 T:1915662352   DEBUG: ------ Window Init (DialogConfirm.xml) ------
2021-02-25 10:28:57.986 T:1625772256   DEBUG: PushCecKeypress - received key  b duration 0 (rep:0 size:0)
2021-02-25 10:28:57.986 T:1625772256   DEBUG: PushCecKeypress - added key  b
2021-02-25 10:28:58.018 T:1915662352   DEBUG: HandleKey: 11 (0x0b, obc244) pressed, action is Select
2021-02-25 10:28:58.055 T:1625772256   DEBUG: PushCecKeypress - received key  b duration 70 (rep:0 size:0)
2021-02-25 10:28:58.056 T:1625772256   DEBUG: PushCecKeypress - ignored key  b
2021-02-25 10:28:58.345 T:1915662352   DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
2021-02-25 10:28:58.389 T:1466929376   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: 'keyword'
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/plugin.video.iplayerwww/default.py", line 222, in <module>
                                                Video.AddAvailableLiveStreamItemSelector(name, url, iconimage)
                                              File "/home/osmc/.kodi/addons/plugin.video.iplayerwww/resources/lib/ipwww_video.py", line 884, in AddAvailable$
                                                return AddAvailableLiveDASHStreamItem(name, channelname, iconimage)
                                              File "/home/osmc/.kodi/addons/plugin.video.iplayerwww/resources/lib/ipwww_video.py", line 891, in AddAvailable$
                                                streams = ParseLiveDASHStreams(channelname)
                                              File "/home/osmc/.kodi/addons/plugin.video.iplayerwww/resources/lib/ipwww_video.py", line 1275, in ParseLiveDA$
                                                mediaselector = ParseMediaselector(channelname)
                                              File "/home/osmc/.kodi/addons/plugin.video.iplayerwww/default.py", line 93, in <module>
                                                keyword = utf8_unquote_plus(params["keyword"])
                                            KeyError: 'keyword'
                                            -->End of Python script error report<--
2021-02-25 10:28:58.390 T:1466929376   DEBUG: onExecutionDone(9, /home/osmc/.kodi/addons/plugin.video.iplayerwww/default.py)
2021-02-25 10:28:58.525 T:1466929376    INFO: Python interpreter stopped
2021-02-25 10:28:58.526 T:1466929376   DEBUG: Thread LanguageInvoker 1466929376 terminating
2021-02-25 10:28:58.531 T:1492107488   DEBUG: Thread scriptobs 1492107488 terminating
2021-02-25 10:28:58.532 T:1915662352   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
2021-02-25 10:28:58.532 T:1915662352   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.iplayerwww/?url=bbc_one_hd&mode=203&$
2021-02-25 10:28:58.532 T:1915662352   DEBUG: Playlist Player: one or more items failed to play... aborting playback
2021-02-25 10:28:58.532 T:1915662352   DEBUG: ------ Window Init (DialogConfirm.xml) ------
2021-02-25 10:28:58.533 T:1915662352   DEBUG: ------ Window Init (DialogNotification.xml) ------
2021-02-25 10:29:03.978 T:1915662352   DEBUG: ------ Window Deinit (DialogNotification.xml) ------

Can anyone help me? Thank you
(2021-02-25, 12:30)numbetto Wrote: [ -> ]
(2021-02-23, 21:51)CaptainT Wrote: [ -> ]
(2021-02-21, 09:06)CaptainT Wrote: [ -> ]I figured I should get an early morning start today. Turns out the changes to get DASH working were less complicated than I thought. I created a beta release on Github. Download it from this link and install manually in Kodi if you feel adventurous.

I am sure there are still some bugs that need ironing out. Please report issues here or directly on Github.

From now on, the add-on should behave exactly as the website. No more "different streams", it is all the same.
Has nobody given this a try or is it just working like a charm?

I am having this error with 3.0.50-beta version:

2021-02-25 10:28:54.833 T:1466929376   DEBUG: CAddonSettings[plugin.video.iplayerwww]: loading setting values
2021-02-25 10:28:54.833 T:1466929376   DEBUG: CSettingsManager: requested setting (licence_warning_shown) was not found.
2021-02-25 10:28:54.833 T:1466929376   DEBUG: CAddonSettings[plugin.video.iplayerwww]: failed to find definition for setting licence_warning_shown. Creating$
2021-02-25 10:28:55.422 T:1915662352   DEBUG: ------ Window Init (DialogConfirm.xml) ------
2021-02-25 10:28:57.986 T:1625772256   DEBUG: PushCecKeypress - received key  b duration 0 (rep:0 size:0)
2021-02-25 10:28:57.986 T:1625772256   DEBUG: PushCecKeypress - added key  b
2021-02-25 10:28:58.018 T:1915662352   DEBUG: HandleKey: 11 (0x0b, obc244) pressed, action is Select
2021-02-25 10:28:58.055 T:1625772256   DEBUG: PushCecKeypress - received key  b duration 70 (rep:0 size:0)
2021-02-25 10:28:58.056 T:1625772256   DEBUG: PushCecKeypress - ignored key  b
2021-02-25 10:28:58.345 T:1915662352   DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
2021-02-25 10:28:58.389 T:1466929376   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: 'keyword'
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/plugin.video.iplayerwww/default.py", line 222, in <module>
                                                Video.AddAvailableLiveStreamItemSelector(name, url, iconimage)
                                              File "/home/osmc/.kodi/addons/plugin.video.iplayerwww/resources/lib/ipwww_video.py", line 884, in AddAvailable$
                                                return AddAvailableLiveDASHStreamItem(name, channelname, iconimage)
                                              File "/home/osmc/.kodi/addons/plugin.video.iplayerwww/resources/lib/ipwww_video.py", line 891, in AddAvailable$
                                                streams = ParseLiveDASHStreams(channelname)
                                              File "/home/osmc/.kodi/addons/plugin.video.iplayerwww/resources/lib/ipwww_video.py", line 1275, in ParseLiveDA$
                                                mediaselector = ParseMediaselector(channelname)
                                              File "/home/osmc/.kodi/addons/plugin.video.iplayerwww/default.py", line 93, in <module>
                                                keyword = utf8_unquote_plus(params["keyword"])
                                            KeyError: 'keyword'
                                            -->End of Python script error report<--
2021-02-25 10:28:58.390 T:1466929376   DEBUG: onExecutionDone(9, /home/osmc/.kodi/addons/plugin.video.iplayerwww/default.py)
2021-02-25 10:28:58.525 T:1466929376    INFO: Python interpreter stopped
2021-02-25 10:28:58.526 T:1466929376   DEBUG: Thread LanguageInvoker 1466929376 terminating
2021-02-25 10:28:58.531 T:1492107488   DEBUG: Thread scriptobs 1492107488 terminating
2021-02-25 10:28:58.532 T:1915662352   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
2021-02-25 10:28:58.532 T:1915662352   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.iplayerwww/?url=bbc_one_hd&mode=203&$
2021-02-25 10:28:58.532 T:1915662352   DEBUG: Playlist Player: one or more items failed to play... aborting playback
2021-02-25 10:28:58.532 T:1915662352   DEBUG: ------ Window Init (DialogConfirm.xml) ------
2021-02-25 10:28:58.533 T:1915662352   DEBUG: ------ Window Init (DialogNotification.xml) ------
2021-02-25 10:29:03.978 T:1915662352   DEBUG: ------ Window Deinit (DialogNotification.xml) ------

Can anyone help me? Thank you
That's a very odd error.

- Does that error occur for all programmes or just some of them?
- Which version of Kodi/OSMC are you using?
-Can you try removing the add-on completely, and then reinstalling it from scratch, please?
(2021-02-25, 12:39)CaptainT Wrote: [ -> ]
(2021-02-25, 12:30)numbetto Wrote: [ -> ]
(2021-02-23, 21:51)CaptainT Wrote: [ -> ]Has nobody given this a try or is it just working like a charm?
That's a very odd error.

- Does that error occur for all programmes or just some of them?
- Which version of Kodi/OSMC are you using?
-Can you try removing the add-on completely, and then reinstalling it from scratch, please?
I am using latest OSMC (2020.11-1). i just did a fresh install yesterday.
I am having this problem for all programmes.
I already tried removing the add-on completely even removing .kodi folder but the same happens.
(2021-02-25, 12:45)numbetto Wrote: [ -> ]
(2021-02-25, 12:39)CaptainT Wrote: [ -> ]
(2021-02-25, 12:30)numbetto Wrote: [ -> ] 
That's a very odd error.

- Does that error occur for all programmes or just some of them?
- Which version of Kodi/OSMC are you using?
-Can you try removing the add-on completely, and then reinstalling it from scratch, please?
I am using latest OSMC (2020.11-1). i just did a fresh install yesterday.
I am having this problem for all programmes.
I already tried removing the add-on completely even removing .kodi folder but the same happens.

I solved the issue. It was related to VPN and DNS nameservers specified in etc/resolv.conf.
Can we increase the buffer? The video keeps stopping especially at rush hours. Thank you.
I’ve just had  kodi 19 update and it has disabled iplayer.www.  No way can I reinstall it or Enable it.  
Sooooooo be very careful if you want UK TV. Kodi on the downward slope.
(2021-02-26, 19:38)OldElf Wrote: [ -> ]I’ve just had  kodi 19 update and it has disabled iplayer.www.  No way can I reinstall it or Enable it.  
Sooooooo be very careful if you want UK TV. Kodi on the downward slope.

The addon needs updating to Python 3 to work with Matrix, pure and simple. @CaptainT is well aware of this, and has indicated that it is in progress.

In the meantime, if you want to make changes yourself to get the addon working under Matrix, please see posts 2326 and 2327 in this thread. With those mods it works fine.

As to being on a downward slope, the update to Python 3 was mandatory as Python 2 (the language in which all the non-binary addons are written) is now depreciated and no longer supported by its authors. So now we just need the various addon authors who are still supporting their work to make the update, and of course those addons which are no longer supported by their authors will no longer work unless forked and updated by someone else.
First beta for Kodi 19/Matrix is available on Github. Please report positive and negative feedback here, so I can decide when to release this to the official add-on repo.

There are still issues with BBC 2 live. For those with some background understanding: The website now uses BBC 2 England as the standard for BBC 2. This is an HD stream. If I attempt to play the same stream in Kodi it crashes. I have been unable to figure out why so far.
Ubelievable work dude. I barely had time to get pissed off with my Android TV auto-updating Kodi before you stepped in and saved the day.
(2021-02-27, 09:28)CaptainT Wrote: [ -> ]First beta for Kodi 19/Matrix is available on Github. Please report positive and negative feedback here, so I can decide when to release this to the official add-on repo.

There are still issues with BBC 2 live. For those with some background understanding: The website now uses BBC 2 England as the standard for BBC 2. This is an HD stream. If I attempt to play the same stream in Kodi it crashes. I have been unable to figure out why so far.

Update on the BBC2 issue: I believe this is an issue in inputstream.adaptive. It seems as though the time index is calculated way off so that the segments inputstream.adaptive tries to load do not exist any more. It gets 404 errors, and at some point gives up and crashes. If I attempt to play the same stream in VLC it works fine. Looks like this is not an issue of the add-on, but of inputstream.adaptive. There are several similar bug reports for inputstream.adaptive already, so I see no point in further digging on our end.
Please report positive and negative feedback here, so I can decide when to release this to the official add-on repo.

Nothing works for UK TV....... Lowest Kodi has got....... I can now see why most people in the UK laugh when I mention Kodi.  Will never use again as there are better apps out there.
(2021-02-28, 11:14)OldElf Wrote: [ -> ]Please report positive and negative feedback here, so I can decide when to release this to the official add-on repo.

Nothing works for UK TV....... Lowest Kodi has got....... I can now see why most people in the UK laugh when I mention Kodi.  Will never use again as there are better apps out there.
Can you be more specific as to what "UK TV" means, please?

Everything I tested myself worked fine. Except for the BBC2 live issue.
I have had iplayer.www installed for many years, in fact since Kodi was called XBMC. And have been able to watch BBC and ITV, Live and catch-up.
[font]However, now when I enter Kodi there is an icon of iplayer.www. Tap it ……nothing.[/font]
Go to Add-on tab…..No icons.
Go to system….. Kodi add-ons repository…… My add-ons…….. Video add-ons…..
BBC….  Disabled      ITV…. Disables
The system will not allow me to enable them. It states…..’The add-on is not compatible with this version of Kodi’.
When BBC worked I have everything……Live and Catch-up. Tried everything enable it but nothing.
How can a new version (19) disable their own apps?
@CaptainT - testing beta 4.0.0 on Matrix (Windows), like yourself everything works fine except live BBC2.

@OldElf - with apologies to CaptainT for temporarily digressing his thread, allow me to explain a little what's happening.

The addons Kodi uses are written in Python (a programming language) which comes in two versions, 2 and 3. Python 2 is what was used up until Kodi Leia (v18), but that language is now no longer supported by its authors and has been depreciated. That means it will no longer get any updates, bug fixes or security patches, and so is now a risk for hacking and other security issues and is being phased out across the whole internet.

Matrix has moved to Python 3, which is fully supported by its authors and is being updated. Unfortunately the two versions of Python are not compatible with one another, hence why any addon written for Leia or older versions will not work on Matrix. They need to be updated, which is what CaptainT and many other addon authors are now doing. For iPlayer-WWW there is the beta 4.0.0 version I mentioned above (available here as a zip file that you can install into Kodi Matrix).

As not all addons are still being supported by their authors, some of the addons will never be updated to Python 3 and so are basically dead and unusable unless someone else takes over them and updates them to Python 3.

Over time it may well be that whole OS's stop supporting or allowing Python 2 as it becomes more and more of a security risk as the inevitable bugs in it are found but will not be fixed. So the move to Python 3 is mandatory, and it could even be that various OS's no longer allow Python 2 apps to be distributed or run in them, at which point Leia and earlier versions of Kodi would become entirely non-functional anyway.

We now return you to your regularly scheduled addon support thread...
Thanks for the feedback @DarrenHill and @csrster .

There was still a bug in 4.0.0~beta, which made the add-on unusable on a fresh install. Also, I removed quite a bit of code that is no longer required as it was only needed for HLS streams. Beta2 is available on GitHub and should be close to final.