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.
(2016-04-24, 14:31)bluezone Wrote: [ -> ]
(2016-04-24, 13:56)primaeval Wrote: [ -> ]
(2016-04-24, 13:45)bluezone Wrote: [ -> ]and there is almost no difference in how long it takes for the video to come on between using autoplay and using the specific substream directly.

On Windows it takes less than a second.

The quickest way I can think of changing channels is setting the streams you want to remote control number buttons and bypass the TV Guide.

It is the adaptive rate switching of MINIX that makes the TV switch refresh rate. Disabling this, it takes less than 2 seconds but then I get stutter due to TV not matching the frame rate correctly.

How do you get to that setting?
This is in MINIX settings menu - works flawlessly (I get zero stutter regardless of the source frame rate) but does mean TV switches modes between any menu/application and stream/video playback, causing delays.
Not to mention that my Panasonic plasma is few years old so newer TVs might do the switching faster Smile
(2016-04-24, 11:52)bluezone Wrote: [ -> ]one observation - when clicking on 'red button' menu option from the iplayer plugin directly , a warning pop up message comes on every time.
would it be possible to add something like 'remember my decision' so user doesn't have to click on 'Agree' every time, please?

I would love to add a checkbox to remember the setting, but I cannot find a dialog-type in Kodi which provides it. No
(2016-04-25, 14:42)CaptainT Wrote: [ -> ]
(2016-04-24, 11:52)bluezone Wrote: [ -> ]one observation - when clicking on 'red button' menu option from the iplayer plugin directly , a warning pop up message comes on every time.
would it be possible to add something like 'remember my decision' so user doesn't have to click on 'Agree' every time, please?

I would love to add a checkbox to remember the setting, but I cannot find a dialog-type in Kodi which provides it. No

I would also be fine with disabling the popup with additional (secret) addon config entry Smile
(2016-04-22, 16:59)primaeval Wrote: [ -> ]@bry- Could you give us a simple step by step guide to getting PseudoTV Live setup with iplayer and an epg.

sure-

  1. read first 3 posts here:PseudoTV Live release thread
    1. install Lunatixz repo
    2. install PseudoTV Live
    3. install context menu add-on

    open bbc iplayer - go to live channels, open context menu, export to pseudotv live.

(2016-04-25, 16:33)bry- Wrote: [ -> ]
(2016-04-22, 16:59)primaeval Wrote: [ -> ]@bry- Could you give us a simple step by step guide to getting PseudoTV Live setup with iplayer and an epg.

sure-

  1. read first 3 posts here:PseudoTV Live release thread
    1. install Lunatixz repo
    2. install PseudoTV Live
    3. install context menu add-on

    open bbc iplayer - go to live channels, open context menu, export to pseudotv live.


It didn't quite work so smoothly for me.
Here is what happened for me.
  • clean portable Kodi 16.0 installation
  • install Lunatixz repo
  • install PseudoTV Live, context menu included automatically
  • install iplayerwww
  • go to iplayerwww\Watch Live\
  • BBC One - export to pseudotv live
  • select channel 1
  • InternetTV
  • Open channel manager - Yes
  • channel is BBC Parliament = WRONG!
  • open PseudoTV Live
  • BBC Parliament plays
  • Press Enter for EPG
  • NO program info!
I chose BBC One manually through the channel menu as InternetTV\Plugin\iplayerwww\watch live\BBC One which worked.
But no epg.
I tried adding my xmltv.xml file to userdata\addon_data\script.pseudotv.live\cache\xmltv but nothing came up in the epg.

I must be missing a step or two. Can you see where?
Could you guys help troubleshoot for me. I can play the red button streams but everything else throws out an error. See below:

23:40:48 T:139977443088384 NOTICE: DVDPlayer: Opening: http://ve-hds-uk-live.bbcfmt.vo.llnwd.ne...04000.m3u8
23:40:48 T:139977443088384 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
23:40:48 T:139974301177600 NOTICE: Creating InputStream
23:40:49 T:139974301177600 NOTICE: Creating Demuxer
23:40:53 T:139974301177600 NOTICE: Opening stream: 1 source: 256
23:40:53 T:139974301177600 NOTICE: Creating video codec with codec id: 28
23:40:53 T:139974301177600 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
23:40:53 T:139974301177600 NOTICE: Creating video thread
23:40:53 T:139974301177600 NOTICE: Opening stream: 0 source: 256
23:40:53 T:139974301177600 NOTICE: Finding audio codec for: 86018
23:40:53 T:139974326351616 NOTICE: running thread: video_thread
23:40:53 T:139974301177600 NOTICE: Creating audio thread
23:40:53 T:139975685281536 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()


23:59:36 T:139977443088384 DEBUG: StartScript - calling plugin iPlayer WWW('plugin://plugin.video.iplayerwww/','50','?url=http%3A%2F%2Fwww.bbc.co.uk%2Fiplayer%2Fepisode%2Fb0795nqy&mode=202&name=Bake+Off+Creme+de+la+Creme+-+Episode+5&iconimage=http%3A%2F%2Fichef.bbci.co.uk%2Fimages%2Fic%2F406x228%2Fp03rn0w3.jpg&description=The+teams+transform+chocolate+cheesecake+into+stunning+showpiece+displays.&subtitles_url=&logged_in=False')
23:59:36 T:139977443088384 DEBUG: WaitOnScriptResult - waiting on the iPlayer WWW (id=81) plugin...
23:59:36 T:139974160566016 DEBUG: Thread LanguageInvoker start, auto delete: false
23:59:36 T:139974160566016 INFO: initializing python engine.
23:59:36 T:139974160566016 DEBUG: CPythonInvoker(81, /home/kodi/.kodi/addons/plugin.video.iplayerwww/default.py): start processing
23:59:37 T:139974160566016 DEBUG: -->Python Interpreter Initialized<--
23:59:37 T:139974160566016 DEBUG: CPythonInvoker(81, /home/kodi/.kodi/addons/plugin.video.iplayerwww/default.py): the source file to load is "/home/kodi/.kodi/addons/plugin.video.iplayerwww/default.py"
23:59:37 T:139974160566016 DEBUG: CPythonInvoker(81, /home/kodi/.kodi/addons/plugin.video.iplayerwww/default.py): setting the Python path to /home/kodi/.kodi/addons/plugin.video.iplayerwww:/home/kodi/.kodi/addons/script.module.requests/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0
23:59:37 T:139974160566016 DEBUG: CPythonInvoker(81, /home/kodi/.kodi/addons/plugin.video.iplayerwww/default.py): entering source directory /home/kodi/.kodi/addons/plugin.video.iplayerwww
23:59:37 T:139974160566016 DEBUG: CPythonInvoker(81, /home/kodi/.kodi/addons/plugin.video.iplayerwww/default.py): instantiating addon using automatically obtained id of "plugin.video.iplayerwww" dependent on version 2.19.0 of the xbmc.python api
23:59:38 T:139977443088384 DEBUG: DialogProgress::Open called
23:59:38 T:139977443088384 DEBUG: ------ Window Init (DialogProgress.xml) ------
23:59:42 T:139974160566016 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/kodi/.kodi/addons/plugin.video.iplayerwww/default.py", line 204, in <module>
Video.AddAvailableStreamItem(name, url, iconimage, description)
File "/home/kodi/.kodi/addons/plugin.video.iplayerwww/resources/lib/ipwww_video.py", line 756, in AddAvailableStreamItem
PlayStream(name, match[0][2], iconimage, description, subtitles_url)
IndexError: list index out of range
-->End of Python script error report<--
23:59:42 T:139977443088384 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
23:59:42 T:139974160566016 INFO: Python script stopped

I can upload full log to pastebin if needed. I'm running the following:

Starting Kodi (16.0 Git:a5f3a99). Platform: Linux x86 64-bit
23:33:23 T:139977443088384 NOTICE: Using Release Kodi x64 build
23:33:23 T:139977443088384 NOTICE: Kodi compiled Apr 23 2016 by GCC 4.8.4 for Linux x86 64-bit version 3.13.11 (199947)
23:33:23 T:139977443088384 NOTICE: Running on Ubuntu 14.04.4 LTS, kernel: Linux x86 64-bit version 3.13.0-74-generic
23:33:23 T:139977443088384 NOTICE: FFmpeg statically linked, version: 2.8.6-kodi-2.8.6-Jarvis-16.0
23:33:23 T:139977443088384 NOTICE: Host CPU: Intel® Core™ i3 CPU 530 @ 2.93GHz, 4 cores available

Thanks
(2016-04-28, 00:06)Slipx Wrote: [ -> ]Could you guys help troubleshoot for me. I can play the red button streams but everything else throws out an error. See below:

23:59:42 T:139974160566016 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/kodi/.kodi/addons/plugin.video.iplayerwww/default.py", line 204, in <module>
Video.AddAvailableStreamItem(name, url, iconimage, description)
File "/home/kodi/.kodi/addons/plugin.video.iplayerwww/resources/lib/ipwww_video.py", line 756, in AddAvailableStreamItem
PlayStream(name, match[0][2], iconimage, description, subtitles_url)
IndexError: list index out of range
-->End of Python script error report<--

This error occurs if there have been no streams found for this programme. It most commonly occurs if you are not in the UK. Although I would expect you to get a warning pop-up saying that the programmes are not available outside the UK, this mechanism sometimes fails.

So: Are you really located in the UK (not via VPN or Smart DNS or the likes)? If not, this is out of the support for this add-on. It is only supposed to work in the UK.

If you are in the UK, please first of all switch off autoplay in settings to see if you get any stream results.
Ok thanks. Not in the UK so must be a DNS issue. I'll dig a bit more.


Sent from my iPad
(2016-04-28, 03:19)CaptainT Wrote: [ -> ]
(2016-04-28, 00:06)Slipx Wrote: [ -> ]Could you guys help troubleshoot for me. I can play the red button streams but everything else throws out an error. See below:

23:59:42 T:139974160566016 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/kodi/.kodi/addons/plugin.video.iplayerwww/default.py", line 204, in <module>
Video.AddAvailableStreamItem(name, url, iconimage, description)
File "/home/kodi/.kodi/addons/plugin.video.iplayerwww/resources/lib/ipwww_video.py", line 756, in AddAvailableStreamItem
PlayStream(name, match[0][2], iconimage, description, subtitles_url)
IndexError: list index out of range
-->End of Python script error report<--

This error occurs if there have been no streams found for this programme. It most commonly occurs if you are not in the UK. Although I would expect you to get a warning pop-up saying that the programmes are not available outside the UK, this mechanism sometimes fails.

So: Are you really located in the UK (not via VPN or Smart DNS or the likes)? If not, this is out of the support for this add-on. It is only supposed to work in the UK.

If you are in the UK, please first of all switch off autoplay in settings to see if you get any stream results.
You say it wouldn't work even if you were connected to VPN node based in UK and having UK IP address?
Turned out to be a config issue on my end. Everything working great. Thanks so much for this plugin.


Sent from my iPad
(2016-04-28, 22:26)bluezone Wrote: [ -> ]
(2016-04-28, 03:19)CaptainT Wrote: [ -> ]This error occurs if there have been no streams found for this programme. It most commonly occurs if you are not in the UK. Although I would expect you to get a warning pop-up saying that the programmes are not available outside the UK, this mechanism sometimes fails.

So: Are you really located in the UK (not via VPN or Smart DNS or the likes)? If not, this is out of the support for this add-on. It is only supposed to work in the UK.

If you are in the UK, please first of all switch off autoplay in settings to see if you get any stream results.
You say it wouldn't work even if you were connected to VPN node based in UK and having UK IP address?

It may or may not work. This is out of the control of the add-on and out of support of the add-on.

The Beeb has introduced some technology to detect VPNs lately. This may even affect users within the UK using VPNs. There was a link to an article about that a couple of pages back.
(2016-04-29, 03:08)CaptainT Wrote: [ -> ]
(2016-04-28, 22:26)bluezone Wrote: [ -> ]
(2016-04-28, 03:19)CaptainT Wrote: [ -> ]This error occurs if there have been no streams found for this programme. It most commonly occurs if you are not in the UK. Although I would expect you to get a warning pop-up saying that the programmes are not available outside the UK, this mechanism sometimes fails.

So: Are you really located in the UK (not via VPN or Smart DNS or the likes)? If not, this is out of the support for this add-on. It is only supposed to work in the UK.

If you are in the UK, please first of all switch off autoplay in settings to see if you get any stream results.
You say it wouldn't work even if you were connected to VPN node based in UK and having UK IP address?

It may or may not work. This is out of the control of the add-on and out of support of the add-on.

The Beeb has introduced some technology to detect VPNs lately. This may even affect users within the UK using VPNs. There was a link to an article about that a couple of pages back.

Sure, makes sense.
(2016-04-29, 09:05)primaeval Wrote: [ -> ]This could be the end of the world for the addon:
iPlayer could be given password protection and subscription fee under BBC reforms
Not necessarily. If they use the existing BBCiD login, it should work without a problem.