Hulu Plugin Development Thread - Developers only! - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: Hulu Plugin Development Thread - Developers only! (/showthread.php?tid=45888)
- highlandsun - 2010-05-02 21:34
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 04:37
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.
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 22:20
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:
And also add pystruct.py and aes.py to Hulu/resources/lib. pystruct.py is needed because the struct module included with xbmc does not have the Struct class and aes.py just unifies the api between the PyCrypto and CrytoPy.
- isiddiqi - 2010-05-20 04:55
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 17:18
I mean add the contents as the first line of each *.py file.
- isiddiqi - 2010-05-21 06:25
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 08:36
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 20:46
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 22:22
On line 138 of _tv.py, change
Also, if you're on xbox, check to see if you get an error when the episodes list.
- gypherogha - 2010-05-25 22:47
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.