Kodi Community Forum
[SUPPORT] Hulu Video Plugin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [SUPPORT] Hulu Video Plugin (/showthread.php?tid=121023)



- pkscout - 2012-02-11

pro510 Wrote:Great plug-in - thanks.

One issue I have found is that if you have the XBMC option set to pause playback on display change, this seems to screw up the first few seconds of the hulu video. In some cases the video attempts to play for a few seconds then seems to give up and return you back to the menu.

If you are using Dharma then that will be the case. There was a bug in Dharma (fixed in Eden) that caused any streaming playback to fail if you pause it for any reason.


- unplug - 2012-02-11

kinda new to this...
Using this on my APT2 in canada (hopefully i can still use it )

i keep getting the following error

" SMIL did not contain video links
Geo-Blocked"

and when i click "Ok" i get the following

"one or more items failed to play.
Check the log file for details"

any help would b appreciated, and anywere i can donate to blue? (wont be alot since im not rich, but i appreciate the effort)


- teefer22 - 2012-02-11

unplug Wrote:kinda new to this...
Using this on my APT2 in canada (hopefully i can still use it )

i keep getting the following error

" SMIL did not contain video links
Geo-Blocked"

and when i click "Ok" i get the following

"one or more items failed to play.
Check the log file for details"

any help would b appreciated, and anywere i can donate to blue? (wont be alot since im not rich, but i appreciate the effort)

I'm in Canada also. I'm assuming you were using the proxy setting in the plugin. I was super pumped when I got this to work and for about 2 weeks it worked great. Then suddenly it stopped working. When I looked in the xbmc.log file, I found this:

NOTICE: <error type="anonymous_proxy"><![CDATA[Based on your IP address, we noticed you are trying to access Hulu through an anonymous proxy tool. Hulu is not currently available outside the U.S. If you're in the U.S., you'll need to disable your anonymizer to access videos on Hulu.<br/><br/>If you think you're receiving this message in error, please submit <a href="http://www.hulu.com/support/geofilter_form"><u>this form</u></a>.]]></error>

I tried about 3 different proxy's and all of them gave the same message. So either I have really bad luck with my proxy's or Hulu has figured out a way to detect that we were coming in through a proxy.

It was cool while it worked and the quality was great.


- JimboJumbo - 2012-02-11

locomot1f Wrote:@ JimboJumbo,

it appears that you are not getting logged in.
there should be a pop-up telling you if you are getting logged in.

somewhere in the forum there is a post on resetting the login settings.
You might try deleting the token.xml file

Found that and seems to work sometimes, sorta helps if I restart XBMC.

Forgot to mention I'm not in the US and am using a proxy to access (unblock-us) but Hulu still works via the web interface. Although in reading the other posts looks as though Hulu are actively trying to block proxy services.


- pro510 - 2012-02-11

pkscuot Wrote:If you are using Dharma then that will be the case. There was a bug in Dharma (fixed in Eden) that caused any streaming playback to fail if you pause it for any reason.

I am getting the issue in Eden Beta 2


Crashing When Starting A Stream - JonnyBoy333 - 2012-02-12

I'm having a problem where xbmc crashes altogether and boots me back to my apple tv homepage every time I try to play a movie through the hulu plugin. I've tried messing with the streaming quality in the plugin's configuration but nothing seems to help. Any ideas?


- pkscout - 2012-02-12

JonnyBoy333 Wrote:I'm having a problem where xbmc crashes altogether and boots me back to my apple tv homepage every time I try to play a movie through the hulu plugin. I've tried messing with the streaming quality in the plugin's configuration but nothing seems to help. Any ideas?

Post a debug log. There is zero we can do to help without it.


- sprale - 2012-02-12

thenovelty Wrote:Updating to Eden beta 2 will update the librtmp on Lion.

Eden Beta 2 took care of the Hulu issue for me. Now I just have to get the Netflix plugin working...


- JonnyBoy333 - 2012-02-12

pkscuot Wrote:Post a debug log. There is zero we can do to help without it.

Any idea how to find that log on an Apple TV? I can SSH into it but I don't know where the file is located.

Edit: Found it.

Debug Log
Code:
10:28:56 T:111140864  NOTICE: -----------------------------------------------------------------------
10:28:56 T:111140864  NOTICE: Starting XBMC (11.0-BETA3 Git:20120207-1fef727), Platform: Darwin iOS (11.0.0 AppleTV2,1, Version 5.0.1 (Build 9A406a)). Built on Feb  8 2012
10:28:56 T:111140864  NOTICE: special://xbmc/ is mapped to: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome
10:28:56 T:111140864  NOTICE: special://xbmcbin/ is mapped to: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome
10:28:56 T:111140864  NOTICE: special://masterprofile/ is mapped to: /var/mobile/Library/Preferences/XBMC/userdata
10:28:56 T:111140864  NOTICE: special://home/ is mapped to: /var/mobile/Library/Preferences/XBMC
10:28:56 T:111140864  NOTICE: special://temp/ is mapped to: /var/mobile/Library/Preferences/XBMC/temp
10:28:56 T:111140864  NOTICE: special://frameworks/ is mapped to: /var/stash/Applications/XBMC.frappliance/Frameworks
10:28:56 T:111140864  NOTICE: The executable running is: /var/stash/Applications/XBMC.frappliance/XBMC
10:28:56 T:111140864  NOTICE: Local hostname: Apple-TV
10:28:56 T:111140864  NOTICE: Log File is located: /var/mobile/Library/Preferences/xbmc.log
10:28:56 T:111140864  NOTICE: -----------------------------------------------------------------------
10:28:56 T:111140864  NOTICE: load settings...
10:28:56 T:111140864  NOTICE: special://profile/ is mapped to: special://masterprofile/
10:28:56 T:111140864  NOTICE: loading special://masterprofile/guisettings.xml
10:28:56 T:111140864  NOTICE: Getting hardware information now...
10:28:56 T:111140864    INFO: Using analog output
10:28:56 T:111140864    INFO: AC3 pass through is disabled
10:28:56 T:111140864    INFO: DTS pass through is disabled
10:28:56 T:111140864    INFO: AAC pass through is disabled
10:28:56 T:111140864    INFO: MP1 pass through is disabled
10:28:56 T:111140864    INFO: MP2 pass through is disabled
10:28:56 T:111140864    INFO: MP3 pass through is disabled
10:28:56 T:111140864   DEBUG: Error: Requested setting (videoscreen.screenmode) was not found.  It must be case-sensitive
10:28:56 T:111140864  NOTICE: Checking resolution 12
10:28:56 T:111140864  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
10:28:56 T:111140864   DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
10:28:56 T:111140864   DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
10:28:56 T:111140864   DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtv
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: hdhomerun/myth/rtmp/mms/udp
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: flv/aacp/sdp
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdfile
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
10:28:56 T:111140864   DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
10:28:56 T:111140864  NOTICE: Loaded playercorefactory configuration
10:28:56 T:111140864  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
10:28:56 T:111140864  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
10:28:56 T:111140864  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
10:28:56 T:111140864  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
10:28:56 T:111140864  NOTICE: Default DVD Player: dvdplayer
10:28:56 T:111140864  NOTICE: Default Video Player: dvdplayer
10:28:56 T:111140864  NOTICE: Default Audio Player: paplayer
10:28:56 T:111140864  NOTICE: Disabled debug logging due to GUI setting. Level 0.
10:28:56 T:111140864  NOTICE: Log level changed to 0
10:28:56 T:111140864  NOTICE: Loading media sources from special://masterprofile/sources.xml
10:28:57 T:111140864  NOTICE: GL_VENDOR = Imagination Technologies
10:28:57 T:111140864  NOTICE: GL_RENDERER = PowerVR SGX 535
10:28:57 T:111140864  NOTICE: GL_VERSION = OpenGL ES 2.0 IMGSGX535-63.14.2
10:28:57 T:111140864  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.0
10:28:57 T:111140864  NOTICE: GL_EXTENSIONS = GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_IMG_read_format GL_IMG_texture_compression_pvrtc
10:28:58 T:111140864  NOTICE: initializing playlistplayer
10:28:58 T:111140864  NOTICE: DONE initializing playlistplayer
10:29:02 T:111140864   ERROR: ADDON: extension 'downloader/' is not currently supported for service addon
10:29:02 T:805302272  NOTICE: -->Python Interpreter Initialized<--
10:29:02 T:120590336  NOTICE: -->Python Interpreter Initialized<--
10:29:02 T:111140864   ERROR: ADDON: extension 'downloader/' is not currently supported for service addon
10:29:02 T:111140864  NOTICE: initialize done
10:29:02 T:111140864  NOTICE: Running the application...
10:29:03 T:111140864  NOTICE: ES: Starting event server
10:29:03 T:127459328  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
10:29:03 T:127459328  NOTICE: UDP: Listening on port 9777
10:29:03 T:111140864  NOTICE: starting zeroconf publishing
10:29:04 T:805302272  NOTICE:  StorageServer Module loaded RUN(instance only)
10:29:04 T:805302272  NOTICE: StorageClient-0.9.1 Starting server
10:29:05 T:130211840  NOTICE: -->Python Interpreter Initialized<--
10:29:06 T:805302272  NOTICE: Artwork Downloader: ## Service - Run at startup: False
10:29:06 T:805302272  NOTICE: Artwork Downloader: ## Service - Delayed startup: -- minutes
10:29:06 T:805302272  NOTICE: Artwork Downloader: ## Service - Run as service: False
10:29:06 T:805302272  NOTICE: Artwork Downloader: ## Service - Time: 00:00
10:29:06 T:128524288   ERROR: ADDON: extension '' is not currently supported for service addon
10:29:06 T:121647104  NOTICE: -->Python Interpreter Initialized<--
10:29:12 T:128524288   ERROR: ADDON: extension 'downloader/' is not currently supported for service addon



- locomot1f - 2012-02-12

@ JonnyBoy333


Your problem is with Artwork Downloader. Not sure what's happening...
it's not HULU though.
HULU doesn't even get intialized.


- JonnyBoy333 - 2012-02-13

@locomot1f

Looks like the problem was actually caused by the theme I was using (Aeon), which was running my Apple TV out of memory when hulu launched a stream. Switching back to Confluence made everything run smooth. Hopefully that was the Artwork Downloader problem and I don't have some other problem to worry about too Smile.


- locomot1f - 2012-02-13

@ JonnyBoy333

i know this is out of topic...
some themes i suggest: Rapier (my fav), Metropolis, ReFocus, and Quartz.
very light on the ATV 2, and still packed with options.


Shortcut to Subscriptions or any other Hulu Page - adamomg - 2012-02-15

I am using Dharma. I set up a shortcut to the subscriptions page and the script fails due to invalid syntax. Is there a way around this?

Code:
start of HULU plugin
18:46:29 T:2264 M:2670055424  NOTICE: HULU--> no mode has been defined
18:46:29 T:2264 M:2670051328  NOTICE: HULU --> common :: getFEED :: url = http://m.hulu.com/menu/hd_main_menu?show_id=0&dp_id=huludesktop&package_id=2&page=1
18:46:43 T:1308 M:2676404224  NOTICE: -->Python Interpreter Initialized<--
18:46:43 T:1308 M:2672275456   ERROR: Error Type: exceptions.SyntaxError
18:46:43 T:1308 M:2672275456   ERROR: Error Contents: ('invalid syntax', (None, 1, 22, 'args = _Info(url=http://m.hulu.com/menu/hd_user_subscriptions, mode=Subscriptions, name=Subscriptions, art=, fanart=, page=1, perpage=2000, popular=false, updatelisting=false)'))
18:46:43 T:1308 M:2672254976   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Boxee\AppData\Roaming\XBMC\addons\plugin.video.hulu\default.py", line 12, in ?
                                                import resources.lib.common as common
                                              File "C:\Users\Boxee\AppData\Roaming\XBMC\addons\plugin.video.hulu\resources\lib\common.py", line 32, in ?
                                                exec "args = _Info(%s)" % (urllib.unquote_plus(sys.argv[2][1:].replace("&", ", ").replace('"','\'').replace('%5C', '%5C%5C')), )
                                              File "<string>", line 1
                                                args = _Info(url=http://m.hulu.com/menu/hd_user_subscriptions, mode=Subscriptions, name=Subscriptions, art=, fanart=, page=1, perpage=2000, popular=false, updatelisting=false)
                                                                     ^
                                            SyntaxError: invalid syntax
18:46:43 T:4052 M:2672238592   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.hulu/?url=http%3A%2F%2Fm.hulu.com%2Fmenu%2Fhd_user_subscriptions&mode=Subscriptions&name=Subscriptions&art=&fanart=&page=1&perpage=2000&popular=false&updatelisting=false
18:46:43 T:4052 M:2672238592   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.hulu/?url=http%3A%2F%2Fm.hulu.com%2Fmenu%2Fhd_user_subscriptions&mode=Subscriptions&name=Subscriptions&art=&fanart=&page=1&perpage=2000&popular=false&updatelisting=false) failed

The first Hulu entry is successfully launching the Hulu plugin to make sure its working. The second is launching from the shortcut to Subscriptions I placed on the homescreen.


- BlueCop - 2012-02-16

adamomg: xbmc is unquoting the parameters when adding to favorites. I submitted a bug report before about this and I thought it was fixed a long while ago. I don't really use favorites so haven't tried. You might try an Eden beta. It is a bug in xbmc so though you would have to compile to fix for dharma if you want a fix for it.

locomot1f: thanks for the support. I am working on your library problems. It should be a big update with several new options.

I am adding exporting popular episodes and movies. I am thinking of adding a popular shows as well. You will be able to customize the number of top entries you want exported.

There is an option to customize the suffix for the hulu exports.

Would anyone like any other options? I was thinking of adding an option to export all the full episodes or full movies available. I wouldn't want to enable an auto update option for these though.

I am to adding a small database for handling expiration. I think it is just easier to do that way.

there are too many problems with trying to make this more private. it will just remain the way it is. public and free. thanks for all the supportive people. if you want to donate then I suggest you donate to XBMC. I am going to suggest you attach a couple ticket numbers if you do.

http://trac.xbmc.org/ticket/8982
and
http://trac.xbmc.org/ticket/9952

They would both improve plug-in integration in XBMC immensely.


- kreeturez - 2012-02-16

BlueCop Wrote:it will just remain the way it is. public and free. thanks for all the supportive people. if you want to donate then I suggest you donate to XBMC.

The best news I've heard all week. Thanks for sharing your endless hours of work - and for putting up with the occasional moron among our forums, BlueCop!

Donation time, indeed!