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)



- BlueCop - 2012-02-05

japzone: you're right it is simple to just do it for non-english

it will append the 2 letter language code to the episode title. like (JA) for Japanese.

committed an update to do it. hopefully the xbmc feature will get merged so it can be done properly.

artrafael: it also includes the fix you posted. thanks.

anyway I went out of town with my girlfriend. she is glaring at me because I am typing on a computer right now. later.


- fordfan - 2012-02-05

I tried all kinds of methods to update librtmp. I finally googled librtmp0 version 2.4 for ubuntu and found one that worked. I can watch HULU and EpixHD.


- japzone - 2012-02-05

fordfan Wrote:I tried all kinds of methods to update librtmp. I finally googled librtmp0 version 2.4 for ubuntu and found one that worked. I can watch HULU and EpixHD.
You could of just updated it via the Ubuntu Repositories like I did :|


- japzone - 2012-02-05

BlueCop Wrote:japzone: you're right it is simple to just do it for non-english

it will append the 2 letter language code to the episode title. like (JA) for Japanese.

committed an update to do it. hopefully the xbmc feature will get merged so it can be done properly.

artrafael: it also includes the fix you posted. thanks.

anyway I went out of town with my girlfriend. she is glaring at me because I am typing on a computer right now. later.
Thanks a bunch Smile Works great, It now has a "(JA)" next to the Japanese Dubbed Videos and Normal English Dubbed videos are unaffected so people won't be annoyed by "(EN)" tags on all the Videos. Now the Hulu Addon is pretty much perfect for me. Thanks a ton BlueCop!

EDIT: Okay there's one bug, Searches don't have the Foreign Language Tag, so If I browse to a Show the Tags are displayed but when I do a Search the Tags are Missing. Don't know if this is under your control, just thought it'd be wise to let you know.


- fordfan - 2012-02-05

japzone Wrote:You could of just updated it via the Ubuntu Repositories like I did :|

Tried that and got nothing. I googled and read everything I could but nothing would work.


- japzone - 2012-02-05

fordfan Wrote:Tried that and got nothing. I googled and read everything I could but nothing would work.
Did you make sure the Universe Repository was enabled? That's where I found it, the Main Repository(Maintained by Canonical) only had v2.3 while the Universe Repo(Maintained by the Community) had v2.4.


Reinstall Failure - Metalz64 - 2012-02-05

Hi All

Running a ATV2 on XBMC Beta 2, after making numerous modifications to customize a skin to run the way I want it I found myself in need a of a clean install.

I have downloaded and added the latest repository and have added the Hulu library program addon in hopes that this may be tied to the issue but it still persists.

The problem is that every time I try to access the plugin I get a script failed error when trying to load up the initial menu. If you continuously try to launch the plugin it does get past the error but takes you to a blank screen.

I deleted the old log and after a reboot tried a couple times, exited and grabbed the new log:

http://pastebin.com/cxZ5TY2H

I have tried all the basic troubleshooting steps such as Default CDN, Ad rolls etc...no luck. Any advice or guidance would be greatly appreciated

Regards
~Metal~


- pkscout - 2012-02-05

Metalz64 Wrote:http://pastebin.com/cxZ5TY2H

I'm getting an error that the pastebin URL is invalid. Could you check it and/or upload it again?


- anthony.selby - 2012-02-05

I'm wondering if there is a way to send a command to the hulu plugin to play a certain video ?

I did a little work on the xbmc youtube chrome plugin and would love to add hulu support, but I don't know what I have to send to xbmc to make it play a video


- Metalz64 - 2012-02-05

Sorry bout that:

http://pastebin.com/TuNwcgec


- BlueCop - 2012-02-06

anthony.selby: That is cool I would definitely use that. I will try to detail the different ids used by the plug-in and their purpose.

There are 3 ids of importance now. content id, video id and eid(embedded id).

1. the content id is what is of importance for playing the video itself.

2. The video id is important for interacting with hulu services for your account like subscription, queue adding, and automatic queue removal. It is also used for knowing which ads to display if enabled.

3. the eid is used only for get the network per-roll only right now in the plugin. You can get extended information about the video with this though like the video_id and content_id. those are already available to us in the feeds though.

example videe url:
http://www.hulu.com/watch/326199/who-do-you-think-you-are-martin-sheen
would look like this when executing for playback.
Code:
plugin://plugin.video.hulu/?mode="TV_play"&url="60033752"&videoid="326199"&eid="Rv0t9GUe1XLExfPVjO2DRA"

the videoid is in the url of the video in between the "watch" and the canonical name.

the url variable is actually the content_id but I didn't rename it in the switch from using the actual url. The content id is part of the page itself as a flash variable. It is also a few other places

Code:
so.addVariable("content_id", 60033752);

the eid is also availble in the html source several places as links and flash variables. it is often found in url form like below.

Code:
http://www.hulu.com/embed/Rv0t9GUe1XLExfPVjO2DRA

I could make it check the url parameter if 'http://' is in it so you could just execute like below.

Code:
plugin://plugin.video.hulu/?mode="TV_play"&url=""

except with a url encoded version of the url and then have the plugin grabed the needed ids from the html source.

I could also do something where you just provide the eid and the plug-in gets the content and video id from the a feed I already use for network pre-roll.

sorry I will get back monday so will try to address pms and questions then. sorry...


- pkscout - 2012-02-06

Metalz64 Wrote:The problem is that every time I try to access the plugin I get a script failed error when trying to load up the initial menu. If you continuously try to launch the plugin it does get past the error but takes you to a blank screen.

I can see where it's choking on an XML file from Hulu, but when I download the XML file from the URL, it looks fine to me. You might try deleting the token.xml file and see if that helps any. It's in the plugin directory under resources/cache.

I noticed the log indicated that you have Hulu login disabled. I can still get the basic directory listing back even with my login turned off, but you should probably also (if you haven't already) go to the settings and under the Hulu Login section click on the Enable Login button and provide a valid username/password.

Also, if you aren't in the US, Hulu only works if you use something to get aroun the geolocking. The plugin has some basic settings in the plugin for proxies, but those of us in the US really can't help much with that. The success rate on that kind of stuff isn't incredibly high from what I can tell.


- fordfan - 2012-02-06

japzone Wrote:Did you make sure the Universe Repository was enabled? That's where I found it, the Main Repository(Maintained by Canonical) only had v2.3 while the Universe Repo(Maintained by the Community) had v2.4.

Yes. A dependency could not be meet and stopped.


- Metalz64 - 2012-02-06

Hi PK

Thank you for the reply and suggestion, currently the kids are streamin a movie but will try your suggestion as soon as they go off to bed.

I am in Canada but use a proxy service to get around the issue. I was using this plugin quite regularly before I had to do the reinstall and didn't have to supply a login or proxy to the plugin previously (proxy is set at the router level) unless something has changed either way Thanks again and I will report back

~Metal~


- Armitec - 2012-02-06

Hi Smile
First of all i have used the search on this site , but i oly find the same answers to my problem.. problem i have is that i cant but librtmp 2.4 in to my ATV1 i am now running Eden beta 2 i tryed to find a librtmp 2.4 for atv1 but all the links are dead Sad

I have tryed to put it in
ios: /Applications/XBMC.app/Frameworks

But it gives me errorcode 10 when i start and shutdown the xbmc i dident have log activated in xbmc so i have no log file to post here Sad