Kodi Community Forum

Full Version: [RELEASE] Hulu (Video) Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
rwparris2 Wrote: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.
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?
steak32 Wrote: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...
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.
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]
mcavity5 Wrote: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.
rwparris2 Wrote: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
Code:
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%252Fpopular%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_family_guy.jpg"&plot="Yo+ho+ho%21+Its+a+pirates+life+for+Peter+when+he+gets+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%252Fpopular%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_family_guy.jpg"&plot="Yo+ho+ho%21+Its+a+pirates+life+for+Peter+when+he+gets+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

Code:
$ 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
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
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.
huval1 Wrote: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://trac.xbmc.org/ticket/6001
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. Smile
fedorafitz Wrote: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.)
Hi, I'm running into the same issue as jonm42, almost exactly line for line. Anyone have ideas?
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$
see http://forum.xbmc.org/showpost.php?p=287...tcount=654 for how to confirm gnash is ok...