PDA

View Full Version : [REQUEST] Hulu (hulu.com) plugin or script


Chronusdark
2007-11-27, 01:12
i dont know if anyone has seen this yet but it looks awesome

flash based but its in closed beta right now

someone really needs to make a plugin for this

Chronusdark
2007-12-08, 19:51
as anyone even looked at this site... i just got my beta invite and its really neat it has lots of shows that are on and off air
heres the list incase anyone wants to know

* 24

3

* 30 Days
* Television show is currently on air 30 Rock

A

* The A-Team
* Adam-12
* Age of Love
* Airwolf
* Alfred Hitchcock Hour
* Alfred Hitchcock Presents
* Alias Smith And Jones
* Television show is currently on air American Dad!
* American Misfits
* Andy Barker P.I.
* Television show is currently on air Are You Smarter Than A 5th Grader?
* Arrested Development
* The Art of Seduction

B

* Television show is currently on air Back To You
* Bad Girls Road Trip
* Battlestar Galactica
* Battlestar Galactica Classic
* Big Ideas for a Small Planet
* The Biggest Loser
* Television show is currently on air Bionic Woman
* The Blues Brothers
* The Bob Newhart Show
* Television show is currently on air Bones
* Boo!
* The Breakfast Club
* Breaking Away
* Brother's Keeper
* Buck Rogers
* Buffy the Vampire Slayer
* Bulworth
* Burn Notice

C

* Chicago Hope
* Television show is currently on air Chuck
* Cleopatra 2525
* The Comebacks
* Conan the Barbarian
* Television show is currently on air Cops
* Cover Me
* The Crow: Stairway To Heaven

D

* Television show is currently on air Damages
* Days of our Lives
* Death Sentence
* Doogie Howser, M.D.
* Dr. 90210
* Dr. Steve-O
* Dragnet

E

* Eco Biz
* Emergency!
* Eureka
* Exosquad


F

* Television show is currently on air Family Guy
* Fight Girls
* Television show is currently on air Firsthand
* Flipping Out
* Fox Movie Channel presents "Casting Session"
* Fox Movie Channel presents "Life After Film School"
* Fox Movie Channel presents "Making a Scene"
* Fox Movie Channel presents "World Premiere"
* Television show is currently on air Friday Night Lights
* Fudge

G

* Television show is currently on air Ghost Hunters
* The Girls Next Door

H

* Hell's Kitchen
* Television show is currently on air Heroes
* Hill Street Blues
* Horseracing A to Z
* Television show is currently on air House

I

* IGN Videos
* Inside the Actors Studio
* Television show is currently on air It's Always Sunny in Philadelphia

J

* J.Y.A.
* Jack of All Trades
* The Janice Dickinson Modeling Agency
* The Jerk
* Television show is currently on air Journeyman

K

* Television show is currently on air K-Ville
* Kathy Griffin
* Keeping Up with The Kardashians
* Television show is currently on air King Of The Hill
* Kitchen Confidential
* Television show is currently on air Kitchen Nightmares
* Kojak
* Kojak 2004

L

* L.A. Dragnet
* Land of the Giants
* Television show is currently on air Las Vegas
* Last Call with Carson Daly
* Television show is currently on air Late Night with Conan O'Brien
* Television show is currently on air Life
* The Loop
* Lost in Space
* Lou Grant

M

* The Mary Tyler Moore Show
* Master and Commander: The Far Side of the World
* McHale's Navy
* Miami Vice
* Million Dollar Listing
* Television show is currently on air Monk
* Mrs. Piggle-Wiggle
* Murder One
* My Bare Lady
* Television show is currently on air My Name is Earl


N

* Nanny and the Professor
* Night Gallery

O

* October Sky
* Television show is currently on air The Office
* Over There

P

* Pantry Raid
* Peacemakers
* Television show is currently on air Phenomenon
* Picket Fences
* The Practice
* The Pretender
* Television show is currently on air Prison Break
* Psych

Q

* Queer Eye

R

* The Real Housewives of Orange County
* Remington Steele
* The Riches
* Rob and Amber: Against the Odds

S

* Saturday Night Live
* Television show is currently on air Scrubs
* Shear Genius
* Sideways
* Simon & Simon
* Television show is currently on air The Simpsons
* Sitting Ducks
* Sixth Sense
* So You Think You Can Dance
* Solitary
* St. Elsewhere
* Stacked
* Standoff
* The Starter Wife
* Surface
* Swamp Thing

T

* Television show is currently on air Talkshow with Spike Feresten
* Tequila & Bonetti
* Television show is currently on air 'Til Death
* Television show is currently on air Tin Man
* Television show is currently on air The Tonight Show
* Top Chef
* Top Design
* Tori & Dean: Inn Love
* Total Recall 2070

V

* Vanished
* Voyage to the Bottom of the Sea

W

* Weekend at Bernie's
* WKRP in Cincinnati
* Woody Woodpecker (New)
* Work Out

pinion
2007-12-28, 02:28
I second this

ryanworrell
2008-01-15, 07:19
I third this!

8BitBrad
2008-01-17, 00:12
This would be a nice plugin. Also thre is http://www.openhulu.com/ for those of us that don't have invites.

Chronusdark
2008-01-17, 23:11
i was looking at the page source and it looks like the flv url is encrypted but i dont think its very complex

i think its somewhere in this
var swfObject = new SWFObject("/player.swf", "player", "790", "368", "9");
swfObject.setAttribute("style", "z-index:10;");
swfObject.useExpressInstall("/expressinstall.swf");
swfObject.addParam("allowScriptAccess", "sameDomain");
swfObject.addParam("allowFullscreen", "true");
swfObject.addVariable("stage_width", 790);
swfObject.addVariable("stage_height", 368);
swfObject.addVariable("content_id", "5241206");
swfObject.addVariable("bitrate", "700000");
if (/#([0-9]+):([0-9]+)/.exec(location.hash)) {
swfObject.addVariable("st", parseInt(RegExp.$1));
swfObject.addVariable("et", parseInt(RegExp.$2));
}
else if (/#([0-9]+)/.exec(location.hash)) {
swfObject.addVariable("st", parseInt(RegExp.$1));
}
else if (/in-playlist$/.test(location.hash)) {
swfObject.addVariable("inPlaylist", 1);
}
if (!swfObject.write("player-container"))
Element.show("flash-player-invalid");
else {
TitleHack.fixOnFocus($('player'));
}
thats for the newest family guy episode

this also looks useful

<!-- SiteCatalyst code version: H.11.
Copyright 1997-2007 Omniture, Inc. More info available at
http://www.omniture.com -->
<script type="text/javascript"><!--

s.eVar29='';
s.campaign='';
s.eVar16=s.prop16='';
s.eVar21=s.prop21='';
s.eVar22=s.prop22='1306.57';
s.eVar19=s.prop19='FOX';
s.eVar12=s.prop12='';
s.eVar15=s.prop15='';
s.eVar24=s.prop24='VvbXCdksWp_V7hD0PgBF8_CnZRDdDno J';
s.eVar30='';
s.eVar28='';
s.eVar11=s.prop11='';
s.eVar1=s.prop1='';
s.eVar27='4x3';
s.eVar2=s.prop2='';
dc_cat=s.eVar5=s.prop5='McStroke';
dc_kw=s.pageName='watch:FOX:Family Guy:McStroke';
s.pageType='';
s.eVar18=s.prop18='';
s.products='';
s.eVar20=s.prop20='';
s.eVar26='TV-14';
s.eVar14=s.prop14='';
s.hier1='';
s.eVar6=s.prop6='watch';
s.eVar7=s.prop7='FOX';
s.eVar8=s.prop8='Family Guy';
s.eVar9=s.prop9='McStroke';
s.eVar17=s.prop17='/watch/6134';
s.prop50='';
s.eVar4=s.prop4='6134';
s.eVar3=s.prop3='McStroke';
s.eVar13=s.prop13='';

dc_cat = escape(dc_cat).replace( /%../, '+' );
dc_kw = escape(dc_kw).replace( /%../, '+' );
dc_cat = dc_cat.replace( /_/, '+' );
dc_kw = dc_kw.replace( /_/, '+' );
var uid = '';
try {
var cookies = document.cookie.split( ';' );
var user_is_elusive = true;
var re = /^\s*_hulu_uid=(.*)$/i

theForLoop:
for ( var i = 0; i < cookies.length; i++ ) {
if ( re.test( cookies[i] ) ) {
var match = re.exec( cookies[i] );
user_is_elusive = false;
uid = match[1];
break theForLoop;
}
}
}
catch ( e ) {
uid = e.message;
}
s.prop50 = uid;

i suck at python so i hope someone can do something with this

golfbandit
2008-03-13, 00:56
Not a software techie. but i know for sure, this site is awesome www.hulu.com . do you think a script or plugin for this site is possible?

Basje
2008-03-13, 10:43
Not a software techie. but i know for sure, this site is awesome www.hulu.com . do you think a script or plugin for this site is possible?

Use XOT (XBMC Online TV) Framework and create your own 'channel' for it. You can download XOT here: http://code.google.com/p/xot-uzg/downloads/list. There is also a wiki (a bit outdated though) on how to create a channel.

plex
2008-03-28, 09:51
Site doesn't stream with flv files, it uses rtmp protocol, a flash streaming protocol which xbmc does not support, I am working on a universal type script to be able to naturally browse and custom browse many, many, many of these types of sites, since they're popping up everywhere. But the point is, you should lobby xbmc dev support for adding rtmp protocol support in playing streaming media, and then we can see content from hulu.com on our xboxes. :) Or, you can just add the support for rtmp protocol yourself, if you want it badly enough. :)
See a thread I made for the feature request here:
http://xbmc.org/forum/showthread.php?t=32114

Gamester17
2008-03-28, 13:47
Site doesn't stream with flv files, it uses rtmp protocol, a flash streaming protocol which xbmc does not support, I am working on a universal type script to be able to naturally browse and custom browse many, many, many of these types of sites, since they're popping up everywhere. But the point is, you should lobby xbmc dev support for adding rtmp protocol support in playing streaming media, and then we can see content from hulu.com on our xboxes. :) Or, you can just add the support for rtmp protocol yourself, if you want it badly enough. :)
See a thread I made for the feature request here:
http://xbmc.org/forum/showthread.php?t=32114Better would probably be for you to first lobby someone like the Libnemesi (http://live.polito.it/documentation/libnemesi) and/or cURL (http://curl.haxx.se) to add support to it first, (then we can add/update Libnemesi (http://live.polito.it/documentation/libnemesi) or libcurl (http://curl.haxx.se) in XBMC)

:rolleyes:

Basje
2008-03-28, 22:35
I am working on a universal type script to be able to naturally browse and custom browse many, many, many of these types of sites, since they're popping up everywhere.

Well, that is exactly what XOT (XBMC Online TV) is meant for. You can add channels/sites that you can browse. It is quite easy to add a channel, although some regex knowledge is needed. It already support www.quicksilverscreen.com (including megavideo.com and youku.com and veoh videos). It also used to support Joox.net and TV-Links.co.uk, but these sites are offline now.

It is now mainly used to show episodes of Dutch and Swedish TV programs.

Check it out at http://code.google.com/p/xot-uzg/!

Joker06
2008-06-05, 07:26
Hi,
Well I've tried everything to get hulu.com to work on my xbox. Even downloaded XDSL and tried to run it through that browser. However after not being able to succeed it getting adobe flash player v9 to work, I ended up giving up. Anyways someone suggested I place a request on here. So here I am. I like to watch videos on hulu and would greatly appreciate it if there was a script out there for it. It's honestly one of the two reasons I just modded my xbox.

Thank you for any replies in advance,
-Joker

nicoli_k
2008-06-05, 09:11
It's not possible yet. Hulu uses a format that doesn't play nice with XBMC. Look at the 3rd page of the top sticky where it's explained better.

Joker06
2008-06-05, 18:51
Well that sucks...

thanks for the reply, sorry for the new thread make on a old topic, thanks for the move....

datatracer
2008-06-07, 11:24
Well, that is exactly what XOT (XBMC Online TV) is meant for. You can add channels/sites that you can browse. It is quite easy to add a channel, although some regex knowledge is needed. It already support www.quicksilverscreen.com (including megavideo.com and youku.com and veoh videos). It also used to support Joox.net and TV-Links.co.uk, but these sites are offline now.

It is now mainly used to show episodes of Dutch and Swedish TV programs.

Check it out at http://code.google.com/p/xot-uzg/!

Basje, have you personally been successful at watching videos from hulu.com using XOT? If so, please post your experience with getting it working, and links to any requirements or tweaks. If you have not tried it, then please refrain from recommending scripts or plugins that have nothing to do with the topic. The topic is getting hulu content on the xbox. As far as I can see after trying XOT, it will not allow you to play hulu videos. It's a waste of time recommending it if you don't know for sure that it works.

lightx
2008-06-21, 02:06
I would love to be able to watch to Hulu on my xbox!!! This would be another awesome feature!

rwparris2
2008-06-21, 06:40
I would love to be able to watch to Hulu on my xbox!!! This would be another awesome feature!

did you even read the thread?
it isn't possible at the moment.

Voinage
2008-06-21, 15:05
It looks like it will be shortly.
Xbmc is in the process of adding experimental rtmp support.

Once that is done, the gates of Agartha open.

Do a search for Rtmp.

maui917
2008-07-08, 00:04
So does this mean the a Hulu plugin could now be a possibility?

http://xbmc.org/forum/showthread.php?t=32114&page=3

JCEEZ
2008-07-15, 18:48
A Hulu plugin would be glorious on so many levels. Seriously WOW!

plankton88
2008-07-17, 03:09
Hulu is great when they put on videos you really like. That is why I use a nice program called Orbit Flash Video Grabber. It will find the .flv file after the video is loaded and let you download the Hulu videos. It usually takes me about 30-45 minutes to download a movie, then I just play it off my PC onto to xbmc. I have probably downloaded 15 movies and dozens of TV shows off there since it started. By the way the flash video grabber is free and even takes out all of those annoying Hulu commercials!

Fused0ne
2008-07-25, 00:33
I use another similar program, and I recommend using the DVDPlayer to play them in XBMC. If you use mplayer, the sound is not synced, even if you change the audio delay, within seconds its not synced and you really cant fast forward. If you select it to play with DVDPlayer it will be synced and although it lags a bit to catch up when fast forwarding or rewinding once it does it is still synced,

sion28
2008-08-06, 20:25
I use another similar program, and I recommend using the DVDPlayer to play them in XBMC.
What is the "another similar program" you use? And, when you say you recommend using DVDPlayer to play "them" what "them" do you mean?

If you use mplayer, the sound is not synced, even if you change the audio delay, within seconds its not synced and you really cant fast forward. If you select it to play with DVDPlayer it will be synced and although it lags a bit to catch up when fast forwarding or rewinding once it does it is still synced,

I thought mplayer is the dvd player. How do you select "DVDPlayer" to play a video differently than how you would normally play a video?

Thanks in advance for any clarification... :)

rwparris2
2008-08-07, 08:19
How do you select "DVDPlayer" to play a video differently than how you would normally play a video?

Highlight a video, open the context menu, select "play using..."

lightx
2008-08-12, 03:47
is this something that anyone is working on? I would love to see this available...

knarx
2008-08-21, 20:07
If you're willing to have a PC act as the intermediary between Hulu and XBMC, this is now possible. Check out my post on a different thread:

http://xbmc.org/forum/showthread.php?p=212042#post212042

Granted it's not a plugin, as much as a piece of software that turns hulu, youtube, and (will eventually turn) netflix into a uPNP server. But from the end-user perspective, it's pretty elegant. Still has a few bugs to work out, but I was pretty impressed when I was messing around with it last night.

For those not wanting to read the other post, it's called PlayOn media and available at:

http://www.themediamall.com/playon

Ryuzaki
2008-08-25, 05:57
It's also a non-free windows only solution. I would rather go without, thanks.

TheBurner
2008-08-26, 23:47
Would be great to somehow get hulu working for linux im sure there is a way

lightx
2008-09-21, 23:49
I can read thanks. It still would be an awesome feature ... !

Voinage
2008-09-22, 15:28
Alright, thanks to the 2 new patches from frosty - the last patch isnt merged yet.
Rtmp streaming is very possible and working well on xbox. BBc iplayer -= works and so does southpark studios rtmp streams. Lets play with Hulu, eh ?

jmarshall
2008-09-22, 23:59
Where is this second patch - is it up on trac?

marlboroman1
2008-09-23, 00:04
yes you can find it here
http://xbmc.org/trac/ticket/4905

nicoli_k
2008-10-07, 23:35
Is this possible with the latest T3CH build (T3CH XBMC 2008-10-06 SVN rev15805-BETA2)?

ldiaz2413
2008-10-12, 06:15
im sorry im new to this after downloading were do i place the patch

dwmcqueen
2008-10-12, 17:59
From what I understand - there still is no way to play Hulu via XBMC (even with the new support for RTSP) - at least until someone comes up with a script to do so - is this correct?

xlilcasper
2008-10-16, 00:18
Grab the PlayOn Media server from Media Mall (http://www.themediamall.com/playon) it's not free but it will stream HULU, Netflix and a few other sites to the xbox via PC.

dwmcqueen
2008-10-16, 19:33
Yeah - that is what I use right now....made me keep that old PC I was going to sell, but works nicely.

funkmasta
2008-10-21, 03:58
Now that Boxee has support for Hulu, is there any way to look in to how they accomplished integrating it and add it to XBMC?

super_sobbie
2008-10-21, 17:25
First let me say that this is a thread on Hulu web site streaming to XBMC. From reading this thread I see that RTPM is fixed in XBMX for xbox. is there a script that will pull either your personal current list in hulu (from your logon) or present by tv show/new/ect like other youtube scripts did.

On another note, I am very sad to see this "PlayOn" being mentioned everywhere. yes I downloaded and took a look... it is great that it works with netflix... but come on.... $30 F$!@# dollars for a BETA!!!!! please do note that this is only a beta and not even a fully functioning release. I do understand why it is only windows based since the DRM has to be run through windows but where is the opensource freeware application that does the same thing. first I don't like to pay for betas... I didn't do it for Microsoft (an established company that I felt would be around a LONG time) and I would not do it for a small company that I has a sketchy life span.

Sorry for the small rant but it is tough to stoamch all this talk about a beta that you have to pay for.

Have a Great DAY,
SoBBie

PS really a Hulu script for xbmc would be great!!!

MPauley73
2008-10-21, 20:23
I just saw this also. Im sure this wouldn't be added until the freeze is over...

dwmcqueen
2008-10-22, 02:53
I understand the rant, but it is a time limited free beta - no need to pay to test it out. And we might have an issue getting an Open Source version - since we are dealing with DRM...

But, Hulu by itself should be doable now...

MPauley73
2008-10-22, 22:51
I posted a Win32 build of XBMC with the patch from ticket #5159 (http://xbmc.org/trac/ticket/5159) here (http://www.mediafire.com/?wm5n4omnwyn). Using the sample plugin on the trac page I was able to stream the file with no problem (except for the buffer time). Hopefully this will help along a great new plugin.

Ohh yeah... this build also has the fanart screensaver patch included...

MPauley73
2008-10-27, 07:22
Here (http://www.mediafire.com/?sharekey=6bb5454794b296d9ab1eab3e9fa335caea49959d af04d0be) is a fixed version of Win32 XBMC (rar didn't work?) with patchs 5100 (Fanart as screensaver option) (http://xbmc.org/trac/ticket/5100), 5159 (Allow plugins to set SWFPlayer for RTMP urls - enables Hulu) (http://xbmc.org/trac/ticket/5159) and 5246 (Fix hang at end of RTMP stream) (http://xbmc.org/trac/ticket/5246).

:nerd:

Going forward you can find my builds here :: http://www.mediafire.com/?sharekey=6bb5454794b296d9ab1eab3e9fa335caea49959d af04d0be

TheBurner
2008-10-27, 18:39
Has anyone done a plugin for linux yet? Would be an awesome addition

Chambers
2008-10-27, 23:35
Awesome, thanks so much MPauley! Is there a beta script out for the hulu stuff yet? I'm guessing no since the team is still focused on Atlantis final release and it's in a feature freeze.

MPauley73
2008-10-27, 23:38
Working on a plugin now and it should be a day or 2 before its released. If anyone would like to help, please shoot me a PM.

TheBurner
2008-10-29, 17:59
Mpauley looking forward to this. You will make it compatible for xbox,linux, win32 and mac? Really wanting it for linux

rwparris2
2008-10-29, 18:04
Mpauley were you ever able to get the pid?
After decompiling the swf player, I *think* I found the method to deobfuscate what they give you on the video properties page. Unfortunately its a bit over my head, though master coder spiff says it looks "doable" :grin:

I can send you what I got if you'd like.

MPauley73
2008-10-29, 18:36
rwparris2, no real life took over again... damn work...

Send me what you found and I'll look @ it as soon as I get it.

Thanks!

mique
2008-11-01, 18:25
MPauley73 How is real life? I hope it is giving you some breaks!
I have been using the trial version of 'Playon' for Hulu and can't wait for your plugin that will work off the xbmc without the need of a PC.
Keep up all the good work, you guy's are great.

punxrus
2008-11-12, 02:22
First time poster...long time reader. Just giving this thread a bump to see if anyone has any updates! :D

MPauley73
2008-11-12, 16:31
The pid needed to play the file is "encrypted" and I have had no luck figuring it out.

TheBurner
2008-11-13, 00:15
Hopefully someone has some help for ya been waiting for this one!

darxide
2008-11-13, 17:24
Boxee has hulu support. is there any way to port their plugin?

MPauley73
2008-11-13, 17:38
Their support is part of boxee, not a plugin.

scnd
2008-12-02, 07:05
Any news in this area? I'm hoping for a semi-free solution for hulu and sling.com.

super_sobbie
2008-12-05, 17:18
How is this coming along? is the "Freeze" over???? how can Boxee be useing netflix and hulu and xbmc can not? from what I read boxee is linux based or am I wrong? Iam running xbmc on a xbox and would LOVE!!!! to have hulu and netflix working.

Kind Regards,
SoBBie

super_sobbie
2008-12-05, 17:22
I am glad to hear that we are close... does anyone work with the team from Boxee to find out how they did it? It would be great to get this AND Netflix.

Regards,
SoBBie

quake101
2008-12-05, 17:58
I took this from the Boxee source code page.


boxee continously contributes code to XBMC, and merges boxee features upstream to XBMC, as Team-XBMC elects to add them.

If you wish to directly contribute code to boxee, please contact us first at info@boxee.tv


Maybe Boxee would be willing to give up the source code for Hulu and Netflix. :)

Rob Loach
2008-12-07, 03:51
Hulu support would be awesome as a SVN Repo Installer plugin:
http://xbmc.org/forum/showthread.php?t=29911

IBeIzPepe
2008-12-07, 06:30
Hey all. You do know about PlayOn, right? If not, check it out at http://www.themediamall.com/playon. I use it on my Linux XBMC setup and it works great! Only drawback is that PlayOn will only run on Windows.

super_sobbie
2008-12-08, 16:44
PlayOn... Of course I have heard of it but I would not pay for it. Especially when boxee is free and it supports hulu and netflix. Also I do not use windows at home...

So NO PlayOn is not an options.

Anyway I dont see why soo many people are in love with playon... Boxee supports netflix much better... PlayOn only does your personal list where boxee you can pick new releases and suggested movies... much better in my mind.

Ok sorry for ranting... but I do not :no: see the big appeal PlayOn. Why would I want another computer running in my house. I am trying to slim back and only have my linux file server and my linux desktop... dont want to have to run another machine just for this windows only software... :(


Have a great day,
SoBBie

kricker
2008-12-08, 21:18
PlayOn... Of course I have heard of it but I would not pay for it. Especially when boxee is free and it supports hulu and netflix. Also I do not use windows at home...

So NO PlayOn is not an options.

Anyway I dont see why soo many people are in love with playon... Boxee supports netflix much better... PlayOn only does your personal list where boxee you can pick new releases and suggested movies... much better in my mind.

Ok sorry for ranting... but I do not :no: see the big appeal PlayOn. Why would I want another computer running in my house. I am trying to slim back and only have my linux file server and my linux desktop... dont want to have to run another machine just for this windows only software... :(


Have a great day,
SoBBie+1. It sure would be nice if the Boxee code could be utilized.

ComposerDude
2008-12-18, 18:45
Fact of the matter is that they've somehow integrated flash into Boxee for Hulu. If flash is based on proprietary license, then the code integrating it can't be used for XBMC.

Work on scripting an interface can be undertaken... it just might be incredibly complicated, though, in order to simulate the flash app that plays the video.

EDIT: Thank God that python is the scripting framework...

kreach
2008-12-18, 22:48
A plugin has been created Hulu Plugin 0.1 (http://xbmc.org/forum/showthread.php?t=42041)

Redrocker
2008-12-24, 15:22
Nice job on the plugin. Works as advertised. It's a great start.