• 1
  • 117
  • 118
  • 119(current)
  • 120
  • 121
  • 128
[SUPPORT] Hulu Video Plugin
I believe the device code is simply proof that you are watching from a device that is licensed and sold as being Hulu capable out of the box. This ensures that they are able to watch for however long that license was good for. Correct me if I'm wrong.
Reply
For those just looking for a workaround, I have a way to use chrome-launcher from the Hulu plugin. First, make sure you have the Chrome Launcher plugin set up and working (http://forum.xbmc.org/showthread.php?tid=170965)

Then, with respect to the instructions here: http://pastebin.com/H0eYU4pq http://pastebin.com/xwGAmmrS , instead of pasting in this line like the instructions say:

Code:
finalUrl = 'http://www.hulu.com/stand_alone/%s' % (str(video_id))  # add this line - space align to the line below

Paste in this one:

Code:
finalUrl = 'plugin://plugin.program.chrome.launcher/?url=http%%3A%%2F%%2Fwww.hulu.com%%2Fstand_alone%%2F%s&mode=showSite&stopPlayback=no' % (str(video_id))  # add this line - space align to the line below

I didn't follow any of the other instructions in the original pastebin, just did this and it will launch Chrome Browser to the video chosen. Some caveats.
  • I've only tested on XBMCbuntu.
  • You aren't able to exit Chrome normally using this method, since Flash captures the keyboard. I end up having to right click, select "About Adobe Flash Player..." to get to a normal webpage, then close as normal with Ctrl+W.
  • I don't think this method works to remove items from your queue after watching.

It's not much better than just using Hulu in the browser, but it's a little easier for me on my HTPC. Hope it helps someone.

EDIT: Original pastebin had expired, reposted and changed URL.
Reply
(2014-04-03, 03:29)mattmartinolc Wrote: I believe the device code is simply proof that you are watching from a device that is licensed and sold as being Hulu capable out of the box. This ensures that they are able to watch for however long that license was good for. Correct me if I'm wrong.

I have no idea if you're right or wrong, though it sounds plausible, even likely.

The reason I mention it is that there clearly exists a method for a client to easily connect and authenticate to the Hulu service and stream video without requiring any code update. The device code is almost incidental to this. It would be great if the Hulu Video Plugin could do whatever it is that my (little FreeBSD running computer in the) TV does.
Reply
(2014-04-04, 02:23)Thav Wrote: For those just looking for a workaround, I have a way to use chrome-launcher from the Hulu plugin. First, make sure you have the Chrome Launcher plugin set up and working (http://forum.xbmc.org/showthread.php?tid=170965)

Then, with respect to the instructions here: http://pastebin.com/H0eYU4pq, instead of pasting in this line like the instructions say:

Code:
finalUrl = 'http://www.hulu.com/stand_alone/%s' % (str(video_id))  # add this line - space align to the line below

Paste in this one:

Code:
finalUrl = 'plugin://plugin.program.chrome.launcher/?url=http%%3A%%2F%%2Fwww.hulu.com%%2Fstand_alone%%2F%s&mode=showSite&stopPlayback=no' % (str(video_id))  # add this line - space align to the line below

I didn't follow any of the other instructions in the original pastebin, just did this and it will launch Chrome Browser to the video chosen. Some caveats.
  • I've only tested on XBMCbuntu.
  • You aren't able to exit Chrome normally using this method, since Flash captures the keyboard. I end up having to right click, select "About Adobe Flash Player..." to get to a normal webpage, then close as normal with Ctrl+W.
  • I don't think this method works to remove items from your queue after watching.

It's not much better than just using Hulu in the browser, but it's a little easier for me on my HTPC. Hope it helps someone.

Not a workaround - no chrome on xbox (the first generation) also no chrome on atv1. I'll wait patently hopefully we'll get this back.
Reply
@Thav, where did your pastebin go?
Reply
(2014-04-04, 02:57)AJCxZ0 Wrote: I have no idea if you're right or wrong, though it sounds plausible, even likely.

The reason I mention it is that there clearly exists a method for a client to easily connect and authenticate to the Hulu service and stream video without requiring any code update. The device code is almost incidental to this. It would be great if the Hulu Video Plugin could do whatever it is that my (little FreeBSD running computer in the) TV does.

The API that your tv is using to connect to hulu is not the same API that the hulu plugin uses. The hulu plugin was reverse-engineered from the Hulu Desktop program that they used to have, and basically got all the videos by pretending to be that program. The API your tv is using is almost definitely some closed-source thing that would have to be reverse engineered in the same way, but is probably a lot harder to do given that it runs on a tv and not a desktop.
Reply
(2014-04-04, 03:49)spanktastic2120 Wrote: The API your tv is using is almost definitely some closed-source thing that would have to be reverse engineered in the same way, but is probably a lot harder to do given that it runs on a tv and not a desktop.

This will sound hopelessly naive, but since Hulu makes its money from ads and subscriptions and therefore should want as many customers as possible, why can't "we" (whoever "we" may be) get a plugin from Hulu? Could it hurt to ask? Do we know who to ask?

If the answer is one of hiding secrets in binaries, then they have probably already done all the work for the other embedded Linux, BSD and other platforms, leaving just the glue parts (which must be easy since I don't know how).
Reply
(2014-04-04, 04:17)AJCxZ0 Wrote: This will sound hopelessly naive, but since Hulu makes its money from ads and subscriptions and therefore should want as many customers as possible, why can't "we" (whoever "we" may be) get a plugin from Hulu? Could it hurt to ask? Do we know who to ask?

If the answer is one of hiding secrets in binaries, then they have probably already done all the work for the other embedded Linux, BSD and other platforms, leaving just the glue parts (which must be easy since I don't know how).

Addons are written in python and have to be developed specifically for XBMC. Distributing python code without the source is kind of difficult, that is why all (at least every one ive seen) addons are distributed as source. If Hulu distributed an addon they made as source then users could easily remove the ads. They cant really distribute it closed source and have it work like other addons. Therefore i doubt they would have any interest in giving us an addon or API to use for their services. The only place to "ask" is a forum they have set up where people can request hulu apps for certain "platforms" like kindle or PS4. Last time i checked, no one had asked for XBMC support.
Reply
(2014-04-04, 03:36)vijayk416 Wrote: @Thav, where did your pastebin go?

Looks like it was an anonymous paste and had expired. Reposted here (http://pastebin.com/xwGAmmrS ) and will edit the original post. Thanks for the heads up!
Reply
@Thav it's gone again! Can you please try sending it to xbmclogs.com instead? It might stay up there longer.
Reply
http://pastebin.com/xwGAmmrS
// GitHub // Repository

// USTV VoD (Video-on-Demand) / World News Live / MRT Play
Reply
Thanks for that, moneymaker. I was sloppy and punctuation in the post got mixed up with the URL. Same thing happened with the original pastebin. It's still there, but my link to it had an extra comma.
Reply
(2014-04-04, 04:51)spanktastic2120 Wrote: Addons are written in python and have to be developed specifically for XBMC. Distributing python code without the source is kind of difficult, that is why all (at least every one ive seen) addons are distributed as source. If Hulu distributed an addon they made as source then users could easily remove the ads. They cant really distribute it closed source and have it work like other addons. Therefore i doubt they would have any interest in giving us an addon or API to use for their services. The only place to "ask" is a forum they have set up where people can request hulu apps for certain "platforms" like kindle or PS4. Last time i checked, no one had asked for XBMC support.

i've asked a couple of times... back when BlueCop first created this addon.
i don't think we're loud enough... we don't rank on their spectrum... we're like UV rays.
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
I am not able to get to this point on my Samsung Galaxy Note 3? Edit resources/lib/stream_hulu.py

Any help would be appreciated.
Reply
(2014-04-07, 04:33)droidman Wrote: I am not able to get to this point on my Samsung Galaxy Note 3? Edit resources/lib/stream_hulu.py

Any help would be appreciated.

why would you even want to do it this way on your phoneHuh
just curious. all it's doing is opening chrome browser... why not just download the app at this point.
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
  • 1
  • 117
  • 118
  • 119(current)
  • 120
  • 121
  • 128

Logout Mark Read Team Forum Stats Members Help
[SUPPORT] Hulu Video Plugin17