[RELEASE] Hulu (Video) Plugin for XBMC

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
rupert Offline
Junior Member
Posts: 49
Joined: Dec 2004
Reputation: 0
Location: 20 Minutes into the future
Post: #671
rectalogic Wrote:First check the xbmc logs for anything interesting.

Second, check if your gnash is able to decode a sample pid directly:

Per the logs: Nothing screams to me "I'm the issue" . Seems to be rather chatty about ThumbsShaddow2.png for some reason, I've searched and this file doesn't exist on my machine... root cause or red haring?

http://pastebin.com/m52598676


Per the decoding: seems to work
Code:
pruper1@main:~$ gnash --render-mode 0 --once --verbose --param FlashVars=pid=dd4e9942974869f0cac12ab9ce815da9af6f8486a433a84bda842dae193457f9~1​6aa98d95559f7db192bb69972ffc6578e87c22f6bc8eafc8a4c76b924b9800f ~/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf
RcInitFile: couldn't open file: /usr/etc/gnashrc
RcInitFile: couldn't open file: /home/pruper1/.gnashrc
18914:3059837680] 09:18:25 SECURITY: Checking security of URL 'file:///home/pruper1/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf'
18914:3059837680] 09:18:25 SECURITY: Load of file /home/pruper1/.xbmc/plugins/video/Hulu/resources/lib/DecryptPid.swf granted (under local sandbox /home/pruper1/.xbmc/plugins/video/Hulu/resources/lib/)
18914:3059837680] 09:18:25 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
18914:3059837680] 09:18:25 SECURITY: Checking security of URL 'http://www.hulu.com/sec.swf'
18914:3059837680] 09:18:25 SECURITY: Load from host www.hulu.com granted (default)
18914:3059837680] 09:18:25 UNIMPLEMENTED: SWF9 is not fully supported, trying anyway but don't expect it to work
18914:3048209296] 09:18:25 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
18914:3059837680] 09:18:26 UNIMPLEMENTED: System.security.allowDomain
18914:3059837680] 09:18:26 TRACE: hulupid=mr9JdoQ0hSohpA6czVzNb8sjtx5ZZW5_

What I get from gnash --version if it's helpfull

Code:
pruper1@main:~$ gnash --version
RcInitFile: couldn't open file: /usr/etc/gnashrc
RcInitFile: couldn't open file: /home/pruper1/.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: CFLAGS=-Wall -g -Werror-implicit-function-declaration -Os CXXFLAGS=-Wall -g -Werror-implicit-function-declaration -Os --host=i486-linux-gnu --build=i486-linux-gnu --prefix=/usr --mandir=/share/man --infodir=/share/info --enable-plugin --enable-gui=gtk --enable-cygnal --enable-gstreamer --enable-media=gst --enable-renderer=agg --with-npapi-plugindir=/lib/gnash --with-kde-pluginprefix= --enable-shared=yes --enable-sdk-install --without-swfdec-testsuite --disable-rpath --enable-lotsa-warnings --without-gcc-arch --without-ming
   CXXFLAGS: -Wall -g -Werror-implicit-function-declaration -Os -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

-Rupert
find
rectalogic Offline
Junior Member
Posts: 30
Joined: Feb 2009
Reputation: 0
Post: #672
rupert Wrote:http://pastebin.com/m52598676

Everything is working and it's decrypting the pid and extracting the rtmp URL and connecting to it, but the FMS server is rejecting it with NetConnection.Connect.Rejected, [ AccessManager.Reject ] : Access denied!

What version of XBMC? It at least needs to have this patch incorporated:
http://trac.xbmc.org/ticket/5159
find
rupert Offline
Junior Member
Posts: 49
Joined: Dec 2004
Reputation: 0
Location: 20 Minutes into the future
Post: #673
rectalogic Wrote:Everything is working and it's decrypting the pid and extracting the rtmp URL and connecting to it, but the FMS server is rejecting it with NetConnection.Connect.Rejected, [ AccessManager.Reject ] : Access denied!

What version of XBMC? It at least needs to have this patch incorporated:
http://trac.xbmc.org/ticket/5159

AHA!

Yeah, likely my issue thanks for helping anyway (I suspected it was stupid user error). I'm running the 8.10 release, not any of the SVN builds since... The version listed is SVN:16164 (Nov 14 2008)... that ticket says it was added 16205...either I gotta man up & use a pre-release or just wait 2 months ;-)

Congrats on the updated plugin though, keep up the great work... Here's hoping Hulu wises up & stops fighting it's users.
-Rupert
find
mr.b Offline
Senior Member
Posts: 165
Joined: May 2007
Reputation: 0
Post: #674
Dick-Perry Wrote:does the dirty plugin work on xbmc (xbox1 oder winxp) from outside of the usa at the moment? i installed the plugin but when i choose a movie or episode nothing happens

not going to work outside the US
find
mique Offline
Senior Member
Posts: 102
Joined: Jan 2005
Reputation: 0
Post: #675
I have been following this thread for quite some time and now am a little lost! I use xbox1 with xbmc, latest svn. Can we xbox/xbmc users use a plugin to get HULU to work now, after all the hard work that has been done, I just can not find that answer. If we can is there a quick guide on where the plugin is and if we need anything else to get it to work?
Sorry if it is obvious and I missed it and thanks to all who help sort this out.
One last comment, I think HULU would not fight us if the adverts we not removed when viewing! that is how they make there money.
find
NPerez Offline
Junior Member
Posts: 8
Joined: Feb 2009
Reputation: 0
Post: #676
mique Wrote:I have been following this thread for quite some time and now am a little lost! I use xbox1 with xbmc, latest svn. Can we xbox/xbmc users use a plugin to get HULU to work now, after all the hard work that has been done, I just can not find that answer. If we can is there a quick guide on where the plugin is and if we need anything else to get it to work?
Sorry if it is obvious and I missed it and thanks to all who help sort this out.
One last comment, I think HULU would not fight us if the adverts we not removed when viewing! that is how they make there money.

Correct me if I'm wrong, anyone - I don't think there's a way to view Hulu on XBox right now, because the latest working plugin uses Gnash which won't run on an XBox.

If Hulu offered to support an ads-enabled plugin, I think a lot of people would be extremely open to it. Hasn't happened though. The opposite has happened.

I honestly think that Hulu is in trouble - obviously the media execs thought that putting media on the web would only enable people to view it on their computer screens. That's clearly not the case, and to their dismay we're doing whatever the hell we want with it, and always will. I wonder if they'll put up with that, since it poses a threat to their outdated, inferior, dying business model that they love so much.
(This post was last modified: 2009-02-22 20:10 by NPerez.)
find
hrcolb0 Offline
Member
Posts: 61
Joined: Jan 2009
Reputation: 0
Post: #677
for xbox you can try d4rk's plugin for fancast. It will play hulu and cbs content, no abc or cw right now. I am working on making the show navigation better.
find
hott198 Offline
Junior Member
Posts: 16
Joined: May 2005
Reputation: 0
Post: #678
with all the plugins in this thread can we get a direct link to d4arks
find
NPerez Offline
Junior Member
Posts: 8
Joined: Feb 2009
Reputation: 0
Post: #679
I'm not sure if this is the same plugin that you guys are referring to, but this is Rectalogic's Fancast plugin that he linked to today:

http://github.com/rectalogic/xbmc-fancas...ree/master
find
hrcolb0 Offline
Member
Posts: 61
Joined: Jan 2009
Reputation: 0
Post: #680
my bad. it was rectalogic's. Sorry to all those affected.
find
Thread Closed