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)
- CrashX - 2010-07-01 15:04
highlandsun Wrote:That was your mistake. Read the pycrypto README, don't just extract directories willy-nilly. You'll never get anywhere if you don't follow directions.
k sorry when I read the forum I assumed it was straight forward copy and didn't realize you have compile the library.
I run it on python 2.6 and it gave error but I then again xbmc is using python 2.4 so I should compile with that right ?
- highlandsun - 2010-07-01 15:39
If you're using xbmc's bundled python 2.4, then you should probably just use cryptopy instead. It's pure python and doesn't need to be compiled. *That* one you can simply copy into place.
By the way, please note this wiki http://gitorious.org/xbmc-hulu/pages/Home
We can expand it as needed based on user questions. But since this is the Developers Only thread, I'm not going to address any more user questions here.
- CrashX - 2010-07-01 16:10
highlandsun Wrote:If you're using xbmc's bundled python 2.4, then you should probably just use cryptopy instead. It's pure python and doesn't need to be compiled. *That* one you can simply copy into place.
Thanks for creating the wiki. Just what we need a clear instructions on how to get xbmc hulu plugin to work .
- jmarshall - 2010-07-05 06:29
@highlandsun: Is there any pros and cons with pycrypto versus cryptopy, other than the obvious (cryptopy being pure python). Just wondering which one XBMC should bundle.
- BrokenCodes - 2010-07-05 22:34
PyCrypto does not work very well with Python Version < 2.6
- highlandsun - 2010-07-05 22:53
And the opposite is also true, CryptoPy needs a bunch of non-functional edits to work with python > 2.4. (It has ISO8859-1 Copyright symbol in its comments, and python 2.6 barfs on them.)
Probably CryptoPy is the easiest, since it requires no target-specific compilation. Somebody just needs to go through and clean up the header comment in every single file. kreach already did this in his first build of xbmc-hulu, but he didn't split it out into its own package. It's not a big deal to fix.
- jmarshall - 2010-07-05 23:39
Thanks - I presume that there's no speed issue at all with cryptopy either way (or at least nothing that really makes a big enough difference in practice.)
If so, I agree cryptopy is the easier way to go as we can just pop it in the repo and not bother having more stuff cluttering up SVN
- theuni - 2010-07-06 03:50
Committed to the addons repo. Any addon needing CryptoPy may now add it as a requirement, and it will be fetched automatically.
- highlandsun - 2010-07-06 08:17
theuni Wrote:Committed to the addons repo. Any addon needing CryptoPy may now add it as a requirement, and it will be fetched automatically.
That's very cool. Is there a a particular place in addon.xml that the above line needs to be?
- highlandsun - 2010-07-06 08:21
On a completely different note, for folks wanting to watch Hulu on their Android phones, there's no need to wait for Adobe to give you Flash 10.1. See this youtube video for the demo
The scripts it uses are posted here
It uses the same core as the get-flash-videos Hulu plugin, but uses ffmpeg to fetch the video instead of rtmpdump, and feeds it in to ffserver which converts rtmp to rtsp, and every Android phone can play the resulting rtsp stream.
I've been thinking of converting the xbmc hulu plugin into a CGI instead, it can work as a standalone script for navigating the Hulu videos without all the slowness of the actual Hulu web site.