Kodi Community Forum

Full Version: [RELEASE] Hulu (Video) Plugin for XBMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
I tried a search of this thread, but I might have missed if it's possible to jump backwards in a stream?

Also, this plugin works great on my xbox. I just had to lower the cache to 512 and that got rid of the constant buffering.
Why would lowering the cache rid of the buffering? Don't you want the stream to buffer so it can play whats buffered opposed to loosing a connection?

Not trying to go off topic, but I'm tryig to see how that would improve the play back of Hulu.
I'm not sure, but I was having lots of buffering with the Hulu plugin and the CBS plugin. I read in the thread for the BBC player to lower the cache to 512K. I tried that and it fixed the buffering for me.
Can anyone confirm whether this plugin works with the 1-25-09 SVN build of T3CH?
Having a weird issue with the plugin under Windows. When I try to watch a stream, it buffers and than switches to an unsupported screen resolution, anyone else having this issue? I am using the latest script from the repostiory
afail Wrote:Having a weird issue with the plugin under Windows. When I try to watch a stream, it buffers and than switches to an unsupported screen resolution, anyone else having this issue? I am using the latest script from the repostiory

Run it with the -fs tag. IIRC just setting the resolution to fullscreen isn't enough.
Hi,

I'm using the hulu plugin from post:

http://forum.xbmc.org/showpost.php?p...&postcount=176

with BlueCop fix in post #216. I have every thing working fine. BUT...

So I guess I'm running @ 700k? Whatever that means. Can anyone tell me what this is equivalent to in terms of the 360p and 480p resolution that available when watching hulu through the browser?

Is 480p equivalent to H264?

Thanks for any help.
P.
I'm using the latest Let's Watch Hulu plugin using the tech from jan 25 on my xbox and it keeps freezing up so I have to do a manual reboot since the controller no longer gets any response. During the freeze, I was still able to FTP the xbmc.log file and have it pasted here: http://pastebin.ca/1320842
I'm going to try lowering my cache to 512k since i've read that it can help sometimes. in case it makes a difference, I was watching Howie Do It episode 4 on the 480k flash setting.

I made it further with 512k, but it still stalled and required me to do a hard reboot by pushing the button on the box: http://pastebin.ca/1320868

I'm thinking it could be that my internet is lagging, but I don't get why it freezes instead of resorting to a buffering state.

I just watched the full episode successfully using the PMIII skin instead of the PM3HD one. It's possible that I ran out of ram and that's why it froze. I'll try some more tests using the PMIII skin to see if i can replicate the freezing problem.

I have successfully watched several episodes and have yet to replicate the freezing on my xbox using the PMIII skin. I'm going to stick with it as long as it's working while using the hulu plugin.
rwparris2 Wrote:Run it with the -fs tag. IIRC just setting the resolution to fullscreen isn't enough.

Thanks, I actually am using the -fs and -p options when I launch. Still getting unsupported.

Here is my log http://pastebin.com/m789a7fd

Maybe line #1131?
I was having the same problem. All you need to do is comment out this line in:

C:\Program Files\XBMC\plugins\Video\Hulu\resources\lib\stream_hulu.py

#xbmc.executebuiltin('XBMC.ActivateWindow(fullscreenvideo)')

and this one

#xbmcgui.Dialog().ok('',common.args.mode)

After doing this XBMC did not switch out of full screen mode. Also, be patient with the buffering it takes about 20-30 seconds after you start the file to begin play back.

Good Luck

afail Wrote:Thanks, I actually am using the -fs and -p options when I launch. Still getting unsupported.

Here is my log http://pastebin.com/m789a7fd

Maybe line #1131?
Thanks, will test this now and report back if it doesn't resolve it
I'm having that issue as well. I'll give that a try, thanks pabjr

EDIT: Seems to work, though I wouldn't exactly call it a solution, more like a temporary fix. It waits like 30 seconds for some videos as he said before launching, without leaving the menu and without popping up a buffering dialog or anything of the sort.
I've read through all 39 pages of posts, but obviously I'm missing something. I installed the latest t3ch version (1/25/09) on my Xbox and could not get the Hulu scripts to start. I click on the icon, the name underneath changes from "Hulu" to "Hulu (Running)", then changes back to "Hulu" and just sits there. I can run other scripts (e.g. YouTube).

I've tried several versions of the Hulu scripts, including ones dated 12/25/08, 12/29/08, and 1/9/09. For testing purposes I loaded all the versions into my scripts directory under folders with date stamps (i.e. Hulu-081225, Hulu-081229, Hulu-090109).

I downgraded my build to the t3ch version from 12/30/08, that didn't change anything.

Here is my log file after trying to start all three versions.

Quote:23:49:14 M: 14229504 NOTICE:
23:49:14 M: 14229504 NOTICE: Traceback (most recent call last):
23:49:14 M: 14229504 NOTICE: File "Q:\scripts\Hulu-090109\default.py", line 18, in ?
23:49:14 M: 14229504 NOTICE:
23:49:14 M: 14229504 NOTICE: plugin.Main()
23:49:14 M: 14229504 NOTICE: File "Q:\scripts\Hulu-090109\resources\lib\stream_hulu.py", line 23, in __init__
23:49:14 M: 14229504 NOTICE:
23:49:14 M: 14229504 NOTICE: self._get_settings()
23:49:14 M: 14229504 NOTICE: File "Q:\scripts\Hulu-090109\resources\lib\stream_hulu.py", line 31, in _get_settings
23:49:14 M: 14229504 NOTICE:
23:49:14 M: 14229504 NOTICE: self.settings['front_page'] = int(xbmcplugin.getSetting( "front_page" ))
23:49:14 M: 14229504 NOTICE: ValueError
23:49:14 M: 14229504 NOTICE: :
23:49:14 M: 14229504 NOTICE: invalid literal for int():
23:49:14 M: 14229504 NOTICE:
23:49:14 M: 14229504 ERROR: Scriptresult: Error
23:49:14 M: 14753792 NOTICE:
23:49:14 M: 14753792 NOTICE:
23:49:18 M: 18288640 NOTICE: -->Python Initialized<--
23:49:18 M: 18268160 NOTICE:
23:49:21 M: 13881344 NOTICE: Traceback (most recent call last):
23:49:21 M: 13881344 NOTICE: File "Q:\scripts\Hulu-081225\default.py", line 29, in ?
23:49:21 M: 13881344 NOTICE:
23:49:21 M: 13881344 NOTICE: D_HANDLE = sys.argv[1]
23:49:21 M: 13881344 NOTICE: IndexError
23:49:21 M: 13881344 NOTICE: :
23:49:21 M: 13881344 NOTICE: list index out of range
23:49:21 M: 13881344 NOTICE:
23:49:21 M: 13881344 ERROR: Scriptresult: Error
23:49:21 M: 14405632 NOTICE:
23:49:21 M: 14405632 NOTICE:
23:49:23 M: 18284544 NOTICE: -->Python Initialized<--
23:49:23 M: 18284544 NOTICE:
23:49:26 M: 13279232 NOTICE: HULU -> Start
23:49:26 M: 13279232 NOTICE:
23:49:26 M: 13279232 NOTICE: Traceback (most recent call last):
23:49:26 M: 13279232 NOTICE: File "Q:\scripts\Hulu-081229\default.py", line 26, in ?
23:49:26 M: 13279232 NOTICE:
23:49:26 M: 13279232 NOTICE: url, name, mode, thumbnail, profile = Utils.get_params(sys.argv[2])
23:49:26 M: 13279232 NOTICE: IndexError
23:49:26 M: 13279232 NOTICE: :
23:49:26 M: 13279232 NOTICE: list index out of range
23:49:26 M: 13279232 NOTICE:
23:49:26 M: 13279232 ERROR: Scriptresult: Error
23:49:26 M: 13803520 NOTICE:
23:49:26 M: 13803520 NOTICE:

Thanks in advance to anyone who can put me out of my misery.
eric, it's a plugin. put it into Q:\plugins\video instead of scripts.
New version available from repo installer.

The changing resolution is caused by an xbmc bug. There is now a plugin setting that will get around the bug, but it requires an extra click after the quality has been picked.
(Localization Support means support for other languages, not support for non-us countries)

Quote:[Hulu]

added: Localization Support
added: ability to select quality from settings
added: Hack to get around bug that causes xbmc to change resolution (see
settings)
removed: some debug stuff I left in last time
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47