XBMC Community Forum
[RELEASE] Hulu (Video) Plugin for XBMC - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Hulu (Video) Plugin for XBMC (/showthread.php?tid=42041)



- rwparris2 - 2009-01-30 07:53

mr.b Wrote:what about opening a socket and shoving multiple page requests in per connection? I forget the term, but it's something allowed for in modern HTTP standards. People doing mass scraping employ it and say it improves performance in a big way. I've found a reference implementation in php before.... I'll dig around and see if I can't find something in python.

Just looked it up -- its Http 1.1 pipelining

Do you know of a (pure python, so I can actually use it) lib that supports pipelining?

I suppose threading the requests could work, but I don't know if it's worth it...

Feel free to work on this yourself, using the xbmc-addons to submit any patches you may have.


- CrashX - 2009-01-30 20:34

I don't think their will be any major benefit in using different parser for HTML. By the look of the Hulu Script, I see that we download and parse for each show .. Downloading from the web would contribute alot more then actual parsing .. I say we looking at 70% for downloading and 30% for parsing in terms of time.

What we need to look into caching information into a file and that I belive is what rwparris2 is working on ? What is the current status ?


- CrashX - 2009-01-30 20:49

If the caching does help much, we than try using Threads. We use threads to do the downloading and the same time parse the data:-

http://www.wellho.net/solutions/python-python-threads-a-first-example.html


- rwparris2 - 2009-01-30 21:19

CrashX Wrote:If the caching does help much, we than try using Threads. We use threads to do the downloading and the same time parse the data:-

http://www.wellho.net/solutions/python-python-threads-a-first-example.html

Thanks for the example.
Yes I have a version here that keeps everything in an xml file, but as of right now it's buggy as heck. I'll have time this weekend to finish this up & add searching & hopefully finish the logging in stuff.
BTW if anyone wants to help with the logging in & queuing stuffs, feel free. I don't use those features on Hulu so my motivation is pretty low Rolleyes


Okay so where's the latest effort - rashid420 - 2009-01-31 22:48

I appreciate all of you all spending time on this. Is there a link I can get the latest fruits of your labor? The latest and greatest plugin source that is.

Thanks much.


- rwparris2 - 2009-01-31 23:10

Just use the xbmc repo installer one.


- sion28 - 2009-01-31 23:41

rwparris2 Wrote:Just use the xbmc repo installer one.

Okay, call me dumb&blind... I did a forum search for "xbmc repo installer" and just get a bunch of posts that refer to it, w/o explaining what or where it is.

Can someone please point me to the proper FAQ or xbmc user wiki entry?

Thanks...


- ksufinger - 2009-01-31 23:56

sion28 Wrote:Okay, call me dumb&blind... I did a forum search for "xbmc repo installer" and just get a bunch of posts that refer to it, w/o explaining what or where it is.

Can someone please point me to the proper FAQ or xbmc user wiki entry?

Thanks...

It's called the SVN Repo Installer plugin. (You probably already have it under 'Programs')
http://forum.xbmc.org/showthread.php?p=170802


Problems with Hulu plugin in Linux - theophile - 2009-02-01 01:32

I'm running 8.10 "Atlantis" on Ubuntu and everything works fine, except most plugins and scripts won't work properly.

First up, I'd like to see if I can iron out a problem with the Hulu plugin from the SVN repo at the "XBMC Addons" Google Code project. Using the plugin I am able to navigate through the menus just fine. When I select a program to wacth, it lets me select the desired quality. No matter what I select, I get a black screen that won't responsd to keypresses and I have to kill -9 the XBMC process.

I am seeing some relevant errors in the log file but I have no idea how to correct them. Due to the size, here's a link to the pastebin error message:

http://pastebin.com/f324154f

I'm not sure, but I think lines 47-61 are the key. Can anyone help?


- sion28 - 2009-02-01 01:47

ksufinger Wrote:It's called the SVN Repo Installer plugin. (You probably already have it under 'Programs')
http://forum.xbmc.org/showthread.php?p=170802

Yes, I do have it under 'Programs'. But what do I do with it? I selected it, and nothing happened. What's it supposed to do? Is there a user guide for it?

FYI, I am running the 12-30-09 T3CH build.

Thanks...