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 - 2009-07-31 motd2k: this is generic to RTMP, not specific to RTMPE. And the official RTMP spec from Adobe is now public info. http://www.adobe.com/devnet/rtmp/pdf/rtmp_specification_1.0.pdf The same bug exists in flvstreamer, last time I checked. - motd2k - 2009-07-31 Yea its cool. RTMP is fine, i know its public - i've looked over librtmp alot recently. If there's a bug (specific to rtmp) then thats fine. To what field are you refering by 'Channel ID' though? If you post a packet dump i'll get it fixed on SVN motd - highlandsun - 2009-07-31 In section 6.1.1 of the spec, the Chunk Stream ID can be 1 to 3 bytes long. The current code only handles a 1 byte ID (values 0-63). Probably easier for me to just give you the patch... Code: diff -wur old/rtmp.cpp new/rtmp.cpp I should point out, it's possible I have the 3 byte decode wrong; the text says the 3rd byte is most significant, but the Figure implies that it's the 2nd byte. So maybe it should be t[0] + t[1] << 8 instead. I suspect though that the actual value doesn't matter to us... - highlandsun - 2009-08-09 Cool, I see my patch has been added to flvstreamer's svn now. - motd2k - 2009-08-10 The massive allocations were a problem, needed to convert to std vector but have had alot on the plate. - zoltar12 - 2009-09-16 Is your C++ patch to fix an issue in XBMC that was causing the HULU plugin to no longer work? Or was the patch for flvstreamer? Quote:Cool, I see my patch has been added to flvstreamer's svn now. - highlandsun - 2009-10-04 The patch was for a bug in flvstreamer. I haven't looked at the XBMC hulu plugin lately. - highlandsun - 2009-10-14 - highlandsun - 2009-11-02 And one more patch to retrieve the v= parameter. (This must be applied on top of the previous patch.) Also I've formatted the output as perl source: Code: diff -u -r1.2 ./hulu-get-keys.c - highlandsun - 2010-03-19 http://code.google.com/p/xbmc-addons/issues/detail?id=49 Need some help figuring out why the buffering is broken. Perhaps it will work better in a newer SVN rev? Yes, it works fine using r28276. - highlandsun - 2010-04-02 They are in the midst of migrating to a new CDN, and some of the parsing needs to be fixed again. Is anyone using this plugin now, or am I just talking to myself? If no one's using it I'm not going to bother updating the patch. - maruchan - 2010-04-02 highlandsun Wrote:Is anyone using this plugin now, or am I just talking to myself? If no one's using it I'm not going to bother updating the patch. The plugin is working again? I've been following this thread as Hulu support in XBMC again has been my dream since it broke... I'm currently switching between XBMC and Boxee simply for the Hulu support. I'm not familiar with using a diff patch nor do I have the original Hulu plugin to patch it with, but I'll try to get this up and running today. Thanks! - cbrunhaver - 2010-04-02 ditto. It would be fantastic to get hulu support going again. -Chris - highlandsun - 2010-04-03 You're going to need several customizations to get this working; the plugin uses some python crypto modules that aren't part of the default XBMC build. I guess you should be able to just install the modules in your ~/.xbmc directory but I don't know the details. (And since it does the crypto in python, you no longer need gnash or any other external programs.) You also need to recompile XBMC anyway, incorporating the patch here http://trac.xbmc.org/ticket/8971 (which I also discussed in this thread http://forum.xbmc.org/showthread.php?tid=70512 ) Since I already have python 2.6 installed on my machine, I configured my XBMC build to use the system python instead of its internal one. When applying the patch, I just replace xbmc/xbmc/lib/libRTMP with a symlink to rtmpdump/librtmp. That way I don't have to change any other link or compile paths. I've uploaded my plugin to http://highlandsun.com/hyc/Hulu.zip, you should be able to just extract it in your plugins folder. (It's the actual source tree, so it contains a lot of extra junk you don't need. It also contains the SVN history so you can type "svn diff" to see what I fixed.) - highlandsun - 2010-04-03 I just noticed, this plugin is using the RSS feeds to populate the list of episodes. But the RSS feeds only show "new" material, stuff that was recently added. So e.g. if a show has 2 seasons, the RSS feed will likely only list the latest episodes in season 2. That whole part needs to be reworked... |