Hulu Plugin Development Thread - Developers only! - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Hulu Plugin Development Thread - Developers only! (/showthread.php?tid=45888) |
- highlandsun - 2010-05-02 Based on the New Addons thread info I created a dummy description.xml file and fixed the getSetting invocations, so this plugin works with current SVN HEAD. Haven't committed the changes yet, but they're pretty trivial so far. Hopefully when things settle down there'll be a clean way to detect the XBMC revision number so we can support everything without needing two different versions of the plugin. - highlandsun - 2010-05-11 mighty_bombero Wrote:Maruchan, My patch for librtmp http://trac.xbmc.org/ticket/8971 has been ported to Xbox by exobuzz http://trac.xbmc.org/ticket/9146 and you can get a working Xbox build from his web site. http://forum.xbmc.org/showpost.php?p=533186&postcount=581 Of course you still need python with Crypto support to be able to use the Hulu plugin, but all of the RTMPE support works fine. - kreach - 2010-05-19 I have some patches to get the plugin working without installing PyCrypto. I'm having trouble understanding how git works, so I'll post them here. First, for the crypto support needed use CryptoPy from http://sourceforge.net/projects/cryptopy/. However, all the python files need "#coding: utf-8" prepended to them. After you do that, extract the crypto folder to Hulu/resources/lib . Next patch stream_hulu.py with this diff: PHP Code: --- Hulu/resources/lib/stream_hulu.py 2010-04-10 14:46:26.000000000 -0400 - isiddiqi - 2010-05-20 kreach Wrote:I have some patches to get the plugin working on xbox with an updated librtmp. I'm having trouble understanding how git works, so I'll post them here. Thanks for posting this, when you said all files need "#coding: utf-8" prepended, you mean all the .py files as below: __init__.py ==> #coding: utf-8__init__.py filecrypt.py ==> #coding: utf-8filecrypt.py ... ... ... Or do you mean add that in the content as a first line of each *.py file? I assume you mean the second one above? - kreach - 2010-05-20 I mean add the contents as the first line of each *.py file. - isiddiqi - 2010-05-21 kreach Wrote:I mean add the contents as the first line of each *.py file. You are great man. Thanks. It worked - isiddiqi - 2010-05-21 For some reasons I only get the movies to play, and when playing Videos or Shows, it goes into this Library Mode and errors out... Anyone has any idea? - gypherogha - 2010-05-25 I've been playing around with some files to fix an issue listed here http://forum.xbmc.org/showpost.php?p=542734&postcount=202 The only way (as I'm not familiar with the plugin really AT ALL) is to make my own shortcuts on the home menu as listed here http://forum.xbmc.org/showpost.php?p=542732&postcount=201 Its more a work-around than a fix, but it does work... I don't know if anyone else could see or figure out why its not pulling show info/season lists when a show is selected from the TV Shows menu. - kreach - 2010-05-25 On line 138 of _tv.py, change PHP Code: p=re.compile('"(http://.+?)"') PHP Code: p=re.compile('(?:"|")(http://.+?)(?:"|")') - gypherogha - 2010-05-25 I'll have to give it a shot when I get home, and yes I am using an XBox. Off work in 2 hours... ugh. - kreach - 2010-05-26 To further clarify, I'm getting a nonsensical error "TypeError: an integer is required " in _tv.addEpisodeList( ) at the line "for item in eps". If you try to print item, it loops once and then the same error occurs, but this time the stack trace points to beautiful soup's _str_ function. However, if you wrap the for loop in a try/except block, even though the error is raised, everything loads fine. - gypherogha - 2010-05-26 Not the best way to fix a problem, but if it works who's going to complain? - jarod71 - 2010-05-31 hope you can fine tune this plugin for xbox, it works great except for movies and tv shows. any of the recently added, most viewed shows work fine... - highlandsun - 2010-05-31 kreach Wrote:I have some patches to get the plugin working without installing PyCrypto. I'm having trouble understanding how git works, so I'll post them here. I've pulled the aes patch into my repo. I've also removed the use of the struct module, so that bit can go away. I recommend installing CryptoPy in the XBMC system/python/Lib directory instead of just in the Hulu plugin, it will probably come in handy for other plugins. (E.g. for this one http://forum.xbmc.org/showthread.php?tid=74089 ) - kreach - 2010-06-03 Posted some more fixes on the repo. |