Kodi Community Forum

Full Version: Add-on "TED Talks" fails to show video on Kodi17
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just upgraded my Kodi 16.1 to 17.0 in a Raspberry Pi2 box running OSMC.
The TED Talks add-on seems to have broken in the process and even if I make sure it is updated it still won't work.
What happens is:
- Start TED Talks
- Go to the "Newest talks"
- Select a talk and hit OK

Now there is a brief status message and then a pop-up message box appears with this inside:

PLAYBACK FAILED
One or more items failed to play.
Check the logs for more information about this message.
[OK]

This happens for each and every talk I try to view in the list.
Where do I find the logs referring to this problem and what is the base reason for this. It did work fine on Kodi 16.1.
The log file kodi.log contains:
Code:
10:32:06.648 T:1415046128  NOTICE: [PLUGIN] Initialized TED Talks v4.2.10 using Python: 2.7.9 (default, Aug 13 2016, 18:15:29)
                                            [GCC 4.9.2]'
10:32:18.528 T:1405088752  NOTICE: Previous line repeats 2 times.
10:32:18.528 T:1405088752  NOTICE: [TED Talks] resources.lib.model.fetcher attempting to open http://feedproxy.google.com/~r/TEDTalks_video/~3/lkVqzSWy0rU/anjali_tripathi_why_earth_may_someday_look_like_mars with data
10:32:18.540 T:1405088752  NOTICE: [TED Talks] loaded cookie : <Cookie _abby=zV6OgEjDtFnXnwY for .ted.com/> from /home/osmc/.kodi/temp/ted-cookies.lwp
10:32:18.540 T:1405088752  NOTICE: [TED Talks] loaded cookie : <Cookie _abby_blackout=b for www.ted.com/> from /home/osmc/.kodi/temp/ted-cookies.lwp
10:32:18.540 T:1405088752  NOTICE: [TED Talks] loaded cookie : <Cookie _abby_html5_video=d for www.ted.com/> from /home/osmc/.kodi/temp/ted-cookies.lwp
10:32:18.540 T:1405088752  NOTICE: [TED Talks] loaded cookie : <Cookie _nu=1486939421.618 for www.ted.com/> from /home/osmc/.kodi/temp/ted-cookies.lwp
10:32:19.465 T:1405088752   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: "talks\nfor url 'http://feedproxy.google.com/~r/TEDTalks_video/~3/lkVqzSWy0rU/anjali_tripathi_why_earth_may_someday_look_like_mars'"
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/plugin.video.ted.talks/default.py", line 17, in <module>
                                                ted_talks.Main(args_map=args_map).run()
                                              File "/home/osmc/.kodi/addons/plugin.video.ted.talks/resources/lib/ted_talks.py", line 322, in run
                                                modes[mode].run(self.args_map)
                                              File "/home/osmc/.kodi/addons/plugin.video.ted.talks/resources/lib/ted_talks.py", line 134, in run
                                                self.run_internal(args)
                                              File "/home/osmc/.kodi/addons/plugin.video.ted.talks/resources/lib/ted_talks.py", line 152, in run_internal
                                                self.ui.playVideo(args['url'], args['icon'] if 'icon' in args else None)
                                              File "/home/osmc/.kodi/addons/plugin.video.ted.talks/resources/lib/ted_talks.py", line 69, in playVideo
                                                title, url, subs, info_labels = self.ted_talks.getVideoDetails(url=url, video_quality=settings.video_quality, subs_language=subs_language)
                                              File "/home/osmc/.kodi/addons/plugin.video.ted.talks/resources/lib/ted_talks_scraper.py", line 20, in getVideoDetails
                                                raise type(e)(e.message + "\nfor url '%s'" % (url))
                                            KeyError: "talks\nfor url 'http://feedproxy.google.com/~r/TEDTalks_video/~3/lkVqzSWy0rU/anjali_tripathi_why_earth_may_someday_look_like_mars'"
                                            -->End of Python script error report<--
10:32:19.703 T:1958163376   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.ted.talks/?url=http%3A%2F%2Ffeedproxy.google.com%2F%7Er%2FTEDTalks_video%2F%7E3%2FlkVqzSWy0rU%2Fanjali_tripathi_why_earth_may_someday_look_like_mars&mode=playVideo&icon=https%3A%2F%2Fpe.tedcdn.com%2Fimages%2Fted%2Fd3bb709239e36028c97726caebddc34b3e2b5a59_389x292.jpg]
Can someone please say why there is an error using TED Talks?
Bump. I too would like to watch TED talks