Hi everybody,
I tried to make this usable on Xbox and current XBMC builds in general. I delegated calls to Crypto libs to an Ubuntu machine using Pyro and used the RTMP proxy described in
http://forum.xbmc.org/showthread.php?tid=71532 to get the streams displayed.
This almost works, but somehow it seems XBMC is not keeping the HTTP connection open so the proxy kills the connection. Anyhow I packed this up in a zip for everybody to try and maybe improve.
To get it running on Ubuntu 9.10:
1. Unzip the archive. Put "Hulu" into your video plugin folder. Edit line 220 in stream_hulu.py to point to the server running the RTMP proxy.
2. Install the packaged Pyro: sudo aptitude install pyro
3. Run the Pyro nameserver: pyro-ns -n [your_ip] -p 9090
4. Go to "Hulu_Pyro_Client" and run it: python hulu_pyro_client.py
5. Run the rtmp proxy: perl rtmp_proxy.pl
6. Run XBMC and select a stream through the plugin.
With a bit of luck you should see the first pictures appear. Then XBMC somehow seems to drop the HTTP connection causing the proxy to terminate the streaming fork. Maybe somebody has an idea why this happens and how to work around it.
Code available here:
http://www.megaupload.com/?d=9M1A9QLN
mighty_bombero