Release Engadget
With this add-on you can watch videos from Engadget -

Version 1.0.4
update for frodo/gotham
content is now scraped from the website,
new preferred playback setting

Install from the repository.

The code is on GitHub -
Hi divingmule,
I was enjoying your Engadget plugin but it seems it's now broken, here's a post I made in the iOS forum with the details.

(2014-01-19, 21:12)ct323i Wrote: Hi all,
I recently installed XBMC Frodo on my Apple TV 2 running the newest Seas0nPass tetherless jailbreak with Apple TV 5.3.
I installed a few Video add-ins, one of them being Engadget, version 1.0.4.
When I try to open the Engadget plugin I'm getting the message Error Script failed! : and the plugin doesn't load. Huh

I've turned on debugging and viewed the error in the log file which I will paste below.
There seems to be an issue with Beautiful Soup and Python's built-in HTMLParser not playing nicely.
Next I tried installing the suggested external HTML parsers to make it work but I've gotten nowhere. Confused
Finally I tried checking for a newer version of the Engadget plugin but it seems 1.0.4 is the latest, I even checked divingmule's github repo and compared the script to what was most recently posted on github.
I'm out of ideas here and about to give up, but maybe somebody else knows a solution to this error, or maybe it's time for an update to the Engadget add-on script.
Thanks for any help or ideas! Big Grin

apt-get install lxml
E: Couldn't find package lxml

apt-get install python-lxml
E: Couldn't find package python-lxml

pip install lxml
-sh: pip: command not found

apt-get install html5lib
E: Couldn't find package html5lib

apt-get install libxml2-dev
E: Couldn't find package libxml2-dev

Debug Log:
12:58:29 T:113946624   DEBUG: CGUIMediaWindow::GetDirectory (plugin://
12:58:29 T:113946624   DEBUG:   ParentPath = [addons://sources/video/]
12:58:29 T:805117952   DEBUG: StartScript - calling plugin Engadget('plugin://','1','')
12:58:29 T:805117952    INFO: initializing python engine.
12:58:29 T:805117952   DEBUG: new python thread created. id=3
12:58:29 T:805117952   DEBUG: WaitOnScriptResult - waiting on the Engadget (id=3) plugin...
12:58:29 T:147161088   DEBUG: Python thread: start processing
12:58:29 T:147161088  NOTICE: -->Python Interpreter Initialized<--
12:58:29 T:147161088   DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/
12:58:30 T:147161088   DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/
12:58:30 T:147161088   DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/
12:58:30 T:147161088   DEBUG: Instantiating addon using automatically obtained id of "" dependent on version 2.1.0 of the xbmc.python api
12:58:30 T:113946624   DEBUG: ------ Window Init (DialogBusy.xml) ------
12:58:32 T:147161088   DEBUG: []: {}
12:58:32 T:147161088   DEBUG: []: Request URL:
12:58:35 T:147161088   ERROR: /var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup4/lib/bs4/builder/ RuntimeWarning: Python's built-in HTMLParser cannot parse the given document. This is not a bug in Beautiful Soup. The best solution is to install an external parser (lxml or html5lib), and use Beautiful Soup with that parser. See for help.
                                              "Python's built-in HTMLParser cannot parse the given document. This is not a bug in Beautiful Soup. The best solution is to install an external parser (lxml or html5lib), and use Beautiful Soup with that parser. See for help."))
12:58:35 T:113946624   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
12:58:35 T:147161088    INFO: Python script stopped
12:58:35 T:805117952   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
12:58:35 T:113946624   ERROR: GetDirectory - Error getting plugin://
12:58:35 T:113946624   ERROR: CGUIMediaWindow::GetDirectory(plugin:// failed
12:58:35 T:113946624   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
12:58:35 T:113946624   DEBUG:   ParentPath = []
12:58:36 T:113946624   DEBUG: waiting for python thread 3 (/var/mobile/Library/Preferences/XBMC/addons/ to stop
12:58:36 T:113946624   DEBUG: python thread 3 (/var/mobile/Library/Preferences/XBMC/addons/ destructed

Apple TV 2 (black)
XBMC 12.3 Frodo
Seas0nPass 0.9.5
Apple TV software 5.3 (6105)
Engadget, Video add-on 1.0.4
script failed for me too. I can see the video listing but none of them seem to play. I even reinstalled it.
Here is a cop of my log if anyone is interested.
For now I guess I will just hit up Engadgets Youtube channel.
I've fixed the addon somewhat. It isn't my addon so how do I get this on the repo?

There is still a glaring security hole in the script, there is an 'eval' which is executing a string originating from a HTTP.

Aren't these things audited before allowed in the repo?
made pull request on github

code for now is here:
I think divingmule has been absent for a long time (Last Visit: 2014-01-27 15:40)
Probably a good idea to contact the team-kodi via the addon mailing list and submit your pr's there even not being the author of the plugin...
The plugin is under my control now, if divingmule wants it back that's fine of course. I've emailed the addon mailinglist some while ago and since then I was able to publish the new plugin based on divingmule's code. In the source code he's still listed as original author. This forum thread is still the main means of bug reporting, let me know if something breaks. The scraping is brittle due to the engadget website being horrible with HTML errors and all - so I _don't_ expect this to work fine in to eternity.
well this plugin is crashing Kodi whenever it is opened.
Kodi 17.0alpha2

Well, I can't reproduce, so it's hard for me to say anything.

Personally I'd blame Kodi in this case, first reason is that you're running an Alpha, and the second reason is that in no way should Kodi crash whatever a plugin is doing.

If you are in the ability to test again and get a debug log while reproducing the error, please do.

Thanks for the feedback though!

Logout Mark Read Team Forum Stats Members Help
This forum uses Lukasz Tkacz MyBB addons.