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: [Release] New plugin "iPlayer WWW" - bry - 2015-10-20

(2015-10-20, 07:36)CaptainT Wrote:
(2015-10-20, 02:14)bry- Wrote: @CaptainT unfortunately I can no longer export to PseudoTV Live in the latest version.

Which was the last version that worked for you?

I have a guess why this may no longer work, but in that case it shouldn't have worked in the first place. Angel
Thanks for quick reply. Rc4 is the last version I had before the repo update to 1.22.


RE: [Release] New plugin "iPlayer WWW" - CaptainT - 2015-10-20

(2015-10-20, 09:28)skydivertricky Wrote:
(2015-10-19, 19:00)CaptainT Wrote: Are you referring to the Channels->BBC One/Two/Three/Whatever menu on the top?

If so, that does not sort programmes by channel. It only gives you a selection of about 30-40 highlights from this particular channel. This page certainly can be added, but it is basically just a special "Highlights per channel" category.
Yes, this was all I meant.
I would like these categories as this is most of what we watch anyway. Finding the things to watch in the long lists means my wife often just uses the TV BBC IP UI instead of Kodi.

Thanks for the explanation and my apologies for the previous misunderstanding. I will create a ticket that these "Highlights per channel" shall be added in the future.


RE: [Release] New plugin "iPlayer WWW" - CaptainT - 2015-10-20

(2015-10-20, 11:40)bry- Wrote:
(2015-10-20, 07:36)CaptainT Wrote:
(2015-10-20, 02:14)bry- Wrote: @CaptainT unfortunately I can no longer export to PseudoTV Live in the latest version.

Which was the last version that worked for you?

I have a guess why this may no longer work, but in that case it shouldn't have worked in the first place. Angel
Thanks for quick reply. Rc4 is the last version I had before the repo update to 1.22.

That's quite a long way back.

I included a fix for my best guess as to why it is no longer working in 1.2.3. If it still doesn't work, there would be one more point I could think of. However, I would not like to modify this as it will break something else.

Please check if 1.2.3 fixes the issue and let me know.


RE: [Release] New plugin "iPlayer WWW" - bry - 2015-10-20

(2015-10-20, 19:06)CaptainT Wrote:
(2015-10-20, 11:40)bry- Wrote:
(2015-10-20, 07:36)CaptainT Wrote: Which was the last version that worked for you?

I have a guess why this may no longer work, but in that case it shouldn't have worked in the first place. Angel
Thanks for quick reply. Rc4 is the last version I had before the repo update to 1.22.

That's quite a long way back.

I included a fix for my best guess as to why it is no longer working in 1.2.3. If it still doesn't work, there would be one more point I could think of. However, I would not like to modify this as it will break something else.

Please check if 1.2.3 fixes the issue and let me know.
Will do! I'll check as soon as I get back to my pc


RE: [Release] New plugin "iPlayer WWW" - bry - 2015-10-21

(2015-10-20, 19:43)bry- Wrote:
(2015-10-20, 19:06)CaptainT Wrote:
(2015-10-20, 11:40)bry- Wrote: Thanks for quick reply. Rc4 is the last version I had before the repo update to 1.22.

That's quite a long way back.

I included a fix for my best guess as to why it is no longer working in 1.2.3. If it still doesn't work, there would be one more point I could think of. However, I would not like to modify this as it will break something else.

Please check if 1.2.3 fixes the issue and let me know.
Will do! I'll check as soon as I get back to my pc

@CaptainT - sorry for the delay - I just checked and unfortunately @Lunatixz context menu option is still not available with version 1.2.3 Sad


RE: [Release] New plugin "iPlayer WWW" - CaptainT - 2015-10-21

(2015-10-21, 18:21)bry- Wrote: @CaptainT - sorry for the delay - I just checked and unfortunately @Lunatixz context menu option is still not available with version 1.2.3 Sad

I am sorry, but I don't know Pseudo TV Live very well. I tried to install it and when I add iPlayer WWW as a channel, it does seem to "scan" it fine. My only problem is that it starts playback of the first found stream immediately and I don't know how to get to a different view.

Can you try to remove the add-on from the channel-list in PseudoTV Live and add it again?


RE: [Release] New plugin "iPlayer WWW" - bry - 2015-10-21

Can you link me to all your published builds from rc4 + I'll go back and test each individual build to see where it stopped working.


RE: [Release] New plugin "iPlayer WWW" - Lunatixz - 2015-10-21

(2015-10-21, 19:31)CaptainT Wrote:
(2015-10-21, 18:21)bry- Wrote: @CaptainT - sorry for the delay - I just checked and unfortunately @Lunatixz context menu option is still not available with version 1.2.3 Sad

I am sorry, but I don't know Pseudo TV Live very well. I tried to install it and when I add iPlayer WWW as a channel, it does seem to "scan" it fine. My only problem is that it starts playback of the first found stream immediately and I don't know how to get to a different view.

Can you try to remove the add-on from the channel-list in PseudoTV Live and add it again?

I remember users mentioning you had it working in past builds... here is some info that might help you: https://github.com/PseudoTV/PseudoTV_Live/wiki/Plugin-Developer's-guide-to-PseudoTV-Live-Integration.


RE: [Release] New plugin "iPlayer WWW" - CaptainT - 2015-10-21

(2015-10-21, 19:40)Lunatixz Wrote: I remember users mentioning you had it working in past builds... here is some info that might help you: https://github.com/PseudoTV/PseudoTV_Live/wiki/Plugin-Developer's-guide-to-PseudoTV-Live-Integration.

Thanks for the link. Yes, bry- had it working before. Since then, the code has changed, but all required fields that were set in RC4 are also set now. In fact, there are more info labels set now than before.

The only difference is that xbmcplugin.setContent now specifies 'episodes' while it used to be 'movies' in RC4. However, from the link you provided, that should not make a difference.

Edit: Thanks to bry-! He confirmed that the problem is related to the difference in setContent. However, 'episodes' is more suitable for most programmes and it offers additional InfoLabels which are currently used. Not sure we can fix this.


RE: [Release] New plugin "iPlayer WWW" - speedwell68 - 2015-10-21

A quick question. What is the advantage to using my BBC id? I have one, but seldom actually log in the BBC website.


RE: [Release] New plugin "iPlayer WWW" - DarrenHill - 2015-10-22

You can save favourites and such, which should then replicate across devices when you're logged in.

At least that's how it works with the actual iPlayer app on Android and when directly logged into the website.


RE: [Release] New plugin "iPlayer WWW" - User 272336 - 2015-10-23

Again, my appreciation to CaptainT for a very good add-on and all the subsequent improvements you have made since its conception.
Thanks again!


RE: [Release] New plugin "iPlayer WWW" - jcorsaut - 2015-10-24

Running your iPlayer WWW on a windows based Kodi 15.2 and everything is working great. Had a request and was wondering if there was an easy way to do the following. Would like to be able to go into the A-Z list and see all programs show up, instead of having to select by alpha. Realize that this would take longer to load, but the advantage is I can surf through programs without have to go back to the next alpha each time, or select another category each time. Is this some code that can be edited or would this be a major change?

Cheers


RE: [Release] New plugin "iPlayer WWW" - PhilipPeake - 2015-10-25

(2015-10-19, 18:55)CaptainT Wrote:
(2015-10-18, 20:18)PhilipPeake Wrote: Any suggestions?

===============

ETA: Created the directory: /home/pi/.kodi/userdata/addon_data/plugin.video.iplayerwww
That seems to have fixed it.

Ah yes. That is a problem if you install from the ZIP-files in the current download location. This shall be fixed once the add-on is provided from the official repo. Thanks for reporting.


(2015-10-18, 20:18)PhilipPeake Wrote: Well, fixed it for live viewing, but in the catch-up section I get something like this:

This sounds very much like the VPN issues mentioned in here, and here. If that is the case, I would expect that you get an error pop-up telling you that you are not in the UK. Can you please double-check this? Thanks!

Sorry for the delay in replying -- work gets in the way :-(

There is no pop-up, just the opening stream pop-up, followed by the "Playback Failed" and "Error: Script Failed!" pop-ups.

Its using a smart DNS, not a VPN.
Works fine with live, just the catch-up stuff not working, and seems to fail with array out of bounds error, which doesn't sound like a proxy/VPN problem:

11:25:28 T:2893669440 NOTICE: Thread BackgroundLoader start, auto delete: false
11:25:29 T:2893669440 NOTICE: Thread JobWorker start, auto delete: true
11:25:32 T:2824860736 NOTICE: Thread LanguageInvoker start, auto delete: false
11:25:32 T:2824860736 NOTICE: -->Python Interpreter Initialized<--
11:25:40 T:2824860736 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/home/pi/.kodi/addons/plugin.video.iplayerwww-1.2.1/default.py", line 1268, in <module>
AddAvailableStreamItem(name, url, iconimage, description)
File "/home/pi/.kodi/addons/plugin.video.iplayerwww-1.2.1/default.py", line 714, in AddAvailableStreamItem
PlayStream(name, match[0][2], iconimage, description, subtitles_url)
IndexError: list index out of range
-->End of Python script error report<--
11:25:40 T:3037954048 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.iplayerwww/?url=http%3A%2F%2Fwww.bbc.co.uk%2F%2Fiplayer%2Fepisode%2Fb06gxyyj%2Fcasualty-series-30-6-all-the-single-ladies&mode=202&name=Casualty%2C+Series+30%3A+6.+All+the+Single+Ladies&iconimage=http%3A%2F%2Fichef.bbci.co.uk%2Fimages%2Fic%2F832x468%2Fp033wy7j.j​pg&description=Iain+and+Dixie+are+pushed+to+the+limit%2C+but+their+rewards+are+​many.&subtitles_url=&logged_in=False]
11:25:40 T:2824860736 NOTICE: Thread BackgroundLoader start, auto delete: false

-----------

Just tried an experiment:

Loaded Kodi (Issengard) on my Mac.
Add the plugin from the repository.

Turned on UK VPN.
Everything works perfectly.

Turned off VPN, and switched to using Smart DNS.
Live streaming, works, catch-up fails.

So its reproducible across platforms, and seems to be related to using Smart DNS.

Error looks the same:

7:08:19 T:123145309892608 NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std:Confusedtring &): Opening default device Built-in Output
17:08:21 T:123145305063424 NOTICE: Thread LanguageInvoker start, auto delete: false
17:08:21 T:123145305063424 NOTICE: -->Python Interpreter Initialized<--
17:08:21 T:123145305600000 NOTICE: Thread BackgroundLoader start, auto delete: false
17:08:24 T:123145303990272 NOTICE: Thread LanguageInvoker start, auto delete: false
17:08:24 T:123145303990272 NOTICE: -->Python Interpreter Initialized<--
17:08:25 T:123145305063424 NOTICE: Thread BackgroundLoader start, auto delete: false
17:08:27 T:123145302839296 NOTICE: Thread LanguageInvoker start, auto delete: false
17:08:27 T:123145302839296 NOTICE: -->Python Interpreter Initialized<--
17:08:28 T:123145303990272 NOTICE: Thread BackgroundLoader start, auto delete: false
17:08:31 T:123145302839296 NOTICE: Thread LanguageInvoker start, auto delete: false
17:08:31 T:123145302839296 NOTICE: -->Python Interpreter Initialized<--
17:08:32 T:123145303990272 NOTICE: Thread BackgroundLoader start, auto delete: false
17:08:34 T:123145302839296 NOTICE: Thread LanguageInvoker start, auto delete: false
17:08:34 T:123145302839296 NOTICE: -->Python Interpreter Initialized<--
17:08:35 T:123145303990272 NOTICE: Thread BackgroundLoader start, auto delete: false
17:08:36 T:123145302839296 NOTICE: Thread LanguageInvoker start, auto delete: false
17:08:36 T:123145302839296 NOTICE: -->Python Interpreter Initialized<--
17:08:40 T:123145302839296 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/Users/philip/Library/Application Support/Kodi/addons/plugin.video.iplayerwww/default.py", line 1274, in <module>
AddAvailableStreamItem(name, url, iconimage, description)
File "/Users/philip/Library/Application Support/Kodi/addons/plugin.video.iplayerwww/default.py", line 718, in AddAvailableStreamItem
PlayStream(name, match[0][2], iconimage, description, subtitles_url)
IndexError: list index out of range
-->End of Python script error report<--


RE: [Release] New plugin "iPlayer WWW" - shaktoo - 2015-10-25

Awesome.. working Brilliantly Cheers M8 Wink