PDA

View Full Version : [ RELEASE ] Hulu (Video) Plugin


rwparris2
2009-02-23, 03:41
This thread is for end-user discussion of the hulu plugin. Bug reports, feature requests, and thank yous welcome.

Any developer discussion should take place here: http://xbmc.org/forum/showthread.php?p=287676


Currently known information: (at any point if this needs to be updated, feel free to let me know):

This plugin does not work outside of the USA, because Hulu.com requires that you be inside of the US. You may have good luck with proxies, but being inside the US myself I cannot test them.

As far as I know, there is no working version available.

The info below is old, and is being temporarily kept for informational purposes.

Retalogic created an alternative build of the plugin that requires gnash (http://www.gnu.org/software/gnash/). AFAIK, this will NOT work on xbmc for xbox, because gnash cannot be installed there. I believe gnash will compile for windows, mac osx, and linux, and the plugin should work fine on those platforms. I repeat: at this time the Hulu Plugin will not work on xbmc for xbox, because we currently require gnash.

This is not the place to ask for help with compiling/installing gnash. They have their own wiki, with instructions on compiling: http://wiki.gnashdev.org/Gnash#Building.
However, if you want to post a how-to or link to one that worked for youn in the off-topic forums & post link to it here I certainly don't have a problem with that. As I understand it, in order to build gnash, you need OSX. Or if you yourself have successfuly cross-compiled it, feel free to make a new thread in the off-topic forums detailing how & post a link to your thread here.

This gnash-dependant version is currently in SVN, and can be installed using the SVN Repo Installer (http://xbmc.org/forum/showpost.php?p=159135&postcount=1). To reiterate, it requires gnash, and will not work with xbox.Let us know of any bugs!

bribo
2009-02-23, 04:07
So what's the latest on the Hulu plugin for XBMC/Boxee?

sion28
2009-02-23, 04:21
This thread will die a quick death w/o the dev's in here discussing and answering questions. I understand RWParris' concerns, but ... I have a feeling the dev thread is gonna be the place to be.

It would be nice if one of you devs who are deep into this could at least post an update once in a while about what the status is for different platforms, where/how to get any working plugins, etc.

In case you didn't notice, that's all any non-devs care about.
1 - Is there a working plugin for my platform?
2 - where do I get it, and how do I install it?

Keep answering those two questions every once in a while and you'll see a big drop in noob posts, I bet. :-)

But as always, great work and keep it up. I'm not much of a programmer so really just greatly appreciate all you who are and share your talents with the rest of us.

rwparris2
2009-02-23, 04:39
No reason dev won't post in here, it just won't be used for discussing the technical side of development. It is a good thing, many other plugins also separate development discussion and end user discussion.

Having a lot of information about things that aren't ready for prime time generally only confuses users.

EDIT: updated the first post with more info. If anyone else thinks it is missing anything, please let me know. I want to keep post #1 as updated as possible so that we don't have a ton of users asking simple, already answered questions.

NPerez
2009-02-23, 04:57
Okay, here are your options as an end-user:

1. Use the Fancast plugin (http://github.com/rectalogic/xbmc-fancast-plugin/tree/master) which has some Hulu content, but not all. Fancast discussion is in this thread (http://xbmc.org/forum/showthread.php?p=287674).

2. If you're smart or lucky or both, you might have luck with the Gnash version of the Hulu plugin (http://github.com/rectalogic/xbmc-hulu-plugin/tree/gnash). You'll have to download Gnash, and edit your plugin settings file to point to the path of the executable. Probably won't work on XBox, and I didn't have any luck with it on Windows (but I gave up rather early)

3. Wait for someone to come up with a better idea, I guess. Right now I'm trying to see if I can make an updated dirty fix. It's going alright, but I hate cryptography and have a brain-ache, so lets hope I don't have any motivational issues. Hulu's just going to break it shortly thereafter anyway so don't hold your breath.

rwparris2
2009-02-23, 04:59
But I hate cryptography and have a brain-ache, so lets hope I don't have any motivational issues.

which is exactly why I gave up on it (for now) :rolleyes:

wonslung
2009-02-23, 05:31
i am a boxee user and i was able to get it working after some time but i had to install gnash from source.
the debian/ubuntu package didn't work. what's funny is that hulu on boxee prior to the cutoff didn't work well. you could play but not pause/fastforward/rewind this plugin allows all playback controls AND doesn't have any commercials now.

big ups to all the devs
still waiting to here if it's possible on the xbox

rwparris2
2009-02-23, 06:05
changes that require gnash in svn. you can now use the svn installer to get this version. thanks a million retalogic! :nod:

[Hulu]
changed: use sec.swf directly to decrypt pid. requires gnash to be installed on user's system.
(thanks retalogic!)

1st post updated

PsyberS
2009-02-23, 08:23
i am a boxee user and i was able to get it working after some time but i had to install gnash from source.
the debian/ubuntu package didn't work.

I'm wondering what sort of problems you had that made you recompile gnash from source. I installed the updated plugin on Boxee/Ubuntu 8.10 with gnash installed from the ubuntu package. It seems to work, except for the fact I have no sound!

Was this the same problem you ran into?

timdog82001
2009-02-23, 10:14
the plugin keeps coming back saying that the gnash file doesn't exist...but it does, and I already edited the settings.xml file to point to it. Am I missing something here? I tried to figure out how to compile it myself but couldn't so I just found a precompiled one..

wonslung
2009-02-23, 11:29
I'm wondering what sort of problems you had that made you recompile gnash from source. I installed the updated plugin on Boxee/Ubuntu 8.10 with gnash installed from the ubuntu package. It seems to work, except for the fact I have no sound!

Was this the same problem you ran into?
no, i couldn't get it to work at all on ubuntu 8.04 32bit so before giving up i decided to compile it from source, i got the newest version of gnash and did apt-get build-dep gnash then tried to compile it, still got an error but luckily the error told me the exact packages i needed, i downloaded them all (except something called ming which i didn't get) and then i tried again, this time it worked and i've been using hulu all night

carlitozway
2009-02-23, 12:21
I've been unable to get it to work on Windows. Not sure if I'm doing something wrong or what.

wonslung
2009-02-23, 14:46
I've been unable to get it to work on Windows. Not sure if I'm doing something wrong or what.

i read somewhere that someone is trying to use webkit to get things working.

This should make it work on all systems

Temhil
2009-02-23, 15:44
Hi rwparris2,

Sorry for asking but I just want to be sure I understood you first message: the current version in xbmc-addons is the one working on Xbox or it is the one needing gnash (which does not work on XBOX)?
Or now since changes on Hulu, Hulin plugin cannot work without gnash and consequently on Xbox?
Thanks for answering and great job, even thus I cannot enjoy it being outside US :(

rwparris2
2009-02-23, 15:51
Hi rwparris2,

Sorry for asking but I just want to be sure I understood you first message: the current version in xbmc-addons is the one working on Xbox or it is the one needing gnash (which does not work on XBOX)?
Or now since changes on Hulu, Hulin plugin cannot work without gnash and consequently on Xbox?
Thanks for answering and great job, even thus I cannot enjoy it being outside US :(

The one in SVN does require gnash. Updated 1st post to make it more clear.
Anything else that is unclear feel free to ask about, I'm not the best writer/speaker in the world :sniffle:

Dick-Perry
2009-02-23, 16:24
hi
can i use this plugin outside us? (ip check disabled)

hott198
2009-02-23, 17:30
thanks for the update and thread split. was too confusing before. now I got my answer as to the status of hulu on xbox classic.

mlmorg
2009-02-23, 18:13
i read somewhere that someone is trying to use webkit to get things working.

Where did you read that?

Plex currently uses the webkit framework to get hulu content by cropping out just the hulu player so it's definitely possible, and should be approached by devs who know how to do such a thing, but I haven't actually read that anyone is trying it unfortunately.

rwparris2
2009-02-23, 18:41
hi
can i use this plugin outside us? (ip check disabled)

There is no way that I know of to disable the IP Check, can you elaborate on what you mean by 'ip check disabled' ?

jonm42
2009-02-23, 18:43
RWP -- re: gnash working on Mac OS X, yes, it does. I followed the instructions listed here:

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

and then confirmed it with

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

monkeymaster
2009-02-23, 23:05
will there be a Hulu plugin for the xbox(without gnash) is there something besides fancast (the original plugin ) that we can get to work (by refreshing the decrypt.swf)

I love xbmc on the xbox, if its just a matter of redownloading the swf file
can you tell me the url for the decrypt and the place where I can get the original source.
or am I just dreaming about ever playing hulu on the xbox?

hrcolb0
2009-02-24, 04:43
Is there any way someone who has gotten gnash to work can post some links on what they used specifically for windows on a new thread?

I've tried 3 different versions of installs, and cannot seem to get it to work.

pushparvind
2009-02-24, 10:29
Here is what I did to try to get Hulu to work on windows:
I downloaded gnash from:
http://webscripts.softpedia.com/script/Development-Scripts-js/Gnash-21619.html

Extracted the gnash files to c:\gnash.
modified:
C:\Users\admin\AppData\Roaming\XBMC\plugins\video\ Hulu\resources\settings.xml
to point the gnash_path setting to c:\gnash\gnash.exe
as below:

<setting id='gnash_path' type ="text" label="30020" default="c:\gnash\gnash.exe"/>

After that I was able to go to Hulu and browse various folders for all the videos available there. However whenever I click on any video to view it, I get the following error:

Error
Python script failed:
special://home/plugins/video/Hulu/default.py

Any ideas what I need to do? Where can I find more information about this?

Avoni
2009-02-24, 11:25
My largest issue at the moment seems to be related to this error.

04:12:46 T:2912586640 M: 12058624 NOTICE: cannot concatenate 'str' and 'NoneType' objects
04:12:46 T:2912586640 M: 11948032 NOTICE:
04:12:46 T:2912586640 M: 11948032 ERROR: Scriptresult: Error
04:12:46 T:2912586640 M: 11436032 INFO: Python script stopped

I am decoding the pid just fine, but the video playback is yet to show itself.

I also get

04:12:46 T:2912586640 M: 11665408 ERROR: dll_fstat64 emulated function failed
04:12:46 T:2912586640 M: 11665408 WARNING: dll_setvbuf - May not be implemented correctly

I think those are less important, but I'm not entirely sure.

wonslung
2009-02-24, 15:42
did they break this plugin again?

Dick-Perry
2009-02-24, 17:38
There is no way that I know of to disable the IP Check, can you elaborate on what you mean by 'ip check disabled' ?


watch hulu outside of the usa

TraffikD
2009-02-24, 18:14
Here is what I did to try to get Hulu to work on windows:
I downloaded gnash from:
http://webscripts.softpedia.com/script/Development-Scripts-js/Gnash-21619.html

Extracted the gnash files to c:\gnash.
modified:
C:\Users\admin\AppData\Roaming\XBMC\plugins\video\ Hulu\resources\settings.xml
to point the gnash_path setting to c:\gnash\gnash.exe
as below:

<setting id='gnash_path' type ="text" label="30020" default="c:\gnash\gnash.exe"/>

After that I was able to go to Hulu and browse various folders for all the videos available there. However whenever I click on any video to view it, I get the following error:

Error
Python script failed:
special://home/plugins/video/Hulu/default.py

Any ideas what I need to do? Where can I find more information about this?

It's funny, I did the exact same thing as you except I got gnash from a different source. Same problems with python failing. I think there's a compatibility problem with boxee/xbmc, python, and this script if you're a Windows user. So it's looking like Windows users are screwed for the time being.

jonm42
2009-02-24, 18:30
There was small glitch regarding checking for isdir vs. isfile or exists; get the latest from SVN and you'll get past the can't find gnash error.

hrcolb0
2009-02-24, 18:48
Got the new svn. Now I get a syntax error:

Traceback (most recent call last):
11:39:33 T:2120 M:510119936 NOTICE: File "C:\Program Files\XBMC\plugins\video\hulu\default.py", line 12, in ?
11:39:33 T:2120 M:510119936 NOTICE:
11:39:33 T:2120 M:510119936 NOTICE: import resources.lib.common as common
11:39:33 T:2120 M:510119936 NOTICE: File "C:\Program Files\XBMC\plugins\video\hulu\resources\lib\common .py", line 21, in ?
11:39:33 T:2120 M:510115840 NOTICE:
11:39:33 T:2120 M:510115840 NOTICE: exec "args = _Info(%s)" % (urllib.unquote_plus(sys.argv[2][1:].replace("&", ", ").replace('"','\'')), )
11:39:33 T:2120 M:510115840 NOTICE: File "
11:39:33 T:2120 M:510115840 NOTICE: <string>
11:39:33 T:2120 M:510115840 NOTICE: ", line
11:39:33 T:2120 M:510115840 NOTICE: 1
11:39:33 T:2120 M:510115840 NOTICE:
11:39:33 T:2120 M:510115840 NOTICE:
11:39:33 T:2120 M:510115840 NOTICE: args = _Info(url='http://www.hulu.com/watch/59165/24-500-pm---600-pm#http%3A%2F%2Fwww.hulu.com%2Ffeed%2Fpopular%2Fvi deos%2Ftoday%3Frd%3D0', mode='RSS_play', name='24: 5:00 PM - 6:00 PM (s7 | e10)', fanart='http://assets.hulu.com/shows/key_art_24.jpg', plot='Chloe O'Brian hacks away to assist Jack Bauer and Agent Renee Walker as they twist and turn through metro Washington, DC.', genre='Most Popular Videos Today')
11:39:33 T:2120 M:510115840 NOTICE:

It's the same syntax as the previous version so I don't know what it is messing up now.

thejipster
2009-02-24, 19:56
I followed the gnash install/link from OP above and got the listing now.
But when playing, I errors out.
xbmc.log shows . The URL looks weird, not sure what type of URL encoding is used within python script.

9:53:21 T:1352 M:234811392 ERROR: Scriptresult: Error
09:53:21 T:4044 M:236904448 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/Hulu/?url="http%3A%2F%2Fwww.hulu.com%2Fwatch%2F44998%2Ffringe-the-equation"&mode="TV_play"&name="s01e08+Fringe%3A+The+Equation+"&fanart="http%3A%2F%2Fassets.hulu.com%2Fshows%2Fkey_art_fri nge.jpg"&plot="A+child+music+prodigy+is+abducted+by+a+serial+kidn apper."&genre="genre"
09:53:21 T:4044 M:236904448 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/Hulu/?url="http%3A%2F%2Fwww.hulu.com%2Fwatch%2F44998%2Ffringe-the-equation"&mode="TV_play"&name="s01e08+Fringe%3A+The+Equation+"&fanart="http%3A%2F%2Fassets.hulu.com%2Fshows%2Fkey_art_fri nge.jpg"&plot="A+child+music+prodigy+is+abducted+by+a+serial+kidn apper."&genre="genre") failed

timdog82001
2009-02-24, 20:36
There was small glitch regarding checking for isdir vs. isfile or exists; get the latest from SVN and you'll get past the can't find gnash error.

thank you for that. I'm sure I would have figured it out before long anyway, but it at least loads now.

However, I seem to be getting the script failing message like everyone else when i try to play a video and also near the end of trying to load the "all shows" directory of tv shows

Avoni
2009-02-24, 21:29
Going from svn as of this morning I'm still seeing some errors and videos are still failing to load.
This one was easy enough to solve, just separate the lines from the error

NOTICE: smilURL = "http://releasegeo.hulu.com/content.select?pid=" + hulu_decrypt(pid) + "&mbr=true&format=smil"
NOTICE: TypeError
NOTICE: :
NOTICE: cannot concatenate 'str' and 'NoneType' objects


So they look like this

smilURL = "http://releasegeo.hulu.com/content.select?pid="
hulu_decrypt(pid)
"&mbr=true&format=smil"

Now the error is

NOTICE: File "/usr/share/xbmc/system/python/python24.zip/urllib2.py", line 480, in http_error_default
NOTICE:
NOTICE: raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
NOTICE: urllib2
NOTICE: .
NOTICE: HTTPError
NOTICE: :
NOTICE: HTTP Error 404: Not Found
NOTICE:
ERROR: Scriptresult: Error
INFO: Python script stopped

A 404 error, that's just irking. I'm getting closer.

jonm42
2009-02-24, 22:00
Whats odd is that I have all this working with a build pulled yesterday (on Mac OS) sometime (at work/lunch so no idea as to the actual r####). Quite odd.

rectalogic
2009-02-24, 22:58
Going from svn as of this morning I'm still seeing some errors and videos are still failing to load.
This one was easy enough to solve, just separate the lines from the error

NOTICE: smilURL = "http://releasegeo.hulu.com/content.select?pid=" + hulu_decrypt(pid) + "&mbr=true&format=smil"
NOTICE: TypeError
NOTICE: :
NOTICE: cannot concatenate 'str' and 'NoneType' objects


That error means hulu_decrypt() failed and returned None.

Your fix is just preventing the concatenation, so you end up with an invalid URL and 404 return.

oncomouse
2009-02-24, 23:36
That error means hulu_decrypt() failed and returned None.

Your fix is just preventing the concatenation, so you end up with an invalid URL and 404 return.

These errors with things failing seem to be happening because of something with gnash. I've compiled it on OSX and when I run:

dump-gnash --render-mode 0 --verbose --param FlashVars=pid=f59f3f3cea444f31822baa4430fa4b298c7e ddd65d204312649f42cccd2c6f46~5e7f306abe00bb2ee692c b1bb8521bbd119c244eea968997ab8f06cdbe3308f9 DecryptPid.swf

I get the following output:

RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: couldn't open file: /Users/test/.gnashrc
4988:2691733280] 16:26:17 SECURITY: Checking security of URL 'file:///Users/test/Desktop/DecryptPid.swf'
4988:2691733280] 16:26:17 SECURITY: Load of file /Users/test/Desktop/DecryptPid.swf granted (under local sandbox /Users/test/Desktop/)
4988:2691733280] 16:26:17 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
4988:2691733280] 16:26:17 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
4988:2691733280] 16:26:17 SECURITY: Load from host www.hulu.com granted (default)
4988:2691733280] 16:26:17 ERROR: HTTP response 404 from url http://www.hulu.com/sec.swf
4988:2691733280] 16:26:17 ERROR: unknown file type, buf is #W?
4988:2691733280] 16:26:17 ERROR: unknown file type (5)
4988:2691733280] 16:26:17 ERROR: Couldn't load library movie 'http://www.hulu.com/sec.swf'
4988:2691733280] 16:26:17 ERROR: can't create movie_definition for http://www.hulu.com/sec.swf

Running "wget http://www.hulu.com/sec.swf" gets the file just fine, as does browsing there in Firefox. Could it be possible for the Hulu people to be blocking gnash somehow?

d4rk
2009-02-25, 00:18
They're doing a simple user agent check, it's defined in libbase/curl_adaptor.cpp.

wonslung
2009-02-25, 03:30
how do i get the latest working patch? i don't have the svn address and can't seem to find it

oncomouse
2009-02-25, 06:39
They're doing a simple user agent check, it's defined in libbase/curl_adaptor.cpp.

Thanks. I got it working around 6:00 EST today where if I ran:

macbook:Desktop test$ dump-gnash --render-mode 0 --verbose --param FlashVars=pid=f59f3f3cea444f31822baa4430fa4b298c7e ddd65d204312649f42cccd2c6f46~5e7f306abe00bb2ee692c b1bb8521bbd119c244eea968997ab8f06cdbe3308f9 DecryptPid.swf

I would get the following results.

RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: couldn't open file: /Users/test/.gnashrc
15560:2691733280] 17:27:52 SECURITY: Checking security of URL 'file:///Users/test/Desktop/DecryptPid.swf'
15560:2691733280] 17:27:52 SECURITY: Load of file /Users/test/Desktop/DecryptPid.swf granted (under local sandbox /Users/test/Desktop/)
15560:2691733280] 17:27:52 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
15560:2691733280] 17:27:52 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
15560:2691733280] 17:27:52 SECURITY: Load from host www.hulu.com granted (default)
15560:2691733280] 17:27:53 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
15560:2953850880] 17:27:53 UNIMPLEMENTED: FileAttributes tag in the SWF requests that network access is not granted to this movie (or application?) when loaded from the filesystem. Anyway Gnash won't care; use white/black listing in your .gnashrc instead
15560:2691733280] 17:27:54 UNIMPLEMENTED: System.security.allowDomain
15560:2691733280] 17:27:54 ERROR: Your locale probably can't convert non-ascii characters to upper case. Using a UTF8 locale may fix this.
15560:2691733280] 17:27:54 TRACE: hulupid=CenhHPToxETiRRlM5hs5_Ing3wWeK6wJ


The above is the correctly decoded PID. When I run "wget http://releasegeo.hulu.com/content.select?pid=CenhHPToxETiRRlM5hs5_Ing3wWeK6w J\&mbr=true\&format=smil," it gives me the SMIL file for the video.

Now (11:30 EST), however, when I run the same command, I get the following output:

RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: couldn't open file: /Users/test/.gnashrc
16974:2691733280] 23:29:13 SECURITY: Checking security of URL 'file:///Users/test/Desktop/DecryptPid.swf'
16974:2691733280] 23:29:13 SECURITY: Load of file /Users/test/Desktop/DecryptPid.swf granted (under local sandbox /Users/test/Desktop/)
16974:2691733280] 23:29:13 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
16974:2691733280] 23:29:13 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
16974:2691733280] 23:29:13 SECURITY: Load from host www.hulu.com granted (default)
16974:2691733280] 23:29:13 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
16974:2953850880] 23:29:13 UNIMPLEMENTED: FileAttributes tag in the SWF requests that network access is not granted to this movie (or application?) when loaded from the filesystem. Anyway Gnash won't care; use white/black listing in your .gnashrc instead
16974:2691733280] 23:29:14 UNIMPLEMENTED: System.security.allowDomain
16974:2691733280] 23:29:14 UNIMPLEMENTED: Rectangle_equals
16974:2691733280] 23:29:14 TRACE: hulupid=Die unendliche Geschichte

The locale error has gone away, and the Rectangle_equals line has appeared. The hulupid being equal to the german title of The Neverending Story comes up regardless of what encoded PID I feed into gnash (tried with two different videos). Is this something I could have done wrong? Or has Hulu changed the way they do decoding?

Looking into this more, the function Rectangle_equals in the file "libcore/asobj/flash/geom/Rectangle_as.cpp" is:

static as_value
Rectangle_equals(const fn_call& fn)
{
boost::intrusive_ptr<Rectangle_as> ptr = ensureType<Rectangle_as>(fn.this_ptr);
UNUSED(ptr);
LOG_ONCE( log_unimpl (__FUNCTION__) );
return as_value();
}

I'm guessing that this code means that the function doesn't work and it looks like Hulu is testing to see if the function exists to see if gnash is being used. Sorry I can't say more, I don't know anything about C or Flash.

Avoni
2009-02-25, 08:39
Yeah I edited my user agent and recompiled to find this little pid waiting for me
11317:3057023296] 02:45:33 TRACE: hulupid=http://bit.ly/YVCsQ
At least their developers have a sense of humor.

Here's the code if it helps:

root@boxee-box:~# gnash --render-mode 0 --once --verbose --param FlashVars=pid=dd4e9942974869f0cac12ab9ce815da9af6f 8486a433a84bda842dae193457f9~16aa98d95559f7db192bb 69972ffc6578e87c22f6bc8eafc8a4c76b924b9800f /home/boxee/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf
RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: parsing /home/boxee/.gnashrc
11317:3057023296] 02:45:28 SECURITY: Checking security of URL 'file:///home/boxee/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf'
11317:3057023296] 02:45:28 SECURITY: Load of file /home/boxee/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf granted (under local sandbox /home/boxee/.xbmc/plugins/video/Hulu/resources/lib/)
11317:3057023296] 02:45:28 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
11317:3057023296] 02:45:28 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
11317:3057023296] 02:45:28 SECURITY: Load from host www.hulu.com granted (default)
11317:3057023296] 02:45:28 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
11317:3047279504] 02:45:28 UNIMPLEMENTED: FileAttributes tag in the SWF requests that network access is not granted to this movie (or application?) when loaded from the filesystem. Anyway Gnash won't care; use white/black listing in your .gnashrc instead
11317:3057023296] 02:45:33 UNIMPLEMENTED: System.security.allowDomain
11317:3057023296] 02:45:33 UNIMPLEMENTED: Rectangle_intersection
11317:3057023296] 02:45:33 TRACE: hulupid=http://bit.ly/YVCsQ
Main loop ended, cleaning up
Any segfault past this message is likely due to improper threads cleanup.

jroseff
2009-02-25, 09:06
Thanks. I got it working around 6:00 EST today where if I ran:

macbook:Desktop test$ dump-gnash --render-mode 0 --verbose --param FlashVars=pid=f59f3f3cea444f31822baa4430fa4b298c7e ddd65d204312649f42cccd2c6f46~5e7f306abe00bb2ee692c b1bb8521bbd119c244eea968997ab8f06cdbe3308f9 DecryptPid.swf

I would get the following results.

RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: couldn't open file: /Users/test/.gnashrc
15560:2691733280] 17:27:52 SECURITY: Checking security of URL 'file:///Users/test/Desktop/DecryptPid.swf'
15560:2691733280] 17:27:52 SECURITY: Load of file /Users/test/Desktop/DecryptPid.swf granted (under local sandbox /Users/test/Desktop/)
15560:2691733280] 17:27:52 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
15560:2691733280] 17:27:52 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
15560:2691733280] 17:27:52 SECURITY: Load from host www.hulu.com granted (default)
15560:2691733280] 17:27:53 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
15560:2953850880] 17:27:53 UNIMPLEMENTED: FileAttributes tag in the SWF requests that network access is not granted to this movie (or application?) when loaded from the filesystem. Anyway Gnash won't care; use white/black listing in your .gnashrc instead
15560:2691733280] 17:27:54 UNIMPLEMENTED: System.security.allowDomain
15560:2691733280] 17:27:54 ERROR: Your locale probably can't convert non-ascii characters to upper case. Using a UTF8 locale may fix this.
15560:2691733280] 17:27:54 TRACE: hulupid=CenhHPToxETiRRlM5hs5_Ing3wWeK6wJ


The above is the correctly decoded PID. When I run "wget http://releasegeo.hulu.com/content.select?pid=CenhHPToxETiRRlM5hs5_Ing3wWeK6w J\&mbr=true\&format=smil," it gives me the SMIL file for the video.

Now (11:30 EST), however, when I run the same command, I get the following output:

RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: couldn't open file: /Users/test/.gnashrc
16974:2691733280] 23:29:13 SECURITY: Checking security of URL 'file:///Users/test/Desktop/DecryptPid.swf'
16974:2691733280] 23:29:13 SECURITY: Load of file /Users/test/Desktop/DecryptPid.swf granted (under local sandbox /Users/test/Desktop/)
16974:2691733280] 23:29:13 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
16974:2691733280] 23:29:13 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
16974:2691733280] 23:29:13 SECURITY: Load from host www.hulu.com granted (default)
16974:2691733280] 23:29:13 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
16974:2953850880] 23:29:13 UNIMPLEMENTED: FileAttributes tag in the SWF requests that network access is not granted to this movie (or application?) when loaded from the filesystem. Anyway Gnash won't care; use white/black listing in your .gnashrc instead
16974:2691733280] 23:29:14 UNIMPLEMENTED: System.security.allowDomain
16974:2691733280] 23:29:14 UNIMPLEMENTED: Rectangle_equals
16974:2691733280] 23:29:14 TRACE: hulupid=Die unendliche Geschichte

The locale error has gone away, and the Rectangle_equals line has appeared. The hulupid being equal to the german title of The Neverending Story comes up regardless of what encoded PID I feed into gnash (tried with two different videos). Is this something I could have done wrong? Or has Hulu changed the way they do decoding?

Looking into this more, the function Rectangle_equals in the file "libcore/asobj/flash/geom/Rectangle_as.cpp" is:

static as_value
Rectangle_equals(const fn_call& fn)
{
boost::intrusive_ptr<Rectangle_as> ptr = ensureType<Rectangle_as>(fn.this_ptr);
UNUSED(ptr);
LOG_ONCE( log_unimpl (__FUNCTION__) );
return as_value();
}

I'm guessing that this code means that the function doesn't work and it looks like Hulu is testing to see if the function exists to see if gnash is being used. Sorry I can't say more, I don't know anything about C or Flash.

I was having the same problem, and it looks like as long as gnash returns any value at all it'll work (I'm watching Family Guy in Boxee with the plugin now). I just copied a different function and pasted it in for Rectangle_equals:

static as_value
Rectangle_equals(const fn_call& fn)
{
boost::intrusive_ptr<Rectangle_as> ptr = ensureType<Rectangle_as>(fn.this_ptr);

as_value x, y, w, h;

ptr->get_member(NSV::PROP_X, &x);
ptr->get_member(NSV::PROP_Y, &y);
ptr->get_member(NSV::PROP_WIDTH, &w);
ptr->get_member(NSV::PROP_HEIGHT, &h);

std::stringstream ss;
ss << "(x=" << x.to_string()
<< ", y=" << y.to_string()
<< ", w=" << w.to_string()
<< ", h=" << h.to_string()
<< ")";

return as_value(ss.str());
}


...and it works fine. Also, don't forget to tell the plugin to use gnash-dump instead of just gnash, because that was stupidly kind of a roadblock for me.

Avoni
2009-02-25, 10:04
I changed one function that they were using as a check and just got hit with another one. it seems to be The Never Ending Story indeed. I don't know what they're actually using to return that check now though.

Edit: Found it in System_as.cpp

15231:3056527680] 03:02:11 UNIMPLEMENTED: System.security.allowDomain
15231:3056527680] 03:02:11 TRACE: hulupid=http://bit.ly/YVCsQ

They could change up the unimplemented functions for quite a while without any distress to regular users. :mad:

I've now weeded all the unimplemented functions out and I'm not getting anything in the log about it, but I'm still getting the rick roll pid. Dunno, I'm done for the night though.

jroseff
2009-02-25, 16:13
I changed one function that they were using as a check and just got hit with another one. it seems to be The Never Ending Story indeed. I don't know what they're actually using to return that check now though.

Edit: Found it in System_as.cpp

15231:3056527680] 03:02:11 UNIMPLEMENTED: System.security.allowDomain
15231:3056527680] 03:02:11 TRACE: hulupid=http://bit.ly/YVCsQ

They could change up the unimplemented functions for quite a while without any distress to regular users. :mad:

I've now weeded all the unimplemented functions out and I'm not getting anything in the log about it, but I'm still getting the rick roll pid. Dunno, I'm done for the night though.

Yeah, I'm getting the same thing. Shame, it was working so well for about an hour there :oo:

rectalogic
2009-02-25, 17:44
Perhaps working more on the Adobe AIR/adl solution is a better approach (at least for Linux, Windows and Mac). That way sec.swf is running in real Flash, and the AS3 can control the user-agent headers.

I did some work with swfdec too which isn't quite working right yet, but here it is. swfdec doesn't support networking out of the box, so this requires local sec.swf.

DecryptPid.as
class DecryptPid {
var pid:String;
var mainmc:MovieClip;

function DecryptPid(mc:MovieClip) {
this.mainmc = mc;
}

function decrypt(pid:String) {
this.pid = pid;
var loader:MovieClipLoader = new MovieClipLoader();
loader.addListener(this);
var sec:MovieClip = _root.createEmptyMovieClip("sec", 10)
sec._lockroot = true;
//loader.loadClip("http://www.hulu.com/sec.swf", sec);
loader.loadClip("sec.swf", sec);
}

function onLoadInit(sec:MovieClip) {
var s:String = sec.dec(this.pid);
trace(this.pid + " = " + s)
}

static function main(mc) {
(new DecryptPid(mc)).decrypt(_root.pid);
}
}



decrypt-pid.c
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cairo.h>
#include <swfdec/swfdec.h>
#include <swfdec/swfdec_url.h>
#include <swfdec/swfdec_player.h>

static void trace(SwfdecPlayer *player, const char *message, void *data)
{
fprintf(stdout, "%s\n", message);
}

int main (int argc, char *argv[])
{
int ret = 0;
SwfdecPlayer *player;
SwfdecURL *url;

swfdec_init();

if (argc != 3) {
fprintf(stderr, "Usage: %s <swf> pid=<pid>\n", argv[0]);
return 1;
}

player = swfdec_player_new(NULL);
swfdec_player_set_variables(player, argv[2]);
g_signal_connect(player, "trace", G_CALLBACK(trace), NULL);
url = swfdec_url_new_from_input(argv[1]);
swfdec_player_set_url(player, url);
swfdec_url_free(url);

//while (!swfdec_player_is_initialized(player)) {
while (1) {
long next = swfdec_player_get_next_event(player);
if (next < 0)
return 1;
swfdec_player_advance(player, next);
}

g_object_unref(player);
player = NULL;

return ret;
}

To compile, I used dependencies from MacPorts and compiled like:

$ gcc -o decrypt-pid -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/cairo -I~/swfdec-0.8.4/installed/include/swfdec-0.8 -L~/swfdec-0.8.4/installed/lib -L/opt/local/lib -lswfdec-0.8 -lgobject-2.0 decrypt-pid.c

(swfdec is also in MacPorts, but I had built a local copy independent)

The above app runs forever, need a way to exit when finished - maybe in the trace print?

To run, need to compile DecryptPid.swf and curl sec.swf local then:

$ ./decrypt-pid ../DecryptPid.swf pid=f59f3f3cea444f31822baa4430fa4b298c7eddd65d2043 12649f42cccd2c6f46~5e7f306abe00bb2ee692cb1bb8521bb d119c244eea968997ab8f06cdbe3308f9
f59f3f3cea444f31822baa4430fa4b298c7eddd65d20431264 9f42cccd2c6f46~5e7f306abe00bb2ee692cb1bb8521bbd119 c244eea968997ab8f06cdbe3308f9 = CenhHPToxETiRRlM5hs5_Ing3wWeK6wJ

rectalogic
2009-02-25, 18:18
Perhaps working more on the Adobe AIR/adl solution is a better approach (at least for Linux, Windows and Mac).

(AIR also works on AppleTV)

Titanium is another possibility, it's basically an open source implementation of something like AIR, based on WebKit, and supports Python scripting. Integrating this with XBMC could bring some of the capabilities of the closed source Plex Media Server to XBMC.
http://titaniumapp.com/

jonm42
2009-02-25, 19:07
(AIR also works on AppleTV)

Titanium is another possibility, it's basically an open source implementation of something like AIR, based on WebKit, and supports Python scripting. Integrating this with XBMC could bring some of the capabilities of the closed source Plex Media Server to XBMC.
http://titaniumapp.com/

Took a quick walk through of this and while it appears to have some potential, there's not a whole lot there yet...

rectalogic
2009-02-25, 19:42
Took a quick walk through of this and while it appears to have some potential, there's not a whole lot there yet...

It's cross platform, fully scriptable WebKit with Flash support - seems like enough to load and control a Hulu fullscreen player.

e.g. similar to their YouTube video player demo Playtanium app
http://titaniumapp.com/demos

But it is kind of early alpha and buggy.

rwparris2
2009-02-25, 19:46
It's cross platform, fully scriptable WebKit with Flash support - seems like enough to load and control a Hulu fullscreen player.

e.g. similar to their YouTube video player demo Playtanium app
http://titaniumapp.com/demos

But it is kind of early alpha and buggy.

why not just use webkit? what would xbmc get from the rest of titanium?

I think the real story that too many people are ignoring is that hulu devs are rickrolling us. THIS WILL NOT STAND. :rofl:

jonm42
2009-02-25, 21:20
webkit, then?

rectalogic
2009-02-25, 22:08
webkit, then?

What would be nice is a new WebKit based player core that exposed WebKit DOM APIs thru to python plugins, so now the Hulu plugin can "play" the actual HTML web page that contains the flash player. e.g.

xbmc.Player(xbmc.PLAYER_CORE_WEBKITPLAYER).play("http://www.hulu.com/watch/58602/my-name-is-earl-my-name-is-alias")

Then dive into the DOM of the loaded page to e.g. find document.player (the Flash player instance) and trigger it to go fullscreen or whatever. Possibly could be done by executing JavaScript in a non-sandboxed context inside the loaded page, e.g.

xbmc.Player(xbmc.PLAYER_CORE_WEBKITPLAYER).execute JS("""
player = document.getElementById('player');
player.parentNode.removeChild(player);
document.body.innerHTML = '';
document.body.appendChild(player);
// do something to trigger fullscreen or resize etc...
""")

Avoni
2009-02-25, 22:18
So gtk+ or qt? Xbox users will not be able to utilize it without some porting either way, but they couldn't use gnash either.

davilla
2009-02-25, 22:37
gt is cross-platform. might poke around and see if there is an opengl port

Avoni
2009-02-25, 22:54
gt is cross-platform. might poke around and see if there is an opengl port

Your post just lost me. They both do support opengl, but I'm not getting what you're trying to say. In any case I think gtk+ would be the better decision in the long run, it'd be one less thing to deal with (Using a qt wrapper would complicate things on the scripting side, I'm sure.) As a side note; If qt somehow did get ported to the xbox that would be amazing, but the task of doing that would be a very difficult one.

davilla
2009-02-26, 01:09
Your post just lost me. They both do support opengl, but I'm not getting what you're trying to say. In any case I think gtk+ would be the better decision in the long run, it'd be one less thing to deal with (Using a qt wrapper would complicate things on the scripting side, I'm sure.) As a side note; If qt somehow did get ported to the xbox that would be amazing, but the task of doing that would be a very difficult one.

I think the focus should be on webkit and not the particular port (gt, gtk+, cocoa, etc). If you pick gtk+, then all platforms must use gtk+ support libs rather than platform native which becomes a pain for deployment. So to start with, pick a webkit port that is most mature on your xbmc platform of choice (osx, linux, windows) forget about xbox for now. That's a webkit port issue at can be handled later. If you think platform independent now, it's much easier to bring up another platform.

jonm42
2009-02-26, 02:04
Quick google:

Paste webkit: http://pythonpaste.org/webkit/
Webware: http://www.webwareforpython.org/

Not webkit per se, but I liked the name:

Pyjamas: http://swik.net/pyjamas (or http://pyjs.org/)

Avoni
2009-02-26, 03:32
I think the focus should be on webkit and not the particular port (gt, gtk+, cocoa, etc). If you pick gtk+, then all platforms must use gtk+ support libs rather than platform native which becomes a pain for deployment. So to start with, pick a webkit port that is most mature on your xbmc platform of choice (osx, linux, windows) forget about xbox for now. That's a webkit port issue at can be handled later. If you think platform independent now, it's much easier to bring up another platform.

I wasn't really thinking in specific scope with this plugin. It shouldn't really matter what port of webkit is being used as long as the user can compile it on their platform. So you're right platform independence is key. Sorry, I kind of turned this towards development discussion and it wouldn't be too useful towards the end user.

Side note: Webkit takes forever to compile on a P4 1.4 Ghz. =(

dudenamedsteve
2009-02-26, 06:59
so, is the XBOX just going to be pushed aside for now? I understand all the issues and how all the other platforms need to work to, i'm just wondering if the XBOX is still on the list, just further down.

This plugin works sweet in my Ubuntu tho, so i got that going for me...

which is nice

nubz69
2009-02-26, 07:19
When will the hulu plugin for xbox be fixed again. It was making such great progress and had the potential to keep the xbox relevant for a very long time. It was probably the best plug made for xbox ever.

flamaest
2009-02-26, 07:33
Yes, please would like to see this work on the XBOX, thanx.

F.

Avoni
2009-02-26, 11:51
Perhaps working more on the Adobe AIR/adl solution is a better approach (at least for Linux, Windows and Mac). That way sec.swf is running in real Flash, and the AS3 can control the user-agent headers.

I did some work with swfdec too which isn't quite working right yet, but here it is. swfdec doesn't support networking out of the box, so this requires local sec.swf.

DecryptPid.as
class DecryptPid {
var pid:String;
var mainmc:MovieClip;

function DecryptPid(mc:MovieClip) {
this.mainmc = mc;
}

function decrypt(pid:String) {
this.pid = pid;
var loader:MovieClipLoader = new MovieClipLoader();
loader.addListener(this);
var sec:MovieClip = _root.createEmptyMovieClip("sec", 10)
sec._lockroot = true;
//loader.loadClip("http://www.hulu.com/sec.swf", sec);
loader.loadClip("sec.swf", sec);
}

function onLoadInit(sec:MovieClip) {
var s:String = sec.dec(this.pid);
trace(this.pid + " = " + s)
}

static function main(mc) {
(new DecryptPid(mc)).decrypt(_root.pid);
}
}



decrypt-pid.c
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cairo.h>
#include <swfdec/swfdec.h>
#include <swfdec/swfdec_url.h>
#include <swfdec/swfdec_player.h>

static void trace(SwfdecPlayer *player, const char *message, void *data)
{
fprintf(stdout, "%s\n", message);
}

int main (int argc, char *argv[])
{
int ret = 0;
SwfdecPlayer *player;
SwfdecURL *url;

swfdec_init();

if (argc != 3) {
fprintf(stderr, "Usage: %s <swf> pid=<pid>\n", argv[0]);
return 1;
}

player = swfdec_player_new(NULL);
swfdec_player_set_variables(player, argv[2]);
g_signal_connect(player, "trace", G_CALLBACK(trace), NULL);
url = swfdec_url_new_from_input(argv[1]);
swfdec_player_set_url(player, url);
swfdec_url_free(url);

//while (!swfdec_player_is_initialized(player)) {
while (1) {
long next = swfdec_player_get_next_event(player);
if (next < 0)
return 1;
swfdec_player_advance(player, next);
}

g_object_unref(player);
player = NULL;

return ret;
}

To compile, I used dependencies from MacPorts and compiled like:

$ gcc -o decrypt-pid -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/cairo -I~/swfdec-0.8.4/installed/include/swfdec-0.8 -L~/swfdec-0.8.4/installed/lib -L/opt/local/lib -lswfdec-0.8 -lgobject-2.0 decrypt-pid.c

(swfdec is also in MacPorts, but I had built a local copy independent)

The above app runs forever, need a way to exit when finished - maybe in the trace print?

To run, need to compile DecryptPid.swf and curl sec.swf local then:

$ ./decrypt-pid ../DecryptPid.swf pid=f59f3f3cea444f31822baa4430fa4b298c7eddd65d2043 12649f42cccd2c6f46~5e7f306abe00bb2ee692cb1bb8521bb d119c244eea968997ab8f06cdbe3308f9
f59f3f3cea444f31822baa4430fa4b298c7eddd65d20431264 9f42cccd2c6f46~5e7f306abe00bb2ee692cb1bb8521bbd119 c244eea968997ab8f06cdbe3308f9 = CenhHPToxETiRRlM5hs5_Ing3wWeK6wJ

Are you planning on committing these to the current plugin or is this just something you're toying with as a possibility at the moment?

matt_
2009-02-26, 17:25
Another vote for Xbox porting here but the changes that need to be made should probaly directed at adding gnash or webkit porting to XBMC for Xbox itself and not through a Python plugin .

slicemaster
2009-02-26, 20:10
I’m not the programmer type but I certainly would like to give this plug-in a try; however, I have no idea how to compile gnash so I a SOL. Does anyone know where one could get precompiled packages of their SVN snapshots for Linux and Windows?

Thanks,
Slice

jhonny30
2009-02-26, 20:27
Hi guys...
very new to all this Hulu stuff...
So I put the Hulu plugin (which i got here: http://xbmc.org/forum/showpost.php?p=286346&postcount=583) with SSH into the frontrow of the appletv...
I start xbmc and go to video plugin...starting Hulu...
I get a list of all the TvShows and Movies curently on Hulu...
But when I start a movie, he says that he is retrieving information, but doesn't start the movie...he come straight back...
Is this because I am in Europe?
What should be my next step to get this to work?
Do I need to use gnash? How?
Hope someone can help me...I really don't understand a lot of these things:-(
Thanks

rwparris2
2009-02-26, 20:39
I’m not the programmer type but I certainly would like to give this plug-in a try; however, I have no idea how to compile gnash so I a SOL. Does anyone know where one could get precompiled packages of their SVN snapshots for Linux and Windows?

Thanks,
Slice

google

Hi guys...
very new to all this Hulu stuff...
So I put the Hulu plugin (which i got here: http://xbmc.org/forum/showpost.php?p=286346&postcount=583) with SSH into the frontrow of the appletv...
I start xbmc and go to video plugin...starting Hulu...
I get a list of all the TvShows and Movies curently on Hulu...
But when I start a movie, he says that he is retrieving information, but doesn't start the movie...he come straight back...
Is this because I am in Europe?
What should be my next step to get this to work?
Do I need to use gnash? How?
Hope someone can help me...I really don't understand a lot of these things:-(
Thanks

read the first post

hamstereyes
2009-02-27, 02:18
I think the real story that too many people are ignoring is that hulu devs are rickrolling us. THIS WILL NOT STAND. :rofl:

So does the plugin work ? The quote above makes me think that it is not functioning..

Since it seems there is a back and forth between xbmc dev and hulu dev, it might be helpful to have a "Current Status" in the First post. Like Hulu Plugin is currently functioning (and perhaps mention some caveats)

Thanks for the all the hard work!
-G

rwparris2
2009-02-27, 02:33
I actually haven't looked at it in a few days, anyone else care to comment?

jonm42
2009-02-27, 02:39
I actually haven't looked at it in a few days, anyone else care to comment?

Well, nothing new has been checked in. I'm working on simplifying subscriptions and doing some code cleanup, refactoring to common functions and the like, but nothing that actually plays videos (as I have no expertise in that space). Perhaps rectalogic can enlighten us?

jhaynie
2009-02-27, 11:07
titanium is fully open source and built from the ground up for apps like this. while it is a very young (and buggy) product it's growing very rapidly and we have people around the world working with us on it.

titanium is built-in in pure C++ and is fully modular and extensible from the bottom up. the entire runtime can be extended and shaped as needed.

using vanilla webkit seems very trivial at the outset (believe me, we thought so when we started this almost half a year ago) but you have to do way more than you can imagine. it's an incredible stack ... but not something you just 'drop in' and make it work. we have tons of patches back to webkit ... for example , in windows you have to use your own windowing layer or port something else since Apple didn't open source cocoa for windows... we also support native windowing for each OS (to optimize performance and to give applications native look-n-feel). we use GTK on Linux, Cocoa on OSX and Win API on Win32.

we're a very eager open source community and titanium is tailor made for what you guys are looking to do. we'd love to work with you and make titanium work for what you need.

if anyone would like to dig deeper or talk in more technical detail - join us at #titanium_app on freenode irc or shoot me an email at jhaynie at gmail dot com.

matt_
2009-02-27, 21:36
So can you port titanium to the Xbox ? ;)

hott198
2009-02-27, 21:47
another vote for us simple folk to have a status update on the first post for xbmc on xbox classic hulu updates.

rwparris2
2009-02-27, 23:19
another vote for us simple folk to have a status update on the first post for xbmc on xbox classic hulu updates.

& here is me voting for people to actually read the first post before asking for it to be updated.

It says TWICE that it won't work on xbox.

hott198
2009-02-28, 01:38
& here is me voting for people to actually read the first post before asking for it to be updated.

It says TWICE that it won't work on xbox.
right, I was just saying keep that updated as to the changes that happen for us simple folk. (i did read the first post prior to my last one) I even thanked you for splitting the threads up in the first place and that I could finally figure out what the current state of hulu plugin on xbmc was on xbox classic.

So i take it the 1st post will be updated regularly?

rwparris2
2009-02-28, 02:02
right, I was just saying keep that updated as to the changes that happen for us simple folk. (i did read the first post prior to my last one) I even thanked you for splitting the threads up in the first place and that I could finally figure out what the current state of hulu plugin on xbmc was on xbox classic.

So i take it the 1st post will be updated regularly?

Yeah, I'll keep it updated for any major-ish news (which certainly includes anything regarding a working xbox plugin), that was another reason I wanted to split the threads.

Sorry if I misinterpreted your previous post...

grandcanyon
2009-02-28, 02:25
I just changed the code from:

{
fprintf(stdout, "%s\n", message);
}


to:

{
fprintf(stdout, "%s\n", message);
exit(0);
}


to exit out of the program after the pid is collected.

iRoNBiLL
2009-02-28, 05:18
Any chance of getting Hulu movies in the plugin? That would be awesome, plus more shows than whats available. Gracias.

iRoNBiLL

rwparris2
2009-02-28, 06:36
Any chance of getting Hulu movies in the plugin? That would be awesome, plus more shows than whats available. Gracias.

iRoNBiLL

Have you used the plugin listed at the beginning of the thread?
Once you get gnash working all movies and almost all shows work (we have the method to get the rest of them working, it just hasn't been coded & committed yet).

huval1
2009-02-28, 09:44
I realize this is not the place to ask about gnash building, but i have searched all over and can't seem to find an answer. Is there a pre-compiled gnash for the appletv? I do not own any macs besides the appletv. Is there a way for me to download from source and build it on the appletv? I don't need hand-holding, just need to be pointed to resources to help me. Thanks.

theophile
2009-03-01, 02:03
I just grabbed the lastest version from SVN. I have the stock Ubuntu deb of gnash. I edited the settings.xml to point to /usr/bin/gnash (which is correct), but nothing works. I select the episode, a dialog appears for a moment saying it is reading directories, then I go back to the episode list.

Do I need a more recent version of gnash than 0.8.2?

skunkjar
2009-03-01, 03:54
Idea for us poor XBOX users- Could we install linux and install XBMC inside that (with gnash, of course) then use the Hulu plugin? I might try this tonight, I just cleared a couple of games off to clear some space... Will report back results.

teresa
2009-03-01, 04:26
I think for XBox users, the only real solution for Hulu (for now anyway) is MediaMall's Playon server.

vash3k
2009-03-01, 13:12
Or Fancast.

xmcnuggetx
2009-03-01, 15:44
Does anyone know why the Heroes episodes aren't listed correctly? They are grouped into the clips.

hott198
2009-03-01, 16:18
Yeah, I'll keep it updated for any major-ish news (which certainly includes anything regarding a working xbox plugin), that was another reason I wanted to split the threads.

Sorry if I misinterpreted your previous post...
no worries. I guess I did sound like a child in the back seat screaming lol. thankyou for all your work in this.

steak32
2009-03-01, 18:43
Hi, I have followed the steps and installed Gnash for wndows, since I am using XP, I keep getting this:

start of HULU plugin
18:14:05 T:4876 M:2008141824 NOTICE:
18:14:05 T:4876 M:2008141824 NOTICE: HULU--> no mode has been defined
18:14:05 T:4876 M:2008141824 NOTICE:
18:14:15 T:2308 M:2012540928 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/Hulu/
18:14:15 T:2308 M:2012540928 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/Hulu/) failed
18:14:24 T:2308 M:1972506624 NOTICE: Storing total System Uptime
18:14:24 T:2308 M:1972506624 NOTICE: Saving settings
18:14:24 T:2308 M:1972465664 NOTICE: stop all
18:14:24 T:2308 M:1972465664 NOTICE: ES: Stopping event server
18:14:25 T:2564 M:1972465664 NOTICE: ES: UDP Event server stopped
18:14:25 T:2308 M:1972477952 NOTICE: stop dvd detect media
18:14:25 T:2308 M:1972502528 NOTICE: stop sap announcement listener
18:14:25 T:2308 M:1972502528 NOTICE: clean cached files!
18:14:25 T:2308 M:1972494336 NOTICE: unload skin
18:14:25 T:2308 M:2005999616 NOTICE: stop python
18:14:25 T:2308 M:2005999616 NOTICE: stopped
18:14:25 T:2308 M:2005999616 NOTICE: destroy
18:14:25 T:2308 M:2005954560 NOTICE: unload sections

any ideas?

rwparris2
2009-03-01, 20:14
Hi, I have followed the steps and installed Gnash for wndows, since I am using XP, I keep getting this:

start of HULU plugin
18:14:05 T:4876 M:2008141824 NOTICE:
18:14:05 T:4876 M:2008141824 NOTICE: HULU--> no mode has been defined
18:14:05 T:4876 M:2008141824 NOTICE:
18:14:15 T:2308 M:2012540928 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/Hulu/
18:14:15 T:2308 M:2012540928 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/Hulu/) failed
18:14:24 T:2308 M:1972506624 NOTICE: Storing total System Uptime
18:14:24 T:2308 M:1972506624 NOTICE: Saving settings
18:14:24 T:2308 M:1972465664 NOTICE: stop all
18:14:24 T:2308 M:1972465664 NOTICE: ES: Stopping event server
18:14:25 T:2564 M:1972465664 NOTICE: ES: UDP Event server stopped
18:14:25 T:2308 M:1972477952 NOTICE: stop dvd detect media
18:14:25 T:2308 M:1972502528 NOTICE: stop sap announcement listener
18:14:25 T:2308 M:1972502528 NOTICE: clean cached files!
18:14:25 T:2308 M:1972494336 NOTICE: unload skin
18:14:25 T:2308 M:2005999616 NOTICE: stop python
18:14:25 T:2308 M:2005999616 NOTICE: stopped
18:14:25 T:2308 M:2005999616 NOTICE: destroy
18:14:25 T:2308 M:2005954560 NOTICE: unload sections

any ideas?
can you reproduce that? it certainly shouldn't happen...

steak32
2009-03-01, 20:46
Reproduce? I tried reinstalling with the SV installer, and the I just ad the path for Gnash on the resources folder...
and that is what I am getting.

mcavity5
2009-03-02, 14:28
I thinkit would be nice to have a little list for quick answers.
i.e.
Working
appletv with gnash
Linux

not working
xbox

[those are just examples. I don't know if those are actualy working currently or not]

nicoli_k
2009-03-02, 14:57
I thinkit would be nice to have a little list for quick answers.
i.e.
Working
appletv with gnash
Linux

not working
xbox

[those are just examples. I don't know if those are actualy working currently or not]

the first post does exactly that. it's updated with new information. it' working on everything except for the xbox now if you're using gnash.

DDM123
2009-03-02, 18:49
can you reproduce that? it certainly shouldn't happen...

Getting something similar under Ubuntu 8.10 with gnash 0.8.4 and the latest svn Hulu plugin
DEBUG: Progress dialog
11:41:11 T:3067434784 M:113737728 DEBUG: -------------------
11:41:11 T:3067434784 M:113737728 ERROR: GetDirectory - Error getting plugin://video/Hulu/?url="http%3A%2F%2Fwww.hulu.com%2Fwatch%2F18951%2Ffamily-guy-long-john-peter%23http%253A%252F%252Fwww.hulu.com%252Ffeed%2 52Fpopular%252Fvideos%252Ftoday%253Frd%253D0"&mode="RSS_play"&name="Family+Guy%3A+Long+John+Peter+%28s6+%7C+e12%29"&fanart="http%3A%2F%2Fassets.hulu.com%2Fshows%2Fkey_art_fam ily_guy.jpg"&plot="Yo+ho+ho%21+Its+a+pirates+life+for+Peter+when+he+g ets+a+pet+parrot."&genre="Most Popular Videos Today"
11:41:11 T:3067434784 M:113737728 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/Hulu/?url="http%3A%2F%2Fwww.hulu.com%2Fwatch%2F18951%2Ffamily-guy-long-john-peter%23http%253A%252F%252Fwww.hulu.com%252Ffeed%2 52Fpopular%252Fvideos%252Ftoday%253Frd%253D0"&mode="RSS_play"&name="Family+Guy%3A+Long+John+Peter+%28s6+%7C+e12%29"&fanart="http%3A%2F%2Fassets.hulu.com%2Fshows%2Fkey_art_fam ily_guy.jpg"&plot="Yo+ho+ho%21+Its+a+pirates+life+for+Peter+when+he+g ets+a+pet+parrot."&genre="Most Popular Videos Today") failed
11:41:11 T:3067434784 M:113737728 DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/Hulu/?url="http%3A%2F%2Frss.hulu.com%2FHuluPopularVideosToday %3Fformat%3Dxml"&mode="RSS"&name="Most+Popular+Videos+Today"&fanart=""&plot=""&genre="rss")
11:41:11 T:3067434784 M:113737728 DEBUG: ParentPath = [plugin://video/Hulu/]
11:41:11 T:3067434784 M:113737728 DEBUG: Loading fileitems [plugin://video/Hulu/?url="http%3A%2F%2Frss.hulu.com%2FHuluPopularVideosToday %3Fformat%3Dxml"&mode="RSS"&name="Most+Popular+Videos+Today"&fanart=""&plot=""&genre="rss"]
11:41:11 T:3067434784 M:113737728 DEBUG: -- items: 20, directory: plugin://video/Hulu/?url="http%3A%2F%2Frss.hulu.com%2FHuluPopularVideosToday %3Fformat%3Dxml"&mode="RSS"&name="Most+Popular+Videos+Today"&fanart=""&plot=""&genre="rss" sort method: 0, ascending: false


And in the GUI I get: Error Python script failed Special ://home/plugins/video/hulu/default.py

$ gnash -V
RcInitFile: parsing /usr/etc/gnashrc
RcInitFile: parsing /home/jpt/.gnashrc
Gnash 0.8.4

Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Gnash comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Gnash under the terms of the GNU General
Public License. For more information, see the file named COPYING.

Build options 0.8.4
Target:
Renderer: agg - GUI: GTK - Media handler: gst
Configured with: --enable-gui=gtk
CXXFLAGS: -g -O2 -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused
Built against gstreamer version: 0.10.21
Linked against gstreamer version: 0.10.21

fedorafitz
2009-03-03, 05:12
I have compiled gnash from source and it is installed ok. I also installed the plugin using the SVN plugin, but when I try to view a video i get the following error. Been pulling my hair out for days over this. Any thoughts?

21:26:56 T:2628721552 M: 28012544 ERROR: dll_fstat64 emulated function failed
21:26:56 T:2628721552 M: 28012544 WARNING: dll_setvbuf - May not be implemented correctly
21:26:56 T:2628721552 M: 28012544 NOTICE: Traceback (most recent call last):
21:26:56 T:2628721552 M: 28012544 NOTICE: File "/opt/boxee/plugins/video/Hulu/default.py", line 60, in ?
21:26:56 T:2628721552 M: 28012544 NOTICE:
21:26:56 T:2628721552 M: 28012544 NOTICE: modes ( )
21:26:56 T:2628721552 M: 28012544 NOTICE: File "/opt/boxee/plugins/video/Hulu/default.py", line 36, in modes
21:26:56 T:2628721552 M: 28012544 NOTICE:
21:26:56 T:2628721552 M: 28012544 NOTICE: stream_media.Main()
21:26:56 T:2628721552 M: 28012544 NOTICE: File "/opt/boxee/plugins/video/Hulu/resources/lib/stream_hulu.py", line 14, in __init__
21:26:56 T:2628721552 M: 28012544 NOTICE:
21:26:56 T:2628721552 M: 28012544 NOTICE: self.play()
21:26:56 T:2628721552 M: 28012544 NOTICE: File "/opt/boxee/plugins/video/Hulu/resources/lib/stream_hulu.py", line 31, in play
21:26:56 T:2628721552 M: 28012544 NOTICE:
21:26:56 T:2628721552 M: 28012544 NOTICE: smilURL = "http://releasegeo.hulu.com/content.select?pid=" + hulu_decrypt(pid) + "&mbr=true&format=smil"
21:26:56 T:2628721552 M: 28012544 NOTICE: TypeError
21:26:56 T:2628721552 M: 28012544 NOTICE: :
21:26:56 T:2628721552 M: 28012544 NOTICE: cannot concatenate 'str' and 'NoneType' objects
21:26:56 T:2628721552 M: 28012544 NOTICE:
21:26:56 T:2628721552 M: 28012544 ERROR: Scriptresult: Error
21:26:57 T:2628721552 M: 28086272 INFO: Python script stopped

huval1
2009-03-03, 07:56
Could someone please let me know if it's possible to get gnash working on an Apple TV? I do not own any Macintosh computers, only the Apple TV. All my computers run windows or linux. Also, maybe the first page could be updated with Apple TV status as well, because as far as I can tell there is no way to get it working on an Apple TV if you don't have another Mac on which to build gnash. I hope I'm wrong on that though.

rectalogic
2009-03-03, 17:49
Could someone please let me know if it's possible to get gnash working on an Apple TV?

Without a Mac, I doubt it. You need XCode and build for 10.4.

You could also try the patch that uses adl from Adobe AIR SDK 1.5.1 instead of gnash which I believe works on AppleTV.
http://xbmc.org/trac/ticket/6001

skunkjar
2009-03-04, 05:19
Well, it seems like Xbox is high and dry for now, it is really a shame that Xebian is so "clunky" without a keyboard and mouse, I couldn't deal with it. I guess I'll have to get it going on the old powermac. I wish I hadn't taken Ubuntu 8.10 off in favour of OSX... I guess I need more RAM now. Thanks again for all the hard work all you dev's out there. :)

jonm42
2009-03-04, 07:55
I have compiled gnash from source and it is installed ok. I also installed the plugin using the SVN plugin, but when I try to view a video i get the following error. Been pulling my hair out for days over this. Any thoughts?

21:26:56 T:2628721552 M: 28012544 ERROR: dll_fstat64 emulated function failed
21:26:56 T:2628721552 M: 28012544 WARNING: dll_setvbuf - May not be implemented correctly
21:26:56 T:2628721552 M: 28012544 NOTICE: Traceback (most recent call last):
21:26:56 T:2628721552 M: 28012544 NOTICE: File "/opt/boxee/plugins/video/Hulu/default.py", line 60, in ?
21:26:56 T:2628721552 M: 28012544 NOTICE:
21:26:56 T:2628721552 M: 28012544 NOTICE: modes ( )
21:26:56 T:2628721552 M: 28012544 NOTICE: File "/opt/boxee/plugins/video/Hulu/default.py", line 36, in modes
21:26:56 T:2628721552 M: 28012544 NOTICE:
21:26:56 T:2628721552 M: 28012544 NOTICE: stream_media.Main()
21:26:56 T:2628721552 M: 28012544 NOTICE: File "/opt/boxee/plugins/video/Hulu/resources/lib/stream_hulu.py", line 14, in __init__
21:26:56 T:2628721552 M: 28012544 NOTICE:
21:26:56 T:2628721552 M: 28012544 NOTICE: self.play()
21:26:56 T:2628721552 M: 28012544 NOTICE: File "/opt/boxee/plugins/video/Hulu/resources/lib/stream_hulu.py", line 31, in play
21:26:56 T:2628721552 M: 28012544 NOTICE:
21:26:56 T:2628721552 M: 28012544 NOTICE: smilURL = "http://releasegeo.hulu.com/content.select?pid=" + hulu_decrypt(pid) + "&mbr=true&format=smil"
21:26:56 T:2628721552 M: 28012544 NOTICE: TypeError
21:26:56 T:2628721552 M: 28012544 NOTICE: :
21:26:56 T:2628721552 M: 28012544 NOTICE: cannot concatenate 'str' and 'NoneType' objects
21:26:56 T:2628721552 M: 28012544 NOTICE:
21:26:56 T:2628721552 M: 28012544 ERROR: Scriptresult: Error
21:26:57 T:2628721552 M: 28086272 INFO: Python script stopped

I'm seeing pretty much the same thing when I try to click through to view. I'm running a local build of XBMC (r18214) on MacOS 10.5.6, with Hulu plugin r655.

21:48:46 T:2959986688 M:245587968 NOTICE: Traceback (most recent call last):
21:48:46 T:2959986688 M:245587968 NOTICE: File "/Users/jonathan/Library/Application Support/XBMC/plugins/video/Hulu/default.py", line 63, in ?
21:48:46 T:2959986688 M:245596160 NOTICE:
21:48:46 T:2959986688 M:245596160 NOTICE: modes ( )
21:48:46 T:2959986688 M:245587968 NOTICE: File "/Users/jonathan/Library/Application Support/XBMC/plugins/video/Hulu/default.py", line 36, in modes
21:48:46 T:2959986688 M:245592064 NOTICE:
21:48:46 T:2959986688 M:245592064 NOTICE: stream_media.Main()
21:48:46 T:2959986688 M:245583872 NOTICE: File "/Users/jonathan/Library/Application Support/XBMC/plugins/video/Hulu/resources/lib/stream_hulu.py", line 14, in __init__
21:48:46 T:2959986688 M:245592064 NOTICE:
21:48:46 T:2959986688 M:245592064 NOTICE: self.play()
21:48:46 T:2959986688 M:245583872 NOTICE: File "/Users/jonathan/Library/Application Support/XBMC/plugins/video/Hulu/resources/lib/stream_hulu.py", line 31, in play
21:48:46 T:2959986688 M:245592064 NOTICE:
21:48:46 T:2959986688 M:245592064 NOTICE: smilURL = "http://releasegeo.hulu.com/content.select?pid=" + hulu_decrypt(pid) + "&mbr=true&format=smil"
21:48:46 T:2959986688 M:245592064 NOTICE: TypeError
21:48:46 T:2959986688 M:245592064 NOTICE: :
21:48:46 T:2959986688 M:245592064 NOTICE: cannot concatenate 'str' and 'NoneType' objects

So something is amiss. (My default.py has one more elseif in it for those of you who noticed the line numbers weren't exactly the same; I'm working the subscriptions stuff, and that is the caller for it.)

JasonBelec
2009-03-04, 16:58
Hi, I'm running into the same issue as jonm42, almost exactly line for line. Anyone have ideas?

JasonBelec
2009-03-04, 17:24
OK so it appears my compile failed fro media and sound, any ideas?


jason-belecs-macbook-pro-17:~ jasonbelec$ /usr/local/bin/dump-gnash -vp http://www.hulu.com/watch/7155/24-800-am---900-am
RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: parsing /Users/jasonbelec/.gnashrc
40023:2692097824] 10:19:27 ERROR: No media support compiled in
40023:2692097824] 10:19:27 ERROR: Sound requested but no sound support compiled in
# WARNING: Gnash was told to loop the movie
Could not initialize gui.
FRAMECOUNT=0
jason-belecs-macbook-pro-17:~ jasonbelec$

jonm42
2009-03-04, 18:01
see http://xbmc.org/forum/showpost.php?p=287278&postcount=654 for how to confirm gnash is ok...

JasonBelec
2009-03-04, 18:52
Thanks jonm42, part of the issue seems to be that Macports is not installing files in the proper places.

fro example:

"cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.ma
cports.org_release_ports_graphics_antigraingeometr y/work/agg-2.5/"

This does not exist after "cd /opt/local/var/macports/build

Any ideas where things are going wrong as the build really has lots of errors.

drunkninja
2009-03-04, 18:57
So.....how exactly are people getting this to work in Windows? I've downloaded the Gnash executable, downloaded the Hulu plugin via SVN, directed the Hulu plugin to point to the Gnash directory. I can get episode lists and all that from the Hulu plugin, but I get nothing when I try to actually play a video.

fedorafitz
2009-03-04, 19:35
see http://xbmc.org/forum/showpost.php?p=287278&postcount=654 for how to confirm gnash is ok...


This is the error I get when I use the gnash test in the link above. I have used dump-gnash and gnash and I get the same error. I have compiled gnash at least 10 different times trying different options. I will post the error I am getting in first and then my gnash version output. But again I have compiled many ways, including how rectalogic suggested in the original thread. Any help would be greatly appreciated. For those who have this working, could you please post the ./configure options that you used when you compiled gnash. Thanks a lot.


Gnash test output from command line

RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: couldn't open file: /home/michfitz/.gnashrc
5533:3062920912] 12:27:11 SECURITY: Checking security of URL 'file:///opt/boxee/plugins/video/Hulu/resources/lib/DecryptPid.swf'
5533:3062920912] 12:27:11 SECURITY: Load of file /opt/boxee/plugins/video/Hulu/resources/lib/DecryptPid.swf granted (under local sandbox /opt/boxee/plugins/video/Hulu/resources/lib/)
5533:3062920912] 12:27:11 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
5533:3062920912] 12:27:11 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
5533:3062920912] 12:27:11 SECURITY: Load from host www.hulu.com granted (default)
5533:3062920912] 12:27:11 ERROR: HTTP response 404 from url http://www.hulu.com/sec.swf
5533:3062920912] 12:27:11 ERROR: unknown file type, buf is ©·
5533:3062920912] 12:27:11 ERROR: unknown file type (5)
5533:3062920912] 12:27:11 ERROR: Couldn't load library movie 'http://www.hulu.com/sec.swf'
5533:3062920912] 12:27:11 ERROR: can't create movie_definition for http://www.hulu.com/sec.swf
Main loop ended, cleaning up
Any segfault past this message is likely due to improper threads cleanup.



Gnash Version Output

Gnash 0.8.4

Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Gnash comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Gnash under the terms of the GNU General
Public License. For more information, see the file named COPYING.

Build options 0.8.4
Target:
Renderer: agg - GUI: DUMP - Media handler: gst
Configured with: --prefix=/usr/local --enable-plugin --enable-gui=dump,gtk --enable-cygnal --enable-gstreamer --enable-media=gst --enable-renderer=agg --enable-shared=yes --enable-sdk-install --without-swfdec-testsuite --disable-rpath --enable-lotsa-warnings --without-gcc-arch --without-ming
CXXFLAGS: -g -O2 -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused
Built against gstreamer version: 0.10.21
Linked against gstreamer version: 0.10.21

jonm42
2009-03-04, 20:03
Have to wait until I get home to check more on this, but check I will. I did do the build per rectalogic's instructions and it worked.

JasonBelec
2009-03-04, 22:39
Ok, rebuilt again, still getting audio errors (using MacPorts).

Tried the test, tried the test with the last part cut off and it gave me what appears as useful info. Perhaps someone will recognize the issue...

jason-belecs-macbook-pro-17:bin jasonbelec$ dump-gnash --render-mode 0 --once --verbose --param FlashVars=pid=dd4e9942974869f0cac12ab9ce815da9af6f 8486a433a84bda842dae193457f9~16aa98d95559f7db192bb 69972ffc6578e87c22f6bc8eafc8a4c76b924b9800f /Applications/Boxee.app/Contents/Resources/Boxee/plugins/video/HuluGnash/resources/lib/DecryptPid.swf | grep hulupid
Main loop ended, cleaning up
Any segfault past this message is likely due to improper threads cleanup.
jason-belecs-macbook-pro-17:bin jasonbelec$ dump-gnash --render-mode 0 --once --verbose --param FlashVars=pid=dd4e9942974869f0cac12ab9ce815da9af6f 8486a433a84bda842dae193457f9~16aa98d95559f7db192bb 69972ffc6578e87c22f6bc8eafc8a4c76b924b9800f /Applications/Boxee.app/Contents/Resources/Boxee/plugins/video/HuluGnash/resources/lib/DecryptPid.swf
RcInitFile: parsing /usr/local/etc/gnashrc
RcInitFile: parsing /Users/jasonbelec/.gnashrc
28237:2692097824] 15:36:23 ERROR: No media support compiled in
28237:2692097824] 15:36:23 SECURITY: Checking security of URL 'file:///Applications/Boxee.app/Contents/Resources/Boxee/plugins/video/HuluGnash/resources/lib/DecryptPid.swf'
28237:2692097824] 15:36:23 SECURITY: Load of file /Applications/Boxee.app/Contents/Resources/Boxee/plugins/video/HuluGnash/resources/lib/DecryptPid.swf granted (under local sandbox /Applications/Boxee.app/Contents/Resources/Boxee/plugins/video/HuluGnash/resources/lib/)
28237:2692097824] 15:36:23 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
28237:2692097824] 15:36:23 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
28237:2692097824] 15:36:23 SECURITY: Load from host www.hulu.com granted (default)
28237:2692097824] 15:36:23 ERROR: HTTP response 404 from url http://www.hulu.com/sec.swf
28237:2692097824] 15:36:23 ERROR: unknown file type, buf is C??
28237:2692097824] 15:36:23 ERROR: unknown file type (5)
28237:2692097824] 15:36:23 ERROR: Couldn't load library movie 'http://www.hulu.com/sec.swf'
28237:2692097824] 15:36:23 ERROR: can't create movie_definition for http://www.hulu.com/sec.swf
Main loop ended, cleaning up
Any segfault past this message is likely due to improper threads cleanup.
jason-belecs-macbook-pro-17:bin jasonbelec$

theophile
2009-03-05, 00:54
I'm getting the same thing with gnash 0.8.5. Maybe it's an old media object?

jonm42
2009-03-05, 01:33
Ya know, I just tried a simple click through on the embedded link for sec.swf above and it opened a page... no 404.

sofakng
2009-03-05, 01:41
I'm getting the same errors as other people...

When I try to play a video from the Hulu plugin I get this in my xbmc log:
18:38:49 T:2900487056 M:196227072 ERROR: dll_fstat64 emulated function failed


...and I can't do the gnash test because sec.swf is missing.

d4rk
2009-03-05, 01:55
The 404 is due to the user agent check. Temporarily, you could patch gnash's curl_adapter.cpp (libbase/curl_adapter.cpp) and change the user agent specified in line no. 803:

curl_easy_setopt(_handle, CURLOPT_USERAGENT, .... );


to that of a popular browser:

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

or

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0

jonm42
2009-03-05, 02:12
Never mind...

theophile
2009-03-05, 02:14
Does that mean Hulu has specifically blocked gnash? Dang...

theophile
2009-03-05, 02:54
With the useragent fix:

root@farmer:/home/theophile/gnash-0.8.5# gnash --render-mode 0 --once --verbose --param FlashVars=pid=dd4e9942974869f0cac12ab9ce815da9af6f 8486a433a84bda842dae193457f9~16aa98d95559f7db192bb 69972ffc6578e87c22f6bc8eafc8a4c76b924b9800f /home/theophile/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf
18575:3056920272] 18:52:30 SECURITY: Checking security of URL 'file:///home/theophile/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf'
18575:3056920272] 18:52:30 SECURITY: Load of file /home/theophile/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf granted (under local sandbox /home/theophile/.xbmc/plugins/video/Hulu/resources/lib/)
18575:3056920272] 18:52:30 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
18575:3056920272] 18:52:30 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
18575:3056920272] 18:52:30 SECURITY: Load from host www.hulu.com granted (default)
18575:3056920272] 18:52:30 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
18575:3047185296] 18:52:30 UNIMPLEMENTED: FileAttributes tag in the SWF requests that network access is not granted to this movie (or application?) when loaded from the filesystem. Anyway Gnash won't care; use white/black listing in your .gnashrc instead
18575:3056920272] 18:52:32 UNIMPLEMENTED: System.security.allowDomain
18575:3056920272] 18:52:32 UNIMPLEMENTED: Rectangle_intersection
18575:3056920272] 18:52:32 TRACE: hulupid=http://bit.ly/YVCsQ


I get a response but it doesn't appear to be in the expected form. What do the devs think?

JasonBelec
2009-03-05, 02:57
Thanks d4rk, but could you be a little more clear on what you are suggesting. I've tried a few things with this info. Has been interesting, but non compilable, then non-functional with an error during Make.

So as for others, currently compiles not working? Hehehe. I love a challenge, but clarity in what 'does' work would move things forward.

Thanks for the help so far, I'll be the first to update any instructions.

sofakng
2009-03-05, 02:59
I'm getting the same result as theophile which I believe is correct, but the Hulu plugin is still giving me an error about default.py (eg. see my quote a few posts above)

rwparris2
2009-03-05, 03:00
With the useragent fix:

root@farmer:/home/theophile/gnash-0.8.5# gnash --render-mode 0 --once --verbose --param FlashVars=pid=dd4e9942974869f0cac12ab9ce815da9af6f 8486a433a84bda842dae193457f9~16aa98d95559f7db192bb 69972ffc6578e87c22f6bc8eafc8a4c76b924b9800f /home/theophile/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf
18575:3056920272] 18:52:30 SECURITY: Checking security of URL 'file:///home/theophile/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf'
18575:3056920272] 18:52:30 SECURITY: Load of file /home/theophile/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf granted (under local sandbox /home/theophile/.xbmc/plugins/video/Hulu/resources/lib/)
18575:3056920272] 18:52:30 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
18575:3056920272] 18:52:30 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
18575:3056920272] 18:52:30 SECURITY: Load from host www.hulu.com granted (default)
18575:3056920272] 18:52:30 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
18575:3047185296] 18:52:30 UNIMPLEMENTED: FileAttributes tag in the SWF requests that network access is not granted to this movie (or application?) when loaded from the filesystem. Anyway Gnash won't care; use white/black listing in your .gnashrc instead
18575:3056920272] 18:52:32 UNIMPLEMENTED: System.security.allowDomain
18575:3056920272] 18:52:32 UNIMPLEMENTED: Rectangle_intersection
18575:3056920272] 18:52:32 TRACE: hulupid=http://bit.ly/YVCsQ
I get a response but it doesn't appear to be in the expected form. What do the devs think?

The devs (at least me) think hulu is psudeo-rick rolling us. They're clearly purposefully blocking the current method.

Be patient I have a new idea I'll be working on tonight (still won't work on xbox, I'll provide more details if it proves feasible)

theophile
2009-03-05, 03:11
I noticed that too. The PID resolves to the Hulu Rick Astley page.

jonm42
2009-03-05, 03:49
I noticed that too. The PID resolves to the Hulu Rick Astley page.

Cute. Very cute.

sofakng
2009-03-05, 04:23
Is this problem related to my default.py issue from above, or is this different?

JasonBelec
2009-03-05, 05:13
Hahaha, darn should have realized that as well. Little buggers. ;)

rectalogic
2009-03-05, 17:52
18575:3056920272] 18:52:32 UNIMPLEMENTED: Rectangle_intersection
18575:3056920272] 18:52:32 TRACE: hulupid=http://bit.ly/YVCsQ
[/code]

I get a response but it doesn't appear to be in the expected form. What do the devs think?

You have been Rick Rolled. You need three patches to gnash, the user-agent fix (see post #36), implement Rectangle_equals (see post #40), and implement System.security.allowDomain (post #41).

Or just use AIR instead of gnash - http://xbmc.org/trac/ticket/6001

theophile
2009-03-05, 18:32
The trac entry says the AIR patch is for OSX. Will it work in Linux?

DDM123
2009-03-05, 21:54
I got the Air plugin to work with linux, takes a min to setup, but it functions. Unfortunately, it doesn't work perfectly yet, but it plays some videos.

Problems I've had: Videos are not scaled to fullscreen, menu bar is visible, not all videos play, screensaver kicks in during playback and buttons don't cancel it, and other minor issues. In other words, it's very close to being perfectly usable.

Just download the Air SDK, extract it, and point the settings.xml file in the new Hulu plugin to it.

Hannibal
2009-03-05, 22:29
Same; this works on OSX just fine -- make sure you download the Adobe Air SDK; I had to change the ~/air-1.5.1/bin/adl path to be fully qualified.

However, as DDM reported - all the videos seem to start in Window mode; I have to hit backslash to make them full screen; and I can't seem to get any videos listed with H264 resolution to play.

nicoli_k
2009-03-05, 23:21
I know this doesn't exactly belong here, but after being terrified for 3 hours thinking i broke either my tv or xbox and searching google i didn't find any answers. I was just trying to install xdsl so that i could watch hulu on the xbox and that's when the problems began.
Don't get me wrong, running linux on the xbox can be a wonderful thing. xdsl has firefox by default and it can be used to search the web much like firefox on a regular computer. i was running it xdsl .7 beta 5 off of the live cd and navigated to hulu.com only to find that i needed to install flash. i wasn't too surprised and thought that i should just install it to the hard drive since i've upgraded to a 500GB and could spare the room.

I had to use regular rca cables since it didn't play nicely with component cables. even then, there was overscan. i went to the included tools and clicked the version 1.0 to 1.5 screen fix since i've got a 1.4 box. i installed it to the hard drive and when i restarted, it looked like i blew a fuse on my brother's HDTV (which happened just a couple months ago much to my dismay but i found out how to fix it via google and figuring out which fuse blew, but i digress).

my first thought, great the tv blew. i changed the channel to watch cable tv and it was working flawlessly. i changed from the rca cable to the component cable and the problem was still there, but it was messing up on the component input instead of the front jacks of the tv. apparently i'd inadvertently changed my entire xbox to PAL using the xbox screen fixing tool. i drew this conclusion because the screen was jumping, flickering, and scrolling on a smaller tv that i tested to make sure i didn't screw up the big screen. i even tried loading a game and it was jumping during the default loading screen and when the game loaded. I then thought that i'd broken my video card from plugging and unplugging the rca cable and component cable over and over again.

i booted back into xbmc and was able to still ftp. i thought i may have to overwrite the C: with a backup that i had from a couple months ago, but i didn't see any files that had been changed today.

after moping around a while, i thought that maybe i'd screwed up the box after selecting to install cromwell while installing xdsl. since i have a softmod i thought maybe i'd screwed up the bios. i launched the live cd again on the big screen since i was still able to see the screen although it was scrunched up and black and white. at the launch screen i selected "advanced settings" and saw that it was defaulting to PAL and i'm in america and have an NTSC television. *whew* i realized there wasn't anything broken on the tv or xbox.
i plugged in my component cables and went to xbmc and to my dismay, it was freaking huge! i could only see from Settings to Programs and everything from Pictures to Videos was unable to be seen. i shut off the box, plugged in the rca cable and went back to XBMC. it was still huge, but i was able to make my way to settings, appearance, screen, and select Auto since it was defaulting to widescreen 16:9.
i shut down the box yet again, switched to component and launched XBMC. it was still huge. however, i was able to navigate to settings, system, video hardware, and select Enable 480p. i rebooted and *voila* it was back to normal.
this was the worst 3 hour stretch i've ever experienced using XBMC. hopefully this will pull up in a google search if someone else experiences this problem.
*Be careful with the video settings when installing linux on your xbox!*
i've been thoroughly scared away from trying to use a combo of linux and firefox inside the xbox to watch hulu. from what i've read it doesn't work nicely anyway since the xbox doesn't have that many resources and it's too much of a strain to run flash player inside of firefox. also, you've got to run an old version of firefox and flash which is a security risk.

I'm going to just use fancast and wait for a plugin for hulu. thank you developers for your work. if this needs to be moved somwhere else, feel free to do so. hopefully if someone else messes up doing this, they won't have to spend 3 hours freaking out or resorting to wiping the hard drive and starting over again.
i placed it here because i was a desperate xbox user trying to view hulu while still having XBMC installed alongside linux using firefox and thought other xbox users might be trying something similar while a plugin is still in the works.

sofar
2009-03-06, 04:40
Getting errors on a generic linux install running the current SVN checkout (3/5/09):

02:34:59 T:2752773008 M:589168640 NOTICE: Traceback (most recent call last):
02:34:59 T:2752773008 M:589168640 NOTICE: File "/home/sofar/.xbmc/plugins/video/Hulu/default.py", line 60, in ?
02:34:59 T:2752773008 M:589168640 NOTICE:
02:34:59 T:2752773008 M:589168640 NOTICE: modes ( )
02:34:59 T:2752773008 M:589168640 NOTICE: File "/home/sofar/.xbmc/plugins/video/Hulu/default.py", line 36, in modes
02:34:59 T:2752773008 M:589168640 NOTICE:
02:34:59 T:2752773008 M:589168640 NOTICE: stream_media.Main()
02:34:59 T:2752773008 M:589168640 NOTICE: File "/home/sofar/.xbmc/plugins/video/Hulu/resources/lib/stream_hulu.py", line 14, in __init__
02:34:59 T:2752773008 M:589168640 NOTICE:
02:34:59 T:2752773008 M:589168640 NOTICE: self.play()
02:34:59 T:2752773008 M:589168640 NOTICE: File "/home/sofar/.xbmc/plugins/video/Hulu/resources/lib/stream_hulu.py", line 31, in play
02:34:59 T:2752773008 M:589168640 NOTICE:
02:34:59 T:2752773008 M:589168640 NOTICE: smilURL = "http://releasegeo.hulu.com/content.select?pid=" + hulu_decrypt(pid) + "&mbr=true&format=smil"
02:34:59 T:2752773008 M:589168640 NOTICE: TypeError
02:34:59 T:2752773008 M:589168640 NOTICE: :
02:34:59 T:2752773008 M:589168640 NOTICE: cannot concatenate 'str' and 'NoneType' objects
02:34:59 T:2752773008 M:589168640 NOTICE:
02:34:59 T:2752773008 M:589168640 ERROR: Scriptresult: Error


This error was consistently here in previous versions.

jonm42
2009-03-06, 05:22
Try AIR as described here -- http://xbmc.org/forum/showpost.php?p=292932&postcount=116 -- I can state it works on Mac. Don't have a lx or wn box to try it on.

sofar
2009-03-06, 08:56
Try AIR as described here -- http://xbmc.org/forum/showpost.php?p=292932&postcount=116 -- I can state it works on Mac. Don't have a lx or wn box to try it on.

Gnash works on my system. from the error it's clear that the problem is with the python code. Adding debug information clearly prints the decrypted phrase in my logs, it just needs to be written properly in python somehow...

Not sure why my svn build of xbmc is more picky of the svn version of the plugin, but pointing me to AIR is a bunch of... air.

sigh

I hate forums. I vote for a proper mailinglist ;)

sofar
2009-03-06, 09:26
AIR version works... confirmed.

rectalogic
2009-03-06, 20:36
Gnash works on my system. from the error it's clear that the problem is with the python code.

Pretty much any time you see the error you pasted, it means hulu_decrypt() returned None which means Gnash is not working right. Did you apply the 3 patches to gnash and if so does runnnig gnash from the command line decrypt a pid? If not, then Hulu may have changed things to break gnash again.

rwparris2
2009-03-07, 01:20
I got the Air plugin to work with linux, takes a min to setup, but it functions. Unfortunately, it doesn't work perfectly yet, but it plays some videos.

Problems I've had: Videos are not scaled to fullscreen, menu bar is visible, not all videos play, screensaver kicks in during playback and buttons don't cancel it, and other minor issues. In other words, it's very close to being perfectly usable.

Just download the Air SDK, extract it, and point the settings.xml file in the new Hulu plugin to it.

Can you explain how exactly you got this to work? I got the files from the issues age, and downloaded the air sdk from http://airdownload.adobe.com/air/lin/download/latest/air_1.5_sdk.tbz2 I unzipped it and pointed the plugin to /home/rwparris2/Downloads/air_1.5_sdk/bin/adl

then I get this error:

start of HULU plugin
17:19:34 T:2770152336 M:104488960 NOTICE:
17:19:34 T:2770152336 M:104488960 NOTICE: HULU--> common.args.mode -- > TV_play
17:19:34 T:2770152336 M:104488960 NOTICE:
17:19:35 T:2770152336 M:104210432 NOTICE: http://www.hulu.com/watch/39782/family-guy-road-to-germany
17:19:35 T:2770152336 M:104210432 NOTICE:
17:19:35 T:2770152336 M:104210432 NOTICE: HULU --> common :: getHTML :: url = http://www.hulu.com/watch/39782/family-guy-road-to-germany
17:19:35 T:2770152336 M:104210432 NOTICE:
17:19:35 T:2770152336 M:104181760 NOTICE: HULU --> common :: getHTML :: url = http://r.hulu.com/videos?content_id=11379011
17:19:35 T:2770152336 M:104181760 NOTICE:
17:19:35 T:2770152336 M:104251392 ERROR: dll_fstat64 emulated function failed
17:19:35 T:2770152336 M:104251392 WARNING: dll_setvbuf - May not be implemented correctly
17:19:36 T:2770152336 M:103202816 NOTICE: HULU --> SMILURL: http://releasegeo.hulu.com/content.select?pid=invocation forwarded to primary instance&mbr=true&format=smil
17:19:36 T:2770152336 M:103202816 NOTICE:
17:19:36 T:2770152336 M:103202816 NOTICE: HULU --> common :: getHTML :: url = http://releasegeo.hulu.com/content.select?pid=invocation forwarded to primary instance&mbr=true&format=smilwhat am I missing?

I'm ready to commit as soon as I can confirm it works

JasonBelec
2009-03-07, 03:46
I finally got Gnash 0.8.4 to compile without issue.

Now to introduce the fixes.

1) I'm totally missing what the result should look like from post #105, I tried replacing one of the lines of code provided into the quotes which invited some errors, so I either messed up or just miss understood.

2) "System.security.allowDomain", cannot find this and still not clear as to the fix. It is stated this is in post #41 - OK humor me, I'm feeling really dense.

3) the rectangle fix I found the file and code.

All this is referenced in post #116 by the amazing rectalogic. Let's assume I haven't been playing along from the beginning....

Could someone slap me good and hard like you would any little kid... appreciate it.

hrcolb0
2009-03-07, 04:03
I'm trying to get air to work with xbmc/osx and I am getting the following error

21:00:20 T:2959454208 M:310824960 NOTICE: Traceback (most recent call last):
21:00:20 T:2959454208 M:310841344 NOTICE: File "/Users/harleycolbert/Library/Application Support/XBMC/plugins/video/Hulu/default.py", line 60, in ?
21:00:20 T:2959454208 M:310841344 NOTICE:
21:00:20 T:2959454208 M:310841344 NOTICE: modes ( )
21:00:20 T:2959454208 M:310841344 NOTICE: File "/Users/harleycolbert/Library/Application Support/XBMC/plugins/video/Hulu/default.py", line 36, in modes
21:00:20 T:2959454208 M:310841344 NOTICE:
21:00:20 T:2959454208 M:310841344 NOTICE: stream_media.Main()
21:00:20 T:2959454208 M:310841344 NOTICE: File "/Users/harleycolbert/Library/Application Support/XBMC/plugins/video/Hulu/resources/lib/stream_hulu.py", line 14, in __init__
21:00:20 T:2959454208 M:310841344 NOTICE:
21:00:20 T:2959454208 M:310841344 NOTICE: self.play()
21:00:20 T:2959454208 M:310841344 NOTICE: File "/Users/harleycolbert/Library/Application Support/XBMC/plugins/video/Hulu/resources/lib/stream_hulu.py", line 31, in play
21:00:20 T:2959454208 M:310841344 NOTICE:
21:00:20 T:2959454208 M:310841344 NOTICE: smilURL = "http://releasegeo.hulu.com/content.select?pid=" + hulu_decrypt(pid) + "&mbr=true&format=smil"
21:00:20 T:2959454208 M:310841344 NOTICE: File "/Users/harleycolbert/Library/Application Support/XBMC/plugins/video/Hulu/resources/lib/decswf.py", line 13, in hulu_decrypt
21:00:20 T:2959454208 M:310841344 NOTICE:
21:00:20 T:2959454208 M:310841344 NOTICE: child = subprocess.Popen(args, executable=adl, bufsize=1, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
21:00:20 T:2959454208 M:310833152 NOTICE: File "/Applications/XBMC.app/Contents/Resources/XBMC/system/python/python24.zip/subprocess.py", line 543, in __init__
21:00:20 T:2959454208 M:310833152 NOTICE:
21:00:20 T:2959454208 M:310833152 NOTICE: errread, errwrite)
21:00:20 T:2959454208 M:310833152 NOTICE: File "/Applications/XBMC.app/Contents/Resources/XBMC/system/python/python24.zip/subprocess.py", line 975, in _execute_child
21:00:21 T:2959454208 M:310849536 NOTICE:
21:00:21 T:2959454208 M:310849536 NOTICE: raise child_exception
21:00:21 T:2959454208 M:310857728 NOTICE: OSError
21:00:21 T:2959454208 M:310857728 NOTICE: :
21:00:21 T:2959454208 M:310857728 NOTICE: [Errno 2] No such file or directory
21:00:21 T:2959454208 M:310857728 NOTICE:
21:00:21 T:2959454208 M:310857728 ERROR: Scriptresult: Error
21:00:21 T:2959454208 M:310931456 INFO: Python script stopped

Any ideas on what I am doing wrong?

nose13
2009-03-07, 04:08
note; I did actually BUILD the plugin using build.bat and move it to the correct location as specified in the readme.
build is xmbcsetup-rev17640-jester-ffmpeg-mt.exe

start of HULU plugin
21:01:46 T:2492 M:1583661056 NOTICE:
21:01:46 T:2492 M:1583661056 NOTICE: HULU--> common.args.mode -- > RSS_play
21:01:46 T:2492 M:1583661056 NOTICE:
21:01:46 T:2492 M:1582899200 NOTICE: http://www.hulu.com/watch/49756/the-missouri-breaks#http%3A%2F%2Fwww.hulu.com%2Ffeed%2Frecent%2 Fmovies.rss%3Frd%3D0
21:01:46 T:2492 M:1582899200 NOTICE:
21:01:46 T:2492 M:1582899200 NOTICE: HULU --> common :: getHTML :: url = http://www.hulu.com/watch/49756/the-missouri-breaks#http%3A%2F%2Fwww.hulu.com%2Ffeed%2Frecent%2 Fmovies.rss%3Frd%3D0
21:01:46 T:2492 M:1582899200 NOTICE:
21:01:46 T:2492 M:1582632960 NOTICE: HULU --> common :: getHTML :: url = http://r.hulu.com/videos?content_id=12803562
21:01:46 T:2492 M:1582632960 NOTICE:
21:01:46 T:2492 M:1582764032 NOTICE: Traceback (most recent call last):
21:01:46 T:2492 M:1582764032 NOTICE: File "C:\Program Files\XBMC\plugins\video\Hulu\default.py", line 60, in ?
21:01:46 T:2492 M:1582764032 NOTICE:
21:01:46 T:2492 M:1582764032 NOTICE: modes ( )
21:01:46 T:2492 M:1582764032 NOTICE: File "C:\Program Files\XBMC\plugins\video\Hulu\default.py", line 36, in modes
21:01:46 T:2492 M:1582764032 NOTICE:
21:01:46 T:2492 M:1582764032 NOTICE: stream_media.Main()
21:01:46 T:2492 M:1582764032 NOTICE: File "C:\Program Files\XBMC\plugins\video\Hulu\resources\lib\stream _hulu.py", line 14, in __init__
21:01:46 T:2492 M:1582759936 NOTICE:
21:01:46 T:2492 M:1582759936 NOTICE: self.play()
21:01:46 T:2492 M:1582759936 NOTICE: File "C:\Program Files\XBMC\plugins\video\Hulu\resources\lib\stream _hulu.py", line 31, in play
21:01:46 T:2492 M:1582759936 NOTICE:
21:01:46 T:2492 M:1582759936 NOTICE: smilURL = "http://releasegeo.hulu.com/content.select?pid=" + hulu_decrypt(pid) + "&mbr=true&format=smil"
21:01:46 T:2492 M:1582759936 NOTICE: File "C:\Program Files\XBMC\plugins\video\Hulu\resources\lib\decswf .py", line 13, in hulu_decrypt
21:01:46 T:2492 M:1582755840 NOTICE:
21:01:46 T:2492 M:1582755840 NOTICE: child = subprocess.Popen(args, executable=adl, bufsize=1, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
21:01:46 T:2492 M:1582755840 NOTICE: File "special:\\xbmc\system\python\python24.zlib\subproc ess.py", line 549, in __init__
21:01:46 T:2492 M:1582755840 NOTICE: File "special:\\xbmc\system\python\python24.zlib\subproc ess.py", line 609, in _get_handles
21:01:46 T:2492 M:1582755840 NOTICE: File "special:\\xbmc\system\python\python24.zlib\subproc ess.py", line 650, in _make_inheritable
21:01:46 T:2492 M:1582755840 NOTICE: TypeError
21:01:46 T:2492 M:1582755840 NOTICE: :
21:01:46 T:2492 M:1582755840 NOTICE: an integer is required
21:01:46 T:2492 M:1582751744 NOTICE:
21:01:46 T:2492 M:1582751744 ERROR: Scriptresult: Error
21:01:47 T:2596 M:1584873472 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/Hulu/?url="http%3A%2F%2Fwww.hulu.com%2Fwatch%2F49756%2Fthe-missouri-breaks%23http%253A%252F%252Fwww.hulu.com%252Ffeed% 252Frecent%252Fmovies.rss%253Frd%253D0"&mode="RSS_play"&name="The+Missouri+Breaks"&fanart="http%3A%2F%2Fassets.hulu.com%2Fshows%2Fkey_art_the _missouri_breaks.jpg"&plot="An+eccentric+gunfighter+for+hire+must+protect+a+ca ttle+barons+herd+from+a+rustler+and+his+gang."&genre="HD Gallery"
21:01:47 T:2596 M:1584873472 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/Hulu/?url="http%3A%2F%2Fwww.hulu.com%2Fwatch%2F49756%2Fthe-missouri-breaks%23http%253A%252F%252Fwww.hulu.com%252Ffeed% 252Frecent%252Fmovies.rss%253Frd%253D0"&mode="RSS_play"&name="The+Missouri+Breaks"&fanart="http%3A%2F%2Fassets.hulu.com%2Fshows%2Fkey_art_the _missouri_breaks.jpg"&plot="An+eccentric+gunfighter+for+hire+must+protect+a+ca ttle+barons+herd+from+a+rustler+and+his+gang."&genre="HD Gallery") failed

rectalogic
2009-03-07, 04:16
Can you explain how exactly you got this to work? I got the files from the issues age, and downloaded the air sdk from http://airdownload.adobe.com/air/lin/download/latest/air_1.5_sdk.tbz2 I unzipped it and pointed the plugin to /home/rwparris2/Downloads/air_1.5_sdk/bin/adl

Hmm, that's interesting - the automatic SDK download for Linux is 1.5.1, but the direct link they provide on that page is 1.5. The plugin requires 1.5.1.

Try downloading http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRSDK.tbz2


then I get this error:


17:19:36 T:2770152336 M:103202816 NOTICE: HULU --> common :: getHTML :: url = http://releasegeo.hulu.com/content.select?pid=invocation forwarded to primary instance&mbr=true&format=smil

"pid=invocation forwarded to primary instance" means an instance of the decryptor AIR app is already running, so when it is invoked it gets forwarded too instead of launching a new one (and so we don't get stdout from it). This shouldn't happen because each adl instance should exit after decrypting the pid. But I guess this may be due to the above issue.

jrice219
2009-03-07, 04:29
I got the gnash error so I directed hulu to the gnash directory i made. Now I am getting a "ERROR. Python Script Failed: Special://Home/Plugins/Video/Hulu/Default.PY"


I am running windows xp pro sp3. the svn i am using is 18257 from jester.

djdafreund
2009-03-07, 04:42
Hey guys!! I hope this might help out, looks like a backdoor already found.
http://www.betanews.com/article/Boxee-RSS-feature-gives-Hulu-a-backdoor/1236370398

rectalogic
2009-03-07, 04:48
Hey guys!! I hope this might help out, looks like a backdoor already found.
http://www.betanews.com/article/Boxee-RSS-feature-gives-Hulu-a-backdoor/1236370398

They use a flash player so don't have any real issues getting it to work since they are actually using player.swf which then does the decryption. Boxee was not originally disabled by Hulu, they voluntarily pulled their working plugin.

hrcolb0
2009-03-07, 15:52
AIR version works... confirmed.

sofar,

did you have to do anything special to get the air version to work? I am using the plugin from trac, and the air sdk 1.5.1. When I start to play an episode, all I get is "python script failed" any suggestions?

ngabriel
2009-03-08, 21:50
First time I started the script told me that it could not connect to xbmcscripts.com (which I understand to be down). Trying again, it now errors saying:

File "Q:\scripts\Hulu\default.py", line 28, in ?
D_HANDLE"=sys.argv[1]
IndexError: list Index out of range

known issues?

rwparris2
2009-03-08, 22:30
First time I started the script told me that it could not connect to xbmcscripts.com (which I understand to be down).

Uhm, no comment.

Welcome to the forums. :)


Trying again, it now errors saying:

File "Q:\scripts\Hulu\default.py", line 28, in ?
D_HANDLE"=sys.argv[1]
IndexError: list Index out of range

known issues?
Yes, the 'issue' is you're doing it wrong. http://xbmc.org/wiki/?title=Plugins#Manually_installing_plugins

Also, you will HAVE to read through the rest of this thread before you can even hope to get Hulu to work. At the moment, however, there is no working plugin publicly available, so you'll have to wait. Feel free to read through the thread and then check here for updates.

fedorafitz
2009-03-09, 18:56
I finally got Gnash 0.8.4 to compile without issue.

Now to introduce the fixes.

1) I'm totally missing what the result should look like from post #105, I tried replacing one of the lines of code provided into the quotes which invited some errors, so I either messed up or just miss understood.

2) "System.security.allowDomain", cannot find this and still not clear as to the fix. It is stated this is in post #41 - OK humor me, I'm feeling really dense.

3) the rectangle fix I found the file and code.

All this is referenced in post #116 by the amazing rectalogic. Let's assume I haven't been playing along from the beginning....

Could someone slap me good and hard like you would any little kid... appreciate it.

Here what you need to do (I will answer by the same numbers you have in your questions)

1) Here is the original line --> ccode = curl_easy_setopt(_handle, CURLOPT_USERAGENT, "Gnash-" VERSION);

It needs to be --> ccode = curl_easy_setopt(_handle, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0");

Because you want report the correct "browser"

2) Search the System_as.cpp file for all lines that include "allowdomain" you will find 2 lines and a function. The function will have around 5 lines to delete. Essentially you are removing the code for the checks that they are doing.

3) Since you found the rectangle code just replace it with the code that was posted.

They are checking for various functions in Gnash, so as soon as we plug one, there will be another check for a different one, and we will have to keep re-compiling Gnash after changing the functions that are checked. So far it has been: Rectangle_equals, Rectangle_intersection, System.security.allowDomain, and the "UserAgent" check. So don't be surprised if after getting it working it just breaks again.

P51D
2009-03-11, 10:49
fedorafitz, thank you for you post. Does this work for you when you make these changes? I am a little confused what you suggest for System_as.cpp, are you editing anything in getSystemSecurityInterface? I take it that the System.security.allowDomain fix is updating the swf file, how would you re-compile it on linux? If I use makeswf -o DecryptPid.swf DecryptPid.txt
it has compile errors

Output file name: DecryptPid.swf
Output compression level: 9
Output SWF version: 6
Preprocessing DecryptPid.txt... done.
Parser error: writing empty block

Compiling `DecryptPid.swf.frame0.pp'... failed:
sec
^
Line 14: Reason: 'syntax error, unexpected IDENTIFIER, expecting ';''

What did you do for the System.security.allowDomain fix?
Is it possible to put some of the gnash file or at least a patch file in the repository along with the updated swf file?

fedorafitz
2009-03-12, 00:37
fedorafitz, thank you for you post. Does this work for you when you make these changes? I am a little confused what you suggest for System_as.cpp, are you editing anything in getSystemSecurityInterface? I take it that the System.security.allowDomain fix is updating the swf file, how would you re-compile it on linux? If I use makeswf -o DecryptPid.swf DecryptPid.txt
it has compile errors

Output file name: DecryptPid.swf
Output compression level: 9
Output SWF version: 6
Preprocessing DecryptPid.txt... done.
Parser error: writing empty block

Compiling `DecryptPid.swf.frame0.pp'... failed:
sec
^
Line 14: Reason: 'syntax error, unexpected IDENTIFIER, expecting ';''

What did you do for the System.security.allowDomain fix?
Is it possible to put some of the gnash file or at least a patch file in the repository along with the updated swf file?


I was a bit confused about what I should do as well. The guy that posted the "System.security.allowDomain" said he had to "weed" them out, so I think that he meant comment the lines out (I hope I am right:). The file is called "System_as.cpp" and it is found in the gnash source files in this folder --> "/gnash-0.8.5/libcore/asobj/System_as.cpp". I did a search for "allowdomain" and commented out the lines that had it.

I then re-compiled gnash, the "UNINITIATED " errors go away but I am still getting the "Rick Roll" link when I run the gnash command to decrpyt the pid.

I am not familiar with makeswf in relation to what this thread is about, so unfortunately I will not be able to comment on that. Hope I was of some help to you.

JasonBelec
2009-03-12, 01:55
Thanks fedorafitz, got things to the same point as you. Seems they are clever over at Hulu. ;)

jsmith
2009-03-12, 21:21
So...is the hope of a publicly available plug-in that works for an extended period of time, without having to do all these steps diminishing? Or are we around the corner from that?

GeekDaddy
2009-03-13, 00:19
So does it work now or not? I have a modded xBox with the SVN distro from last November (the 8th?). I added the "Dirty Modified" Hulu plugin and it looks like it is working great ... until you try to play the video. The system pauses a couple of seconds and then comes right back to where you were. No video.

Right now I am using BitTorrent and TED to download shows and using a cron job to ftp the files over to the xBox. That works ... mostly. With the shows on the Hulu website or the website of the broadcaster themselves, it is crazy that we can't just stream the show down to the xBox! I WANT the commercials if that means the shows earns money! I just want someone to let me get the bits to my screen without paying for satelite tv that goes out with every thunderstorm.

ingle_d23
2009-03-13, 01:09
There doesn't seem to be one that currently works for the xbox at the moment. At least it's not been released to the public yet. In the mean time try using BlueCop's NBC and CBS plugins that can be downloaded from the repository.

huval1
2009-03-14, 07:56
Has anyone gotten the Adobe Air application installed on an Apple TV in order to get the Hulu plugin working? If so, could you please explain how?

sofakng
2009-03-14, 08:08
Can somebody give us explicit instructions on getting this to work on Linux? (eg. changes to Gnash and the SWF?)

I have Gnash and XBMC working fine but I need to "fix" Gnash (and the SWF?) now...

engima9o7
2009-03-15, 08:05
It would be nice if one of you devs who are deep into this could at least post an update once in a while about what the status is for different platforms, where/how to get any working plugins, etc.

In case you didn't notice, that's all any non-devs care about.
1 - Is there a working plugin for my platform?
2 - where do I get it, and how do I install it?


Exactly. That's what I'm trying to figure out, and still cant. The very first post seems to say there isnt a working version, does that mean for any platform? I've skimmed most of this thread and don't think I've read a single post where somebody said they had it working, however I assume a developer wouldn't release it unless it worked for them, so it must work somehow.

All I want to know is #1 and #2 above - Is there a working hulu plugin for xmbc xbox or xbmc windows, and if so, where do I get it, and if it doesn't come with directions, how do I install it?

rwparris2
2009-03-15, 08:10
Yes the first post refers to all platforms.

I haven't updated it since there haven't been updates.

engima9o7
2009-03-15, 08:16
Dude I love the interweb. Five minutes after I post at midnight on a saturday, I have a helpful response. Thanks rwparris2. I spent like 2 hours searching/reading to figure out what you answered almost immediately.

TechnoSwiss
2009-03-17, 02:13
This might be better suited for the developers thread, but I had a thought on watching Hulu on the xbox.

I imagine that most folks like myself have a Linux/Windows/Mac server somewhere in the house to feed media files to XBMC on their xbox.

Since viewing Hulu content on these platforms isn't a problem, maybe we could setup shows we want to watch and have our server box "record" them, for later viewing on the xbox? Kind of like a DVR where you say you want to watch The Simpsons, and instead of checking your tuner card for new shows, it checks Hulu and records them.

I've been looking around to see if there's anything like that out there, and haven't found it yet, so maybe it's just not possible.

afail
2009-03-19, 04:13
the first post says the gnash info is outdated - so am I correct in that no working Hulu is out there?

jonm42
2009-03-19, 05:21
There's a rather arcane series of steps (http://xbmc.org/forum/showpost.php?p=297013&postcount=53) over in the dev forum, but nothing pre-packaged, no.

monza700
2009-03-19, 18:20
So was this working before, but now isn't or what?
Could someone edit the original post with the status and DTTM updated?
It would make it much easier to search and would probably cut down on people like me asking...

If I understand correctly, at one point, it was working for xbox...
Was it ever working for windows?

Boxee seems to have it working quite well, any chance they have to post the plugin code to comply with licensing?

maui917
2009-03-19, 19:20
It was at one time working on the xbox, and it was awesome.

monza700
2009-03-19, 19:36
It was at one time working on the xbox, and it was awesome.

So did the interface change?

iRoNBiLL
2009-03-19, 20:36
Whenever a script or plugin stops working, it's because the developers on the original website made some changes to the media delivery mechanism which feeds streaming content. In Hulu's case, they probably just added more security or an update to their streaming media servers. Everytime this happens, a script or plugin that used to work for the site no longer works, then the XBMC developer for the plugin (in this case, Hulu) would have to again figure out the security mechanism and how to circumvent it, reimplement the changes on the Hulu plugin, and test it again before putting it back out for download.

There are some people working on a permanent fix for sites like Hulu and MegaVideo, but until that fix comes out, anytime Hulu makes a change the plugin developer doesn't cover, the plugin won't work. I can only imagine Hulu takes video security really seriously, since there owned by Universal Studios the movie company. Such is the give and take of a streaming media company!

iRoNBiLL

monza700
2009-03-19, 23:19
Thanks for the info. From reading Boxee and Hulu's blogs it sounds like content providers are worried that this (and Boxee) will start replacing traditional Cable/Satellite. Their agreements with Hulu seem to be more of extending their content to computers, as that will add to their existing revenue streams. Under the current model (minimal commercials), replacing cable/satellite would result in loss of revenue. On top of that, most major networks have some stake in the cable/satellite industry (more loss as people switch)...

Thank you and keep up the great work!

thepotatoman
2009-03-25, 23:14
So in otherwords we can only hope for 50$ a month plus 14 minutes of commercials every hour for internet content, or we will never get official support of streaming video to our tvs outside of netflix. I am pretty certain eventually all content will be on demand, the question is are the consumers going to be getting a little bit of a break when it does.

monza700
2009-03-26, 23:21
It all depends on the click-thru/buy percentage.
One BIG/HUGE advantage that internet advertising has over TV is that if someone clicks on your ad, you know they're interested in either your products/services or at least keeping your advertising on the site they saw it on. Not to mention that internet sales can normally be directly traced back to their source ad.

Cable/Satellite rarely offers this, and even rarer are the people interested, as viewing the ad on TV means that they are missing what they were viewing.

Granted, you can't exactly click on an ad in your xbox and bring up a browser, but it could add an item to your play list or something...

monza700
2009-04-02, 23:02
So, an update of sorts from Hulu/Boxee.
Hulu now encrypts the HTML before sending it to the client's web browser, then uses javascript to decrypt it.
Boxee is about to release a new version that performs this.
Essentially, Hulu is making it to where you must visit from a web browser.
Is it possible to include a version of Portable Firefox or something similar that can handle this? You could then use the plugin to browse through all of the titles, then link over to the browser to play the file (with auto-fullscreen, etc.?)...

rwparris2
2009-04-02, 23:50
So, an update of sorts from Hulu/Boxee.
Hulu now encrypts the HTML before sending it to the client's web browser, then uses javascript to decrypt it.
Boxee is about to release a new version that performs this.
Essentially, Hulu is making it to where you must visit from a web browser.
Is it possible to include a version of Portable Firefox or something similar that can handle this? You could then use the plugin to browse through all of the titles, then link over to the browser to play the file (with auto-fullscreen, etc.?)...

Apart from autofullscreen, this would be doable with the launcher plugin. As in, use xbmc.RunPlugin (or whatever it is, I don't want to look it up) from the already existing Hulu Plugin. I mainly use xbox, so I'm not really keen on doing it myself, but a patch certainly would be welcome.

Note: you could probably find or make a firefox addon that clicks the (x,y) coordinate where the fullscreen button is on the flash player, if you're concerned about autofullsceen.

Arkon11
2009-04-10, 19:12
I know that recently the boxee team got Hulu working again via Rss feeds (http://blog.boxee.tv/2009/03/06/new-version-hulu-update/), and I was wondering if there are any plans similar to this for XBMC.

That week that Hulu was working on XBMC was great, and I'd like to see it again :-p.

rwparris2
2009-04-10, 19:53
I know that recently the boxee team got Hulu working again via Rss feeds (http://blog.boxee.tv/2009/03/06/new-version-hulu-update/), and I was wondering if there are any plans similar to this for XBMC.

That week that Hulu was working on XBMC was great, and I'd like to see it again :-p.
No, unfortunately it isn't that easy. Go checkout the plugin creation tutorial in the wiki to get some idea of what actually needs to be done, and remember that hulu is about 20 times more complex than what voinage has laid out.

iRoNBiLL
2009-04-10, 20:18
I stand corrected.....TV Shack only streams old content from Hulu via MegaVideo... but if you want working Hulu streaming on XBMC now, use PlayOn Media Server by installing it on your computer, creating the link to PlayOn via XBMC via upnp:// and enter your free Hulu UN and PW into the PlayOn Media Server app on your computer. I'm watching the Colbert Report on my xbox as I type this ;) Hope this works for you until Team Navi-X gets the Hulu "scraper engine" working.

iRoNBiLL

greybeard
2009-04-23, 00:54
I have not been able to find a binary of gnash for mac osx, and have not been able to find a discussion of how to install a complete dev env on the atv. I also have never setup an x-compile env on Linux, so i have only loosely been following this thread. Today I found the discussion of the AIR SDK and downloaded it, and downloaded hulu-air.zip files from google-code. I was not sure where to install the AIR files on the atv, so I grepped the hulu plugin code, and found plugins/video/Hulu/resources/settings.xml: <setting id='adl_path' type ="text" label="30020" default="~/air-1.5.1/bin/adl"/>

So I installed the SDK relative to frontrow's home. However, when I tried to run hulu-air from XBMC, I got "AIR ADL NOT FOUND \r ~/AIR-1.5.1/BIN/ADL DOES NOT EXIST" [caps in original XBMC err mesg].

Where is that supposed to be installed?

Also, is this plugin working for any atv user? Do I have to have firefox installed for it to work?

rwparris2
2009-04-23, 01:00
as noted in the first post
As far as I know, there is no working version available.

That applies for all platforms.

daflyboys
2009-05-14, 03:35
Okay, here are your options as an end-user:

1. Use the Fancast plugin (http://github.com/rectalogic/xbmc-fancast-plugin/tree/master) which has some Hulu content, but not all. Fancast discussion is in this thread (http://xbmc.org/forum/showthread.php?p=287674).



Ok, I'm really not the brightest bulb, but I know how to DL things. What is with this github site and DL'ing content? I'm clicking everywhere I can, even off my screen if I have to and I can't get it DL'd.

nicoli_k
2009-05-14, 03:47
Ok, I'm really not the brightest bulb, but I know how to DL things. What is with this github site and DL'ing content? I'm clicking everywhere I can, even off my screen if I have to and I can't get it DL'd.

I'm not sure how well fancast is working, but this should help you download it: http://i40.tinypic.com/15d4cj6.jpg

stoli
2009-05-14, 04:43
Ok, I'm really not the brightest bulb, but I know how to DL things. What is with this github site and DL'ing content? I'm clicking everywhere I can, even off my screen if I have to and I can't get it DL'd.

Just a a side note - github does not support Internet Explorer for downloading. Any other browser will work fine.

-stoli-

daflyboys
2009-05-14, 04:57
Just a a side note - github does not support Internet Explorer for downloading. Any other browser will work fine.

-stoli-


Nice graphic.... but ya, it must be the IE thing. Any other options for that plugin DL wise??

nicoli_k
2009-05-14, 05:04
here it is at mediafire: http://www.mediafire.com/?sharekey=a8c92426f05fe9ec6e7203eb87368129e04e75f6 e8ebb871

daflyboys
2009-05-14, 05:18
TYVVM... no graphic needed for that one! :)

JackieBrown
2009-05-15, 01:47
if you want working Hulu streaming on XBMC now, use PlayOn Media Server by installing it on your computer

They added mac and linux support - I can't find the link.

jonm42
2009-05-15, 02:53
They added mac and linux support - I can't find the link.

If you look here: http://www.themediamall.com/playon

They say "If you have a PLAYSTATION 3, Xbox 360, or HP MediaSmart TV, PlayOn lets you watch Netflix, Hulu, CBS, YouTube, CNN, ESPN and more on your TV. Check it out with a 14 day free trial.

We will also be adding support for Nintendo Wii shortly. Stay tuned!"

Only place I can find support on a Mac is via Parallels or the like.

guitaristkp
2009-06-01, 01:37
Actively awaiting a plugin for the xbox... never got to experience the glory of hulu on it. :(

movemaine
2009-06-05, 21:23
Anyone think that can get TVersity to work with xbox?

jussi
2009-06-13, 09:04
Is there one specific Hulu plug-in for XBMC windows? There seems to be a few different versions. I tried several of them and it keeps giving me errors. Something about the python script failing.

Numus
2009-06-17, 00:38
There is no working hulu plugin for XBMC or any standalone player right now... Hulu is keeping its content PC based browser.. such a shame cause i just turned in my cable boxes to comcast and gave them the 1 finger salute

jussi
2009-06-17, 02:06
There is no working hulu plugin for XBMC or any standalone player right now... Hulu is keeping its content PC based browser.. such a shame cause i just turned in my cable boxes to comcast and gave them the 1 finger salute

Thanks. I guess I'll go back to Hulu Desktop.

jarod71
2009-06-17, 02:38
I recommend the playon solution as well. running it in virtual machine via parallels on a mac running leopard. works a treat. very nice choice of content with many plugins itself. highly recommend it.

Redneck
2009-06-23, 19:36
On a Windows machine, I'm using the Launcher plugin to launch Hulu Desktop. Works great for me.:nod:

Thanks to leo2 for Launcher http://xbmc.org/forum/showthread.php?t=35739

yabel
2009-06-23, 20:29
PLayon +XBoX w/XBMC = Hulu & NetFilX
:)

Superorb
2009-06-27, 01:18
PLayon +XBoX w/XBMC = Hulu & NetFilX
:)
Playon is running a special right now, $19.99 instead of $39.99.

yabel
2009-06-27, 04:55
Here is info
We want you to start off Summer right - so we are offering you PlayOn for only $19.99 (yup - that's $20 off). But, this offer is for a very limited time - until June 31, 2009, and is only being offered to our existing trial users.



Feeling special?

If this unique offer makes you feel special -- good! You are.



So how do I do it? -- Click on buy and enter Coupon Code PLAYON1999. This coupon is valid from now until June 31, 2009 at 11:59pm EST.

http://www.themediamall.com/playon
Oh well it cost me $40 its worth it.

Numus
2009-07-05, 01:28
I tried Tversity.. it will allow you to stream HULU but it only seems to be things on your queue.. Anyway have any information if it works like PlayON or do i just need to shell out the cash..

nithos
2009-07-08, 16:31
PLayon +XBoX w/XBMC = Hulu & NetFilX
:)

If only I could get it to work consistantly.

daerid
2009-07-09, 20:22
There is no working hulu plugin for XBMC or any standalone player right now... Hulu is keeping its content PC based browser.. such a shame cause i just turned in my cable boxes to comcast and gave them the 1 finger salute

Hulu works with PLEX. What is PLEX doing differently?

rwparris2
2009-07-09, 20:36
Hulu works with PLEX. What is PLEX doing differently?

They use safari... it is easier to make decisions like that when you only have one platform to worry about.

Gamester17
2009-07-09, 21:19
Hulu works with PLEX. What is PLEX doing differently?

They use safari... it is easier to make decisions like that when you only have one platform to worry about....and Plex's solution/workaround (their "Plex Media Server") is closed source code
http://en.wikipedia.org/wiki/Plexapp#Details

:rolleyes:

arosequi
2009-11-11, 19:01
...and Plex's solution/workaround (their "Plex Media Server") is closed source code
http://en.wikipedia.org/wiki/Plexapp#Details

:rolleyes:

Well, that sucks. :stare:

Is an integrated web browser against the main goals of XBMC, or has one just not been created for it yet? (in other words, is it a philosophical or a technical issue?)

I definitely could see the benefits of having an included WebKit/Gecko browser widget for plugins/scripts, but I could also see how people would be opposed to it.