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)



RE: [SUPPORT] Hulu Video Plugin - sasagr - 2014-01-20

(2014-01-20, 11:37)spanktastic2120 Wrote: If you have a "smartDNS" thing that lets you access geo-restricted content then why are you bothering with realdebrid? If you turn off the "smartDNS" does realdebrid work through the hulu plugin? Likewise if you turn off realdebrid in hulu does just the "smartDNS" let you access hulu content?

All i can tell from your log is what i said already, that for whatever reason realdebrid is returning a 404 to you.

let's forget the smartDNS that I use also for other contents. I disabled it and still the Hulu does not work.
I do not have an Hulu account so I cannot try it without RD.

On question from me... Are you running Hulu with RD account or as Hulu (or plus) account only?


RE: [SUPPORT] Hulu Video Plugin - spanktastic2120 - 2014-01-20

(2014-01-20, 11:46)sasagr Wrote:
(2014-01-20, 11:37)spanktastic2120 Wrote: If you have a "smartDNS" thing that lets you access geo-restricted content then why are you bothering with realdebrid? If you turn off the "smartDNS" does realdebrid work through the hulu plugin? Likewise if you turn off realdebrid in hulu does just the "smartDNS" let you access hulu content?

All i can tell from your log is what i said already, that for whatever reason realdebrid is returning a 404 to you.

let's forget the smartDNS that I use also for other contents. I disabled it and still the Hulu does not work.
I do not have an Hulu account so I cannot try it without RD.

On question from me... Are you running Hulu with RD account or as Hulu (or plus) account only?

You should be able to make a hulu account using a proxy or the smartDNS thing, but it wont fix the realdebrid error youre getting.

I dont have realdebrid so i cant really diagnose your issue. I can tell you that the addon is getting as far as trying to log in to realdebrid and being greeted with a 404.


RE: [SUPPORT] Hulu Video Plugin - sasagr - 2014-01-20

Well... my RD account is valid and the user and password are correct.

In this case, unless somebody else with RD account has the plugin working, I would say that the RD part is broken.

If I m not mistakes Voinage built it into the bluecop original.


RE: [SUPPORT] Hulu Video Plugin - spanktastic2120 - 2014-01-20

(2014-01-20, 12:11)sasagr Wrote: Well... my RD account is valid and the user and password are correct.

In this case, unless somebody else with RD account has the plugin working, I would say that the RD part is broken.

If I m not mistakes Voinage built it into the bluecop original.

If you compare the log in this post http://forum.xbmc.org/showthread.php?tid=121023&pid=1596794#pid1596794 versus yours you can see that it does not get as far when you run it.

other log:
Code:
20:58:34 T:5204  NOTICE: HULU--> common.args.mode -- > TV_play
20:58:34 T:5204  NOTICE: DebridRoutines - Requesting URL: http://real-debrid.com/lib/api/account.php
20:58:34 T:5204  NOTICE: {"error":0,"message":"OK","cookie":"auth=u2e45333446463f4q2740333y2h5239403d443634474f4g454743303w264e4c4t284d443b4k5e4g494c4c483w2a413f4q2d4f4y274h51394y2641944; ","captcha":0,"pin":0}
20:58:34 T:5204  NOTICE: notice here:http://www.hulu.com/watch/380754
20:58:34 T:5204  NOTICE: DebridRoutines - Resolving url: http://www.hulu.com/watch/380754
20:58:34 T:5204  NOTICE: DebridRoutines - Requesting URL: http://www.real-debrid.com/ajax/unrestrict.php?link=http://www.hulu.com/watch/380754
20:58:35 T:5204  NOTICE: DebridRoutines - Returned Source: {"error":2,"message":"Upgrade your account now to generate a link"}
20:58:35 T:5204   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'NoneType' object has no attribute 'group'

your log:
Code:
14:00:54 T:2953924608  NOTICE: HULU--> common.args.mode -- > TV_play
14:00:54 T:2953924608  NOTICE: DebridRoutines - Requesting URL: http://real-debrid.com/lib/api/account.php
14:00:54 T:2688385448    INFO: CheckIdle - Closing session to http://feeds.feedburner.com (easy=0x44f9a00, multi=0xdf920d0)
14:00:55 T:2953924608   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.HTTPError'>
                                            Error Contents: HTTP Error 404: Not Found

in the first log it requests the login page, then sends its credentials, then gets rejected because the credentials arent for a premium account.
in your log it requests the login page, and gets a 404. the problem exists somewhere between your computer and the realdebrid login page.


RE: [SUPPORT] Hulu Video Plugin - moneymaker - 2014-01-20

Replace the following files:

- plugin.video.hulu/resources/lib/debridroutines.py
- plugin.video.hulu/resources/lib/stream_debrid.py

and give it a try.


RE: [SUPPORT] Hulu Video Plugin - sasagr - 2014-01-20

(2014-01-20, 12:37)moneymaker Wrote: Replace the following files:

- plugin.video.hulu/resources/lib/debridroutines.py
- plugin.video.hulu/resources/lib/stream_debrid.py

and give it a try.

Great Moneymaker... a pleasure to talk to you again after long time!

Working great now with RD!

pls be sure these changes go in the next Hulu beta release and then official in xbmcplus repo

Thanks to spantastick as well for all his efforts!


RE: [SUPPORT] Hulu Video Plugin - JustinBeaird - 2014-01-21

any way to auto select video quality? i am always getting asked to select quality/cdm even tho it is set in settings


RE: [SUPPORT] Hulu Video Plugin - tknorris - 2014-01-21

(2014-01-21, 07:21)JustinBeaird Wrote: any way to auto select video quality? i am always getting asked to select quality/cdm even tho it is set in settings

This just started happening to me also as of a few minutes ago. Not sure what's going on exactly. It does seem to work ok though when you select a quality.

Edit: I think what's happened here is the CDN names have changed and it can't match the settings any more so it's prompting instead.

2nd Edit: An easy work around for now is to choose level3 as your Default CDN. The name of that CDN didn't change so it still works as a default.

If you want to fix it for the other CDNs it's a little more complex. The CDN values in common.py, strings.xml, and settings.xml need to be added/changed to match what's now in the Hulu SMIL. There are now 4 possible values for CDNs: level3, darwin-akamai, darwin-level3, and darwin-limelight

If you want to keep it simple though until MoneyMaker does a full update you can just change line 89 in resources/lib/common.py to:
Code:
cdns = ['level3','darwin-limelight','darwin-akamai']



RE: [SUPPORT] Hulu Video Plugin - locomot1f - 2014-01-21

@tknorris -- thanks, that seemed to do the trick.

looks like there might be more options of playback quality!


RE: [SUPPORT] Hulu Video Plugin - sasagr - 2014-01-23

(2014-01-20, 12:37)moneymaker Wrote: Replace the following files:

- plugin.video.hulu/resources/lib/debridroutines.py
- plugin.video.hulu/resources/lib/stream_debrid.py

and give it a try.

when the next release to include also the above fix?


RE: [SUPPORT] Hulu Video Plugin - ahouston - 2014-01-23

I'm getting the script throwing an exception, installed plugin.video.hulu-beta version 3.4.9.7 on XBMC (12.3 Git:9ed3e58) if that helps.

The full log file is here: http://pastebin.com/RwbbyDxV

...but here is the excerpt of where it's breaking:

Code:
start of HULU plugin
20:40:14 T:139792628815616  NOTICE: HULU--> common.args.mode -- > TV_play
20:40:15 T:139792628815616  NOTICE: HULU --> Posted view
20:40:15 T:139792628815616   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: _Info instance has no attribute 'eid'
                                            Traceback (most recent call last):
                                              File "/home/ahouston/.xbmc/addons/plugin.video.hulu-beta/default.py", line 61, in <module>
                                                modes ( )
                                              File "/home/ahouston/.xbmc/addons/plugin.video.hulu-beta/default.py", line 42, in modes
                                                stream_media.Main()
                                              File "/home/ahouston/.xbmc/addons/plugin.video.hulu-beta/resources/lib/stream_hulu.py", line 73, in __init__
                                                self.NetworkPreroll()
                                              File "/home/ahouston/.xbmc/addons/plugin.video.hulu-beta/resources/lib/stream_hulu.py", line 228, in NetworkPreroll
                                                url = 'http://r.hulu.com/videos?eid='+common.args.eid+'&include=video_assets&include_eos=1&_language=en&_package_group_id=1&_region=US'
                                            AttributeError: _Info instance has no attribute 'eid'
                                            -->End of Python script error report<--
20:40:15 T:139792987248576   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.hulu-beta/?url="60328761"&mode="TV_play"&videoid="584615"]
20:40:15 T:139792987248576 WARNING: Attempt to set unplayable index 0

Any help would be greatly appreciated!


RE: [SUPPORT] Hulu Video Plugin - moneymaker - 2014-01-23

@sasagr

RD fix? Sure. The CDN Quality issue? I hope so.

@ahouston

Please be sure the addon is configured as below:

# Select "akamai" for the Default CDN
# Uncheck "Network Pre-roll".
# Set Pre-Roll ads and Trailing ads to 0.
# Uncheck "Enable Commercial breaks".
# be sure Proxy is Unchecked. (only U.S.)


RE: [SUPPORT] Hulu Video Plugin - ahouston - 2014-01-23

(2014-01-23, 18:44)moneymaker Wrote: @ahouston

Please be sure the addon is configured as below:

# Select "akamai" for the Default CDN
# Uncheck "Network Pre-roll".
# Set Pre-Roll ads and Trailing ads to 0.
# Uncheck "Enable Commercial breaks".
# be sure Proxy is Unchecked. (only U.S.)

This resolved it - just as an aside, I left the proxy enabled to 127.0.0.1 as my XBMC box has squid forwarding all Hulu URLs to my US based server and then out, worked just fine with this setup.

Thanks for the quick response and resolution!


[SUPPORT] Hulu Video Plugin - sasagr - 2014-01-25

@moneymaker

For me it is all working well. Hope to see an update soon. So no need to make manual fix.


RE: [SUPPORT] Hulu Video Plugin - bioalb - 2014-01-25

Hello,

is the hulu plugin supposed to work using VPN connections?
I am outside the US and subscribed a VPN service.

I am able to establish the VPN connection and everything works. On the same connection, Hulu works on my desktop computer.
But my XBMC (openelec) Hulu plugin throws a timeout error whenever I start a stream:

Code:
15:17:14 T:140254136743680  NOTICE: HULU--> common.args.mode -- > TV_play
15:17:14 T:140254136743680  NOTICE: HULU --> SMILURL: http://s.hulu.com/select?vp=1&ep=1&device_id=F896FC8162ED3B2AF74010A6989A2F64&pp=Desktop&language=en&region=US&video_id=60328581&ts=1390605434&v=888324234&np=1&dp_id=Hulu&enable_fa=1&bcs=3a917f057de18a5400d45844e5478a07
15:17:14 T:140254136743680  NOTICE: HULU --> common :: getFEED :: url = http://s.hulu.com/select?vp=1&ep=1&device_id=F896FC8162ED3B2AF74010A6989A2F64&pp=Desktop&language=en&region=US&video_id=60328581&ts=1390605434&v=888324234&np=1&dp_id=Hulu&enable_fa=1&bcs=3a917f057de18a5400d45844e5478a07
15:17:34 T:140254136743680  NOTICE: Error reason:
15:17:34 T:140254136743680  NOTICE: <urlopen error timed out>
15:17:34 T:140255247918912   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.hulu-beta/?url="60328581"&mode="TV_play"&videoid="584559"&eid="T9OAfpblpYrrzstbXLhvhw"]

Both official and beta version have the same behaviour. Note that everything was working fine using a DNS tunnelling service (tunlr). Unfortunately, I am not able to use that service any longer (for various reasons) and was forced to use a VPN.

Any idea or help is much appreciated.