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-12-18, 10:32)MikeKL Wrote: [ -> ]
(2016-12-18, 09:47)primaeval Wrote: [ -> ]Is this addon working for everyone else today or have I messed up my dns?
Working normally for me

Thanks. I can't blame anyone else now. Smile
Thumbnails are not showing for any of the categories, channels, etc. anymore. Is this a known issue, or a change just on my end?
(2016-12-21, 03:42)Cangeoboy Wrote: [ -> ]Thumbnails are not showing for any of the categories, channels, etc. anymore. Is this a known issue, or a change just on my end?

The only reason I know that that could happen is if you use a zip file from Github directly.
Github adds version numbers to the addon folder so that it can't find the images which are hardcoded to plugin.video.iplayerwww.
(2016-12-21, 09:51)primaeval Wrote: [ -> ]
(2016-12-21, 03:42)Cangeoboy Wrote: [ -> ]Thumbnails are not showing for any of the categories, channels, etc. anymore. Is this a known issue, or a change just on my end?

The only reason I know that that could happen is if you use a zip file from Github directly.
Github adds version numbers to the addon folder so that it can't find the images which are hardcoded to plugin.video.iplayerwww.

Ok thanks. Don't think I ever downloaded it from Github, but I uninstalled it, removed it form userdata, packages, etc. and still no luck with thumbnails.
Anyone else having this issue?
(2016-12-22, 00:26)Cangeoboy Wrote: [ -> ]
(2016-12-21, 09:51)primaeval Wrote: [ -> ]
(2016-12-21, 03:42)Cangeoboy Wrote: [ -> ]Thumbnails are not showing for any of the categories, channels, etc. anymore. Is this a known issue, or a change just on my end?

The only reason I know that that could happen is if you use a zip file from Github directly.
Github adds version numbers to the addon folder so that it can't find the images which are hardcoded to plugin.video.iplayerwww.

Ok thanks. Don't think I ever downloaded it from Github, but I uninstalled it, removed it form userdata, packages, etc. and still no luck with thumbnails.
Anyone else having this issue?

I am seeing this problem as well. It's not the thumbs/icons for the plugin that are missing but rather for the episodes and groups. It looks like the problem is that the BBC has introduced

<source srcset="https://ichef.bbci.co.uk/images/ic/336x189/p04cd999.jpg"

whereas the plugin (ipwww_video.py) is searching for:

<source srcset="http://ichef.bbci.co.uk/images/ic/336x189/p04cd999.jpg"

Note: the change from http to https.

I've played a little with the python code and updated the search strings to use https in the search and I've been able to get thumbnails back for episodes. Unfortunately I don't know the code well enough to deal with other parts that perform more complex group/episode/page parsing to get all the 'icons' back.

Primaeval, perhaps with this clue you might be able to make a more complete update and get the icons/thumbs back for us. Thanks!
(2016-12-22, 11:17)oattes Wrote: [ -> ]
(2016-12-22, 00:26)Cangeoboy Wrote: [ -> ]
(2016-12-21, 09:51)primaeval Wrote: [ -> ]The only reason I know that that could happen is if you use a zip file from Github directly.
Github adds version numbers to the addon folder so that it can't find the images which are hardcoded to plugin.video.iplayerwww.

Ok thanks. Don't think I ever downloaded it from Github, but I uninstalled it, removed it form userdata, packages, etc. and still no luck with thumbnails.
Anyone else having this issue?

I am seeing this problem as well. It's not the thumbs/icons for the plugin that are missing but rather for the episodes and groups. It looks like the problem is that the BBC has introduced

<source srcset="https://ichef.bbci.co.uk/images/ic/336x189/p04cd999.jpg"

whereas the plugin (ipwww_video.py) is searching for:

<source srcset="http://ichef.bbci.co.uk/images/ic/336x189/p04cd999.jpg"

Note: the change from http to https.

I've played a little with the python code and updated the search strings to use https in the search and I've been able to get thumbnails back for episodes. Unfortunately I don't know the code well enough to deal with other parts that perform more complex group/episode/page parsing to get all the 'icons' back.

Primaeval, perhaps with this clue you might be able to make a more complete update and get the icons/thumbs back for us. Thanks!

There is a fix in my repo now if you can't wait:
https://github.com/primaeval/repository....-0.0.1.zip

This is the fix:
https://github.com/primaeval/plugin.vide...187e6463a0

You can also try my new addon for some new ideas I'm trying out in my repo:
The new things are: Schedules, local Favourites, saved Searches, caching, mpeg-dash (Krypton+).
BBC TV
plugin.video.bbc
(2016-12-22, 13:00)primaeval Wrote: [ -> ]
(2016-12-22, 11:17)oattes Wrote: [ -> ]
(2016-12-22, 00:26)Cangeoboy Wrote: [ -> ]Ok thanks. Don't think I ever downloaded it from Github, but I uninstalled it, removed it form userdata, packages, etc. and still no luck with thumbnails.
Anyone else having this issue?

I am seeing this problem as well. It's not the thumbs/icons for the plugin that are missing but rather for the episodes and groups. It looks like the problem is that the BBC has introduced

<source srcset="https://ichef.bbci.co.uk/images/ic/336x189/p04cd999.jpg"

whereas the plugin (ipwww_video.py) is searching for:

<source srcset="http://ichef.bbci.co.uk/images/ic/336x189/p04cd999.jpg"

Note: the change from http to https.

I've played a little with the python code and updated the search strings to use https in the search and I've been able to get thumbnails back for episodes. Unfortunately I don't know the code well enough to deal with other parts that perform more complex group/episode/page parsing to get all the 'icons' back.

Primaeval, perhaps with this clue you might be able to make a more complete update and get the icons/thumbs back for us. Thanks!

There is a fix in my repo now if you can't wait:
https://github.com/primaeval/repository....-0.0.1.zip

This is the fix:
https://github.com/primaeval/plugin.vide...187e6463a0

You can also try my new addon for some new ideas I'm trying out in my repo:
The new things are: Schedules, local Favourites, saved Searches, caching, mpeg-dash (Krypton+).
BBC TV
plugin.video.bbc

Perfect, thanks so much. Installed your fix and thumbnails are back. Tried out your new addon as well. Looks really good. I take it your still working on getting media info in there as well. I find the date / episode description quite useful as I've got my view setup to media info.
(2016-12-22, 14:53)Cangeoboy Wrote: [ -> ]Perfect, thanks so much. Installed your fix and thumbnails are back. Tried out your new addon as well. Looks really good. I take it your still working on getting media info in there as well. I find the date / episode description quite useful as I've got my view setup to media info.

Thanks.

I'll have a look at the date and description.

I'm not sure how much of iplayerwww I'm going to bring in to the new addon. It's just going to be the way I like it.
I'm not going to bring the Highlights in as there are too many missing images for me.
I won't bring in the BBCiD either unless the BBC start locking everything down.
So I don't think it will ever be a replacement, just a testing ground for new ideas.
(2016-12-22, 13:00)primaeval Wrote: [ -> ]There is a fix in my repo now if you can't wait:
https://github.com/primaeval/repository....-0.0.1.zip

This is the fix:
https://github.com/primaeval/plugin.vide...187e6463a0

You can also try my new addon for some new ideas I'm trying out in my repo:
The new things are: Schedules, local Favourites, saved Searches, caching, mpeg-dash (Krypton+).
BBC TV
plugin.video.bbc

Thanks for the update. However, the fix is not quite complete yet. The thumbnails are back in the episode lists:

Image

But they're still missing in the sections/groups (this is a view of my 'added' section) for folder items:

Image

Note: when there is a mixture of folders and individual videos, the folders have no image, but the videos have images.

thanks! Have a great Holiday Season!
(2016-12-24, 16:58)oattes Wrote: [ -> ]^^^

Try 2.5.3p in my repo for a fix.

Merry Christmas. Smile
(2016-12-25, 09:22)primaeval Wrote: [ -> ]
(2016-12-24, 16:58)oattes Wrote: [ -> ]^^^

Try 2.5.3p in my repo for a fix.

Merry Christmas. Smile

Works splendidly. Thanks -- and Merry Christmas to you and all.
Greetings.... in a past conversation, I noted that the plugin was asking to log in to the BBC very regularly (once every few hours). In our discussion it was noted that Kodi's cookie handling methods were not the best and that to try to fix this problem might introduce other more challenging difficulties with scraping the web site. At that time, nothing was attempted since the plugin worked fine and the regular pop up to log in was more of a nuisance than a bug ;-).

Since then, and because the plugin was being used in a widget (regular refreshes), I have been regularly getting pop ups to 'log in' and just kept pressing 'yes'. It occurred to me that there was the potential for a new option -- default 'yes' when a log in was deemed necessary by the plugin. I'm imagining another option just below the 'enable BBC iD' toggle to 'Silent Login' or 'Always use BBC iD'. When toggled to 'true' the plugin would silently log in to the BBC when ever necessary -- no pop up, no notification on success, but a notification on failure.

To test this idea I made some crude modifications to the CheckLogin function: set attemptLogin = True without any pop-up, comment out the code to show the notification on success. It works great for me.

I'm hoping you might consider adding this option to the plugin. Thanks for your consideration.
(2016-12-27, 16:08)oattes Wrote: [ -> ]Greetings.... in a past conversation, I noted that the plugin was asking to log in to the BBC very regularly (once every few hours). In our discussion it was noted that Kodi's cookie handling methods were not the best and that to try to fix this problem might introduce other more challenging difficulties with scraping the web site. At that time, nothing was attempted since the plugin worked fine and the regular pop up to log in was more of a nuisance than a bug ;-).

Since then, and because the plugin was being used in a widget (regular refreshes), I have been regularly getting pop ups to 'log in' and just kept pressing 'yes'. It occurred to me that there was the potential for a new option -- default 'yes' when a log in was deemed necessary by the plugin. I'm imagining another option just below the 'enable BBC iD' toggle to 'Silent Login' or 'Always use BBC iD'. When toggled to 'true' the plugin would silently log in to the BBC when ever necessary -- no pop up, no notification on success, but a notification on failure.

To test this idea I made some crude modifications to the CheckLogin function: set attemptLogin = True without any pop-up, comment out the code to show the notification on success. It works great for me.

I'm hoping you might consider adding this option to the plugin. Thanks for your consideration.

I don't know if it's a good idea or not but you can try it out in my repo in version 2.5.3p2 as an experiment if you like.
Settings \ BBCiD \ Automatic login
(2016-12-27, 16:27)primaeval Wrote: [ -> ]
(2016-12-27, 16:08)oattes Wrote: [ -> ]I'm hoping you might consider adding this option to the plugin. Thanks for your consideration.

I don't know if it's a good idea or not but you can try it out in my repo in version 2.5.3p2 as an experiment if you like.
Settings \ BBCiD \ Automatic login

It seems to work well enough. One note: should/can you suppress the successful login notification when Automatic Login is enabled? I expect it to succeed and only want to be notified when/if it fails.

I'm curious why you feel (using) this option might not be a good idea? Thanks!
(2016-12-27, 20:33)oattes Wrote: [ -> ]
(2016-12-27, 16:27)primaeval Wrote: [ -> ]
(2016-12-27, 16:08)oattes Wrote: [ -> ]I'm hoping you might consider adding this option to the plugin. Thanks for your consideration.

I don't know if it's a good idea or not but you can try it out in my repo in version 2.5.3p2 as an experiment if you like.
Settings \ BBCiD \ Automatic login

It seems to work well enough. One note: should/can you suppress the successful login notification when Automatic Login is enabled? I expect it to succeed and only want to be notified when/if it fails.

I'm curious why you feel (using) this option might not be a good idea? Thanks!

If whatever is using this addon as a widget keeps automatically logging in to the BBC site they might flag your account or this addon as malicious and lock you out or block this addon. Manual logins don't usually happen that often.

I'll have a look at the notification for you.