View Full Version : [RELEASE] Hulu (Video) Plugin for XBMC
zoltar12
2008-12-13, 05:16
This is my first XBMC plugin, and contribution to XBMC.
This is still in the alpha stages, but does work for the most part. I am not sure when RTMP (network protocol) support was added to each XBMC release, but the latest T3CH release works with this on my Xbox with XBMC.
Download Here 0.2 (IP Check Disabled) (http://www.mediafire.com/?wqtv55wador)
24, Family guy, Simpsons, American Dad, Fringe all work.
Other shows can be added by editing the default.py and adding them to the array at the beginning of the file.
The other shows not listed are not working at this time. The ;.international=false in shows urls such as 30 Rock, cause a bug in the rmtp library. I am submitting a bug, so hopefully the next release will have the fix.
Ticket for the fix, with the code. http://xbmc.org/trac/ticket/5492 This may take some time to make it into the next build, so you may want to get the latest from svn and compile you own.
** If no shows play and you are in the US, you will need to update your version. Family guy should play if you have a version with rmtp support.
Please post your results if you are not in the US.
Download Here 0.1 (http://www.mediafire.com/?dtbzy4ouezj)
timdog82001
2008-12-13, 05:51
wow, awesome. A hulu plugin at last :) I'm sure a lot of people will be happy to see this.
Outstanding! Very nice start.
I couldn't resist, I added all of the TV shows to the array. This list is full and works on my xbox.
While testing this out I realized your code does not yet take into account for special characters. I ended up stripping out all specials such as ',$,-, etc. Quite a few titles use them, although not sure which ones in particular were causing the problem. I would definately suggest pulling the array out of the python file and putting it into XML. Maybe one XML file for TV and one for Movies.
Sadly, I don't have the latest T3CH build yet, so none of the shows played for me. But the whole list did show. Downloading latest build now....
Here's the full TV show list array:
"2008 National HeadsUp Poker Championships", "24", "28 Life", "30 Days", "30 Days of Night Blood Trails", "30 Days of Night Dust to Dust", "30 Rock", "The 808", "The Academy", "Action", "Adam12", "The Addams Family", "The Adventures of Danny & The Dingo", "The Adventures of John McCain and the Straight Talk Express", "After Hours with Daniel", "Airwolf", "ALF", "Alfred Hitchcock Hour", "Alfred Hitchcock Presents", "Alias Smith And Jones", "The AllForNots", "American Dad", "American Gothic", "American Greed", "American Misfits", "Americas Most Wanted", "Andy Barker PI", "Angel", "Another World", "Any Given Latitude", "Archie Bunkers Place", "Are You Smarter Than A 5th Grader", "Arrested Development", "AST Dew Tour", "As The World Turns", "Astro Boy", "The ATeam", "Babylon 5", "Back on Topps", "Back To You", "Barney Miller", "BarrettJackson Life On The Block", "BarrettJackson The Auctions", "Battle Dome", "Battle of the Bods", "Battlestar Galactica", "Battlestar Galactica Classic", "Beer Nutz", "Behind the Star", "Benson", "Best of 60 Frames", "Best of Penn Says", "Bewitched", "The Biggest Loser", "Big Ideas for a Small Planet", "The Big Idea The Roadmap To Success", "Black Blood Brothers", "Blankslate", "Bleach", "Blue Gender", "Bobby G Adventure Capitalist", "The Bob Newhart Show", "Bones", "Boo", "Brothers Keeper", "Buck Rogers", "Buffy the Vampire Slayer", "Built to Shred", "Burn Notice", "Campus Cops", "The Captain and Casey Show", "Carpet Bros", "Carrier", "Casper the Friendly Ghost", "Chase", "Charlies Angels", "The Chefs Kitchen", "Chicago Hope", "Chuck", "Cleopatra 2525", "CNBC Originals", "The Colbert Report", "Coma", "Comedy Gumbo", "Conan", "Conviction", "Cooking Up A Story", "Coolios Rules", "Cool Kids Parties", "Cool Tools", "Cops", "Corkscrewed The Wrath of Grapes", "Cover Me", "The Crow Stairway To Heaven", "Crusoe", "Curb Appeal", "The Daily Show with Jon Stewart", "The Dana Carvey Show", "Dating Brad Garrett", "The Dave Ramsey Show", "The David Susskind Show", "Da Vincis Inquest", "DC Follies", "Deadline", "Death Note", "Decision House", "Deserving Design", "Design e2", "Desperate Landscapes", "Destination Truth", "Devils Trade", "The Dick Van Dyke Show", "Dilbert", "Dining Downunder", "Dirt", "Doogie Howser, MD", "Dorm Life", "Douchebag Beach", "Dragnet", "Dr Danger", "Dream On", "The Dresden Files", "Dr SteveO", "Easy Money", "ECW", "Elviras Movie Macabre", "Emergency", "Empires", "Equal Justice", "ER", "Estate of Panic", "Eureka", "Exosquad", "The Facts Of Life", "The Fall Guy", "Family Guy", "Fantasy Island", "The Fashion Team", "Father Knows Best", "Fields of Glory", "Film Crew", "The Finish Line", "FiNS", "Firefly", "Firsthand", "Flipper", "Food News", "Foreign Body", "Forever Knight", "Fox Reality Channel Really Awards 2008", "Friday Night Lights", "Fringe", "Fudge", "Galactica 1980", "Galaxy Railways", "Gaytown", "Gemini Division", "Ghost Hunters", "Ghost Hunters International", "Gimme My Reality Show", "Gorgeous Tiny Chicken Machine Show", "Great Cocktails", "The Great Ride Open", "Groundlings", "Guiding Light", "Hart to Hart", "Hells Kitchen", "Heroes", "Highlander", "Hill Street Blues", "Hole In The Wall", "Hot Hot Los Angeles", "House", "House Hunters", "I Dream of Jeannie", "Ikki Tousen", "The Incredible Hulk", "In Harms Way", "The Invisible Man", "Ironside", "I Spy", "Its Always Sunny in Philadelphia", "It Takes A Thief", "Jackass", "Jackie Chan Adventures", "Jack of All Trades", "Jerry Springer", "John Doe", "Johnny Sokko and His Flying Robot", "Journeyman", "Kath and Kim", "Kiddy Grade", "King of Miami", "King Of The Hill", "Kitchen Confidential", "Kitchen Nightmares", "Knight Rider", "Kojak", "Kojak 2004", "KVille", "LA Dragnet", "Land of the Giants", "Late Night with Conan OBrien", "Legend of the Seeker", "LG15 The Resistance", "Life", "Life After Film School", "The Line", "Lipstick Jungle", "LookALike", "The Loop", "Lost in Space", "Lou Grant", "M80", "Mad Mad House", "MadTV", "Major Dad", "Making News Savannah Style", "Man Caves", "Manhattan, AZ", "MarriedWith Children", "The Mary Tyler Moore Show", "The Matty Blake Show", "Maury", "McHales Navy", "Miami Vice", "The Millionaire Inside", "ModelLive", "MOJOs The Circuit", "The Moment Of Truth", "Monk", "Moon Phase", "Mr Justice & Powerful Girl", "Mrs PiggleWiggle", "Mr Stain on Junk Alley", "The Munsters Today", "Murder One", "Mushishi", "My Bare Lady", "Myles of Style", "My Long Distance Relationship", "My Name is Earl", "My Own Worst Enemy", "Nanny and the Professor", "Naruto", "National Dog Show", "New Adam12", "New Amsterdam", "New Dragnet", "New Pollution", "NewsRadio", "Night Gallery", "NOVA", "The OC", "The Office", "One Day at a Time", "One Tree Hill", "Original American Gladiators", "Outer Limits", "Owen Benjamin Presents", "Paradise Hotel 2", "Partridge Family", "Party of Five", "Peacemakers", "Peach Girl", "Picket Fences", "PINK The Series", "The Practice", "Pressure Cook", "The Pretender", "Prison Break", "Problem Child", "Prom Queen", "Psych", "Raines", "The Rascal", "Real Estate Confidential", "The Real Housewives of Orange County", "Reality Binge", "Reba", "Red Eye", "ReGenesis", "Remington Steele", "Rescue Me", "The Return of Jezebel James", "The Riches", "Roadents", "Rob and Amber Against the Odds", "The Rockford Files", "Roswell", "Rumbling Hearts", "Sanctuary", "Satacracy 88", "Saturday Night Live", "School Rumble", "Scientific American Frontiers", "The Search for the Next Elvira", "Secret Millionaire", "She Spies", "Shikabane Hime", "A Shot at Glory", "Shuffle", "Silver Spoons", "Simon & Simon", "The Simpsons", "Sitting Ducks", "The Skinny Fat Free News", "Slayers", "Sliders", "Solitary", "Son Of The Beach", "Sons of Anarchy", "Speed Racer", "SpiderMan", "Sports Action Team", "Square Pegs", "Squeegees", "Stacked", "The Standard Snowboard Show", "Standoff", "Starsky and Hutch", "The Starter Wife", "StartUp Junkies", "St Elsewhere", "Strikeforce", "StrikeTV", "Studio 60 on the Sunset Strip", "Sunset Tan", "Surface", "Survival School", "Swamp Thing", "SWAT", "Talkshow with Spike Feresten", "Team Knight Rider", "Temptation Island", "Tequila & Bonetti", "Terminator The Sarah Connor Chronicles", "Test Drive", "Testees", "That Guy", "Three Sheets", "The Three Stooges Collection", "The Thunder Show", "The Tick", "The Time Tunnel", "TJ Hooker", "The Tonight Show", "Total Recall 2070", "Tremors", "Uncorked", "Unhitched", "Valentine", "Vanished", "Voyage to the Bottom of the Sea", "Wall Street Warriors", "Weird Science", "Welcome Back, Kotter", "Whats Happening", "Whats Happening Now", "The White Shadow", "Whos the Boss", "Wildboyz", "Wired Science", "WKRP in Cincinnati", "Woody Woodpecker (New)", "The World of Stupid", "The Writers Room", "xxxHolic", "Young Hercules"
rwparris2
2008-12-13, 07:24
why aren't you just scraping the webpage instead of adding all of these manually?
The ones that won't work won't work... no biggie.
But screw keeping all of them in an xml file that is silly.
althekiller
2008-12-13, 08:07
I hope you typed that big ass list out by hand. And yes, FFS, do as rwparris said.
dubstar_04
2008-12-13, 12:51
Will this work in the UK?
zoltar12
2008-12-13, 19:14
why aren't you just scraping the webpage instead of adding all of these manually?
The ones that won't work won't work... no biggie.
But screw keeping all of them in an xml file that is silly.
I wanted to group all the episodes for a show. Without having to enter a search by hand each time or just get the shows from the main page, this was the fastest way to do it. I will probably add a search function and a way to enter favorites in a later release.
zoltar12
2008-12-13, 19:19
Will this work in the UK?
I uploaded a 0.2 version with the IP check disabled. Let me know if this works.
zoltar12
2008-12-13, 19:22
Outstanding! Very nice start.
I couldn't resist, I added all of the TV shows to the array. This list is full and works on my xbox.
While testing this out I realized your code does not yet take into account for special characters. I ended up stripping out all specials such as ',$,-, etc. Quite a few titles use them, although not sure which ones in particular were causing the problem. I would definately suggest pulling the array out of the python file and putting it into XML. Maybe one XML file for TV and one for Movies.
Sadly, I don't have the latest T3CH build yet, so none of the shows played for me. But the whole list did show. Downloading latest build now....
Thanks for putting this array together, as you can see it is an alpha release. I was focusing more on just getting it to work. Adding features will follow, hopefully some python guru's can help speed development.
funkmasta
2008-12-13, 19:33
Sorry if I'm somewhat noobish, but what should we do to make this run? I put the Hulu folder in the video plugins folder. Tried running it, but nothing would play. Do I have to enable some settings or some other thing of which I'm unaware?
Edit: Apparently, I'm not up to date on my builds. BTW, has this been tested on Xbox because that is what I'm running on, using Mediastream with reduced quality textures.
zoltar12
2008-12-13, 20:05
Sorry if I'm somewhat noobish, but what should we do to make this run? I put the Hulu folder in the video plugins folder. Tried running it, but nothing would play. Do I have to enable some settings or some other thing of which I'm unaware?
Edit: Apparently, I'm not up to date on my builds. BTW, has this been tested on Xbox because that is what I'm running on, using Mediastream with reduced quality textures.
Yeah copy the Hulu folder to the video/plugins directory. You do need a recent build that supports rtmp. I am running the latest T3CH build on my xbox.
rwparris2
2008-12-13, 21:35
I wanted to group all the episodes for a show. Without having to enter a search by hand each time or just get the shows from the main page, this was the fastest way to do it. I will probably add a search function and a way to enter favorites in a later release.
Scrape the list from here http://www.hulu.com/browse/alphabetical/episode and here http://www.hulu.com/browse/alphabetical/feature_film
They even have it set up so you can grab individual genres.
Thanks for putting this array together, as you can see it is an alpha release. I was focusing more on just getting it to work. Adding features will follow, hopefully some python guru's can help speed development.
No... thank you! Didn't take long at all. I downloaded the latest build, added your plugin with full array and everything works great. Figured that could be a stop-gap for now.
dubstar_04
2008-12-13, 23:07
I uploaded a 0.2 version with the IP check disabled. Let me know if this works.
No joy i am afraid!!
All the categories load but the actual video won't play!!
Its such a tease seeing all the top programmes listed infront of you but not being able to watch them!!:(
Keep up the good work and hopefully a uk version will be released one day!
Well, not sure how you can overcome this other than using some US based proxy. I'm assuming Hulu isn't that stupid to allow a simple query parameter to allow/disallow access to the videos. I would guess they filter based on ip :)
Good luck...
Anyone have luck with this on win32? I tried vs .2, but nothing would play. I had to click on a show, then choose an episode, then I see 2 more of the same title, then click again and see one item, select to play and either nothing happens or xbmc just locks up. I'll check my build, but I'm usually pretty current ;)
A bunch worked for me. Others didn't (Like ALF :) ).
The have a constant geocheck during the rtmp stream, that`s why i never bothered releasing my plugin.
One way around is to get hotspot shield then share your internet connection to the xbox
Or get a payed vpn
or get a fast u.s socks5 proxy
zoltar12
2008-12-13, 23:41
Scrape the list from here http://www.hulu.com/browse/alphabetical/episode and here http://www.hulu.com/browse/alphabetical/feature_film
They even have it set up so you can grab individual genres.
That doesnt have a rss feed, so it wont be as reliable.
zoltar12
2008-12-13, 23:43
Anyone have luck with this on win32? I tried vs .2, but nothing would play. I had to click on a show, then choose an episode, then I see 2 more of the same title, then click again and see one item, select to play and either nothing happens or xbmc just locks up. I'll check my build, but I'm usually pretty current ;)
Works on my win32 build, from SVN. But the video has ghosting, xbox is clean.
rwparris2
2008-12-13, 23:44
A bunch worked for me. Others didn't (Like ALF :) ).
Are you in the US?
There is no way to "turn off" ip checking... it looks like they even go so far as to check the actual stream IP, so you can't just get lists with a proxy, you have to actually use a proxy for the entire stream.
Anyways, I personally won't be using this, until we get ALF working gosh darnit :rolleyes:
Actually if zoltar doesn't mind I'd like to revamp the way things are organized. (without having looked at the code I'm assuming you're searching for the episode title then just listing all the results? we can do better :grin:)
zoltar12
2008-12-13, 23:54
There is no way to "turn off" ip checking... it looks like they even go so far as to check the actual stream IP, so you can't just get lists with a proxy, you have to actually use a proxy for the entire stream.
Yes. If they check the stream, then it wouldn't work without a proxy. When I was network sniffing I noticed that they do a http request for /geocheck and they use that for some logic. I disabled this in 0.2 since I noticed that the stream plays without. I was hoping others could test to see if things worked.
Actually if zoltar doesn't mind I'd like to revamp the way things are organized. (without having looked at the code I'm assuming you're searching for the episode title then just listing all the results? we can do better :grin:)
Feel free to change what you want, though scraping html for titles might require maintenance from time-to-time when hulu changes their look. Using a xml result like I did is much more maintainable. Look at the code though. Do you know of a better xmldom that supports xpath, rather than elementree?
Just scrape the whole thing clean no need for xml at all.
Add the Regexp for the scraping def via plugin settings, then if they change just post the new regexp - let the end user enter it manually.
It`s no good only having half the progs working, when it`s down to urls
rwparris2
2008-12-14, 00:13
Feel free to change what you want, though scraping html for titles might require maintenance from time-to-time when hulu changes their look. Using a xml result like I did is much more maintainable.
It may require maintenance every now and then, but I have no problems with that. The results will look much nicer in the plugin trust me. I've got some stuff to do tonight, so I'll do this early tomorrow morning, or late tomorrow night.
I'll also add language strings and some settings (like instead of picking between high and medium in the plugin, just do it from settings, much nicer like that).
@ Voinage - sticking the regex in the settings isn't a 1/2 bad idea, but it will still break if they change their url structure.
quake101
2008-12-14, 00:46
Awesome work guys! :)
funkmasta
2008-12-14, 00:58
Just watched some episodes, works awesome!
Some shows didn't work, but not really sure why. I see others have mentioned this as well, hopefully it can get worked out, but even at this point, it is great having Hulu working on my Xbox.
timdog82001
2008-12-14, 01:01
The quality doesn't really seem the same as on the website. Is "High" supposed to be the 480p version available on the site?
angrycamel
2008-12-14, 03:31
Great to see some progress on a working Hulu plugin, I've been looking for this for a while now.
I tried it on the latest Windows build and was only able to get one show to play of the ones that I tried and that was an episode of Family Guy. It only played for the first 11 seconds then locked up XBMC. The sound was stuck looping 1 second over and over as well as the gui was unresponsive. I had to force quit it. Tried again with an episode of 24 and it worked great!
Ideas/Questions:
Is it possible to have the shows integrate with the TV Shows library view of XBMC? For instance, when I select Family Guy I would like for it to show all seasons and episodes whether I have a copy of it on my server or not. When I select an episode to play, it would pick the local file if it exists and stream from Hulu if not. Is this level of integration possible with a video plugin with the content set to tv?
I am looking forward to the next version. :)
rwparris2
2008-12-14, 06:55
Ideas/Questions:
Is it possible to have the shows integrate with the TV Shows library view of XBMC? For instance, when I select Family Guy I would like for it to show all seasons and episodes whether I have a copy of it on my server or not. When I select an episode to play, it would pick the local file if it exists and stream from Hulu if not. Is this level of integration possible with a video plugin with the content set to tv?
I am looking forward to the next version. :)
Nope, not possible.
Hi guys,
Great project!
Just to let you know I tried outsoude US the 0.2 of the plugin, on Xbox and on Windows, I was able to navigate, get the thumbnails, but no video.
If you need logs, please let me know.
It is possible Rw just a lot of " Os " checking so unless you really want it - I wouldn`t advise it.
Once my unified plugin is released i`ll look at it in further detail - edited that.
It`s going to be a nightmare.
angrycamel
2008-12-14, 17:13
Nope, not possible.
Ok, well it would have been nice.
rwparris2
2008-12-14, 23:32
Is it possible to have the shows integrate with the TV Shows library view of XBMC? For instance, when I select Family Guy I would like for it to show all seasons and episodes whether I have a copy of it on my server or not. When I select an episode to play, it would pick the local file if it exists and stream from Hulu if not. Is this level of integration possible with a video plugin with the content set to tv?
I am looking forward to the next version. :)
It is possible Rw just a lot of " Os " checking so unless you really want it - I wouldn`t advise it.
Once my unified plugin is released i`ll do it.
I can think of one really complex way of doing it that probably wouldn't work well at all. Feel free to PM me/make a new thread if you want to brainstorm on the possibilities of this, because I'd really like it as well... but not so much that I want to code it :laugh:
I'm interested to see how you're planning on launching streams from inside the main library.
Ok, well it would have been nice.
We'll have to see what Voinage has in store for us.
PS -- I was working on scraping the site, but I hit a snag.
After I get the content ID, when I try to grab a url like http://r.hulu.com/videos?content_id=12244285 I get a 404 unless I open it in my browser first, then everything is OK for the entire season of that episode... Anyone have any ideas?
MPauley73
2008-12-14, 23:41
PS -- I was working on scraping the site, but I hit a snag.
After I get the content ID, when I try to grab a url like http://r.hulu.com/videos?content_id=12244285 I get a 404 unless I open it in my browser first, then everything is OK for the entire season of that episode... Anyone have any ideas?
Need a cookie maybe? From boxee's hulu app
import random
import os.path
import urllib2
import Cookie
import xbmc
import xbmcgui
import datetime
def login_hulu(user, password):
url = 'https://secure.hulu.com/account/authenticate?' + `random.randint(100000000, 999999999)`
user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)'
headers = { 'User-Agent': user_agent,
'Cookie': 'login=' + user + '; password=' + password + ';',
'Referer': 'http://www.hulu.com/'}
req = urllib2.Request(url, None, headers)
response = urllib2.urlopen(req)
C = Cookie.SimpleCookie()
C.load(response.info()['Set-Cookie']);
return C['_hulu_session_id'].value, C['_hulu_uid'].value
username = xbmc.getInfoLabel('App.String(username)')
password = xbmc.getInfoLabel('App.String(password)')
session = ""
uid = ""
if username and password:
session, uid = login_hulu(xbmc.getInfoLabel('App.String(username) '), xbmc.getInfoLabel('App.String(password)'))
if not session:
xbmc.executebuiltin('App.Reset(expiry)')
xbmc.executebuiltin('App.Reset(username)')
xbmc.executebuiltin('App.Reset(password)')
dialog = xbmcgui.Dialog()
dialog.ok('hulu', 'Login failed.', 'Wrong username or password.')
else:
print session
print uid
xbmc.executebuiltin('App.SetString(session,%s)' % session)
xbmc.executebuiltin('App.SetString(uid,%s)' % uid)
today = datetime.date.today()
xbmc.executebuiltin('App.SetString(expiry,%s)' % today)
Ok, I can't figure out what I'm doing wrong. I downloaded this plugin, as well as the latest t3ch build (dated 12/7/08), and many of the videos don't work. For instance, I attempted to play the Colbert Report from 12/8, and nothing happened. On my pc in a web browser, however, I had no trouble.
Anyone know what I'm doing wrong?
timdog82001
2008-12-15, 01:00
Is it possible to have the shows integrate with the TV Shows library view of XBMC? For instance, when I select Family Guy I would like for it to show all seasons and episodes whether I have a copy of it on my server or not. When I select an episode to play, it would pick the local file if it exists and stream from Hulu if not.
It wouldn't really make sense for it to have ALL seasons/episodes. Hulu usually only has a few of the most recent episodes, removing older episodes as new ones come in. Anyway, I actually think that rather than the way you're proposing, I would like it better if it were to have an additional entry in the context menu or video info screen or something along those lines, labeled "Watch tvshowname on Hulu." It could then bring you to a window with separate categories for clips, webisodes, episodes, etc available on hulu. Of course one problem with this is the context menu is very full already.
rwparris2
2008-12-15, 02:17
It wouldn't really make sense for it to have ALL seasons/episodes. Hulu usually only has a few of the most recent episodes, removing older episodes as new ones come in. Anyway, I actually think that rather than the way you're proposing, I would like it better if it were to have an additional entry in the context menu or video info screen or something along those lines, labeled "Watch tvshowname on Hulu." It could then bring you to a window with separate categories for clips, webisodes, episodes, etc available on hulu. Of course one problem with this is the context menu is very full already.
If you want this you can show support on trac, where I asked for it a few days ago.
http://xbmc.org/trac/ticket/5442
Burncycle
2008-12-15, 02:36
Zoltar, fantastic plugin! Thank you so much for taking this on. I thought I'd post some observations on useage. Let me know if you need logs.
If you watch a show all the way to the end, it freezes on the last frame and I need to restart the box.
No rewinding, and any fastforwarding quickly runs down the buffer which causes a lot of glitches. Typically the audio and video fall out of sync for a while.
I was watching one tv show and had it paused for a really long time (20 min maybe) and when I resumed, it played for about a second and quit to menu. I was able to replay it fine, but without the aforementioned ability to fastforward,it was a bit of a drag.
Similarly, if you navigate to the flash file, but wait a long time to start it, then it won't work. You have to back up a menu and go back in. I suspect that Hulu is using some expiring token that lasts 15mins or so.
Lastly, some shows will list the episodes, but when you select it, nothing happens. I've noticed this with Mythbusters.
That's what I've seen so far. Again, fantastic plugin and thank for your efforts. Let me know if you need anything.
PS. I'm a US user.
angrycamel
2008-12-15, 03:17
I can think of one really complex way of doing it that probably wouldn't work well at all. Feel free to PM me/make a new thread if you want to brainstorm on the possibilities of this, because I'd really like it as well... but not so much that I want to code it :laugh:
I'm interested to see how you're planning on launching streams from inside the main library.
We'll have to see what Voinage has in store for us.
Sounds good. Let me know if there is any way I can help. I have never written Python specifically but I have years of experience in many other languages. (I even wrote an app for the Xbox a while back called Mimesis (http://www.projectmimesis.com))
Rob Loach
2008-12-15, 04:29
You should really add this to the SVN Repo Installer: http://xbmc.org/forum/showthread.php?t=29911
darkspur
2008-12-15, 04:39
I can't get this to work:
21:21:28 M: 34877440 ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, rtmp://cp39465.hulu.com:1935/ondemand?_fcs_vh
ost=cp39465.hulu.com&auth=daEc2blaPddaPc3dyd2dBcUbzcVagdBa.aU-bjrB8I-8-0oGBsFqYBzr&aifp=NS20070910&slist=content/39484/12/684/HuluTr
anscode_53070_44444_FLASH_480K_16x9_29_97__gTF64gU AOkiGRblThRM1pQ;.international=false
21:21:28 M: 34877440 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
This is with a fresh install of XBMC 12-07, the one included on the AID 4.40 install.
angrycamel
2008-12-15, 05:14
I just came across this thread: http://xbmc.org/forum/showthread.php?t=34443 and posted http://xbmc.org/forum/showpost.php?p=256601&postcount=13
It would be nice to have this Hulu plugin mix in with that concept of a full episode guide rather than just the episodes you have a matching video file for. It would open the door for full integration of this Hulu script and others like it into the library.
(PS. I hope I am not hijacking the thread too bad with this idea, I just want to see this streaming tv concept better integrated into XBMC and I'm hoping that this Plugin can do just that.)
rwparris2
2008-12-15, 07:13
Let me know if there is any way I can help.
I welcome you to write the entire script, as I won't be doing it. PM me if you want my idea of how it MIGHT be possible.
angrycamel
2008-12-15, 07:25
I welcome you to write the entire script, as I won't be doing it. PM me if you want my idea of how it MIGHT be possible.
Ok. I started taking a look already at what is possible with the current build. I am leaning towards lower level changes to the library building code in VideoInfoScanner.cpp in order to make Hulu support and sites like it supported a bit more out of the box with the help of python (content defining) scripts like this one.
I will definitely PM you so I don't distract from this thread anymore.
Wonder if the Rtmp patch was ever,hmmm.
There was a patch to fix the last frame hang.
rwparris2
2008-12-15, 10:28
never merged
http://xbmc.org/trac/ticket/5246
zoltar12
2008-12-15, 17:48
I can't get this to work:
21:21:28 M: 34877440 ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, rtmp://cp39465.hulu.com:1935/ondemand?_fcs_vh
ost=cp39465.hulu.com&auth=daEc2blaPddaPc3dyd2dBcUbzcVagdBa.aU-bjrB8I-8-0oGBsFqYBzr&aifp=NS20070910&slist=content/39484/12/684/HuluTr
anscode_53070_44444_FLASH_480K_16x9_29_97__gTF64gU AOkiGRblThRM1pQ;.international=false
21:21:28 M: 34877440 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
This is with a fresh install of XBMC 12-07, the one included on the AID 4.40 install.
This is a known bug in the rtmp library. That is why some shows will not play. I am submitting a fix.
zoltar12
2008-12-15, 17:53
If you watch a show all the way to the end, it freezes on the last frame and I need to restart the box.
I think this was fixed in one of the latest builds of xbmc.
No rewinding, and any fastforwarding quickly runs down the buffer which causes a lot of glitches. Typically the audio and video fall out of sync for a while.
Any support for this would need to be in the rtmp library. Might be still buggy.
I was watching one tv show and had it paused for a really long time (20 min maybe) and when I resumed, it played for about a second and quit to menu. I was able to replay it fine, but without the aforementioned ability to fastforward,it was a bit of a drag.
Similarly, if you navigate to the flash file, but wait a long time to start it, then it won't work. You have to back up a menu and go back in. I suspect that Hulu is using some expiring token that lasts 15mins or so.
I think the streams have a limited lifetime, so you are probably hitting that limitation. Not sure if there is anything I can do in the plugin.
You will have to backup a menu to replay, as the menu item has a one-play only url attached to the menu item. Backing up to the quality menu and selecting again will refresh the url.
Thanks for your testing.
zoltar12
2008-12-15, 17:55
Hi guys,
Great project!
Just to let you know I tried outsoude US the 0.2 of the plugin, on Xbox and on Windows, I was able to navigate, get the thumbnails, but no video.
If you need logs, please let me know.
If you could post the logs, that would be helpful. Also if you know how to use wireshark to capture network traffic, a capture of ports 80 and 1935 would be helpful.
zoltar12
2008-12-15, 22:44
ticket tracking number added to first post
I have loaded the plugin on to my Xbox with XBMC atlantis. I see the menu but nothing will play.
Also, Will Hero's and Prison Break be available?
Thanks for all the good work to all involved.
Great effort but it does not work for me
not even Family Guy
I am in US
Ticket for the fix, with the code. http://xbmc.org/trac/ticket/5492 This may take some time to make it into the next build, so you may want to get the latest from svn and compile you own.
** If no shows play and you are in the US, you will need to update your version. Family guy should play if you have a version with rmtp support.
This is probably why. I will try to get a build tonight with this patch, unless Jester or Ikons beat me to it.
Will it work with Atlantis XBMC?
Cheers,
New build on the way with patch from 1st post. Seems to be working for me. Sometimes the buffer takes a loooong time to fill up and play though. Which cache setting is it using? All mine are set relatively low (nothing more than 1024) and most streaming content fills the buffer within a second or less.
rev 16580 with rmtp patch.
http://www.mediafire.com/file/t3gtnmwlwxl/XBMCSetup-Rev16580-rmtp.exe
The latest T3CH SVN build doesn't support RTHP I'm guessing . . . Does anyone know if there is an xbox build out there (maybe via a certain ftp server . . .) that supports RTHP?
rwparris2
2008-12-16, 06:35
The latest T3CH SVN build doesn't support RTHP I'm guessing . . . Does anyone know if there is an xbox build out there (maybe via a certain ftp server . . .) that supports RTHP?
Show me any media center that supports "RTHP" and I'll mail you a cookie.
nicoli_k
2008-12-16, 06:47
I've already watched two episodes of Family Guy with this plugin using my xbox and the latest t3ch build (dec 7, 2008). I'm in the US, so I don't have to worry about proxies though. The buffer on the internet is set to 4096 and everything else is the xbmc default.
(top to bottom in kb: 256, 2048, 2048, 4096, 256, 256, 256, 2048, 2048, 4096)
I meant RTMP, smarty pants . . .
Burncycle
2008-12-16, 23:55
The latest T3CH build has it
ccMatrix
2008-12-17, 01:46
I don't know how far you are with scraping but I made a small gadget for Google Desktop and am using the following URL to get a list of all series on hulu.com:
http://r.hulu.com/shows.xml?only=id,name&videos_count_gt=0&type[]=clip&type[]=episode&hide_expired=true&sort=name&items_per_page=500
You can play around with the parameters to get more/less information.
i have the latest Atlantis build and i cant seem to get this to play either. I have the .2 release of this plugin and when i opened the Fringe folder nothing was there. Rebooted the box and they were there but none of them would play. Not sure if there is something somewhere that needs to be configured but i cant get it to play.
i have the latest Atlantis build and i cant seem to get this to play either. I have the .2 release of this plugin and when i opened the Fringe folder nothing was there. Rebooted the box and they were there but none of them would play. Not sure if there is something somewhere that needs to be configured but i cant get it to play.
Check post #55 That worked for me. Thanks Kricker
Check post #55 That worked for me. Thanks KrickerYou are welcome.
darkspur
2008-12-17, 05:22
The latest T3CH build has it
The only T3CH build for xbox that I've been able to find is dated 12-07.
Is xbmc on xbox dead? I don't have visual studio 2003, so I cannot build it myself.
If the latest t3ch has full RTMP, then does anyone know why I am having problems with this and other plugs that use RTMP? I am running the 12/7 SVN build, so its as recent as there is.
To the poster above me, the date 12/7 doesn't mean December 2007, it means December 7, 2008. XBMC is far from dead on the xbox . . .
Zoltar-
I made an addition to the default.py script. It's based off the 0.1 version. It has two new arrays. 1) for building a menu of choices: "Shows" and "Movies". 2) An array of all the movies.
Quite honestly, I don't know jack crap about python. It feels very finicky to me compared to C#. For some reason when I tried to reuse the addShow function it would bomb. When I cloned that method and gave it a new name everything worked. So, my code is probably not ideal... but it works. Hopefully someone else with more knowledge can refine the idea more.
default.py w/ menus (http://www.mediafire.com/download.php?mjlz4o0mcym)
darkspur
2008-12-17, 08:20
If the latest t3ch has full RTMP, then does anyone know why I am having problems with this and other plugs that use RTMP? I am running the 12/7 SVN build, so its as recent as there is.
To the poster above me, the date 12/7 doesn't mean December 2007, it means December 7, 2008. XBMC is far from dead on the xbox . . .
Yeah, 12-7-08, but still, t3ch's site says to not expect updates often. The 12-07 version does not have the recent patches that were checked in recently to fix these issues.
rwparris2
2008-12-17, 08:37
Yeah, 12-7-08, but still, t3ch's site says to not expect updates often. The 12-07 version does not have the recent patches that were checked in recently to fix these issues.
Guys, read the thread....
2008-12-07 t3ch DOES have RTMP support. There are some problems with the streams freezing on the last frame, it doesn't have that, plus it does not have whatever zoltar has submitted/reported, but it does work.
I'm using it right now to watch family guy.
It would be more helpful if you told us exactly which streams aren't working.
darkspur
2008-12-17, 15:38
Guys, read the thread....
2008-12-07 t3ch DOES have RTMP support. There are some problems with the streams freezing on the last frame, it doesn't have that, plus it does not have whatever zoltar has submitted/reported, but it does work.
I'm using it right now to watch family guy.
It would be more helpful if you told us exactly which streams aren't working.
The Office, whose urls seem to have the embedded semicolons in the url, which the patch mentioned earlier seems to address. I pasted my error earlier in the thread, but here goes again:
21:21:28 M: 34877440 ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, rtmp://cp39465.hulu.com:1935/ondemand?_fcs_vhost=cp3946
5.hulu.com&auth=daEc2blaPddaPc3dyd2dBcUbzcVagdBa.aU-bjrB8I-8-0oGBsFqYBzr&aifp=NS20070910&slist=content/39484/12/684/HuluTranscode_53070_44444_
FLASH_480K_16x9_29_97__gTF64gUAOkiGRblThRM1pQ;.int ernational=false
21:21:28 M: 34877440 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
21:21:28 M: 34877440 NOTICE: CDVDPlayer::OnExit()
21:21:28 M: 34877440 NOTICE: CDVDPlayer::OnExit() deleting input stream
21:21:28 M: 35414016 ERROR: Playlist Player: skipping unplayable item: 0, path [rtmp://cp39465.hulu.com:1935/ondemand?_fcs_vhost=cp39465.hul
u.com&auth=daEc2blaPddaPc3dyd2dBcUbzcVagdBa.aU-bjrB8I-8-0oGBsFqYBzr&aifp=NS20070910&slist=content/39484/12/684/HuluTranscode_53070_44444_FLASH
_480K_16x9_29_97__gTF64gUAOkiGRblThRM1pQ;.internat ional=false]
24 and Family Guy seem good. 30 Rock does not work, like the Office above:
08:29:27 M: 34373632 ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, rtmp://cp39465.hulu.com:1935/ondemand?_fcs_vhost=cp3946
5.hulu.com&auth=daEcVbRaccYbNd2dRdqcBaVbOaRcWaSaIcD-bjsp60-8-3oIBtEnZJAq&aifp=NS20070910&slist=content/39484/7/956/nbc_rok_hlt_212_20080417_48
0_480__dXk9DKTxYkmF7eiZ8bUckg;.international=false
08:29:27 M: 34373632 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
08:29:27 M: 34373632 NOTICE: CDVDPlayer::OnExit()
08:29:27 M: 34373632 NOTICE: CDVDPlayer::OnExit() deleting input stream
08:29:27 M: 34373632 ERROR: Playlist Player: skipping unplayable item: 0, path [rtmp://cp39465.hulu.com:1935/ondemand?_fcs_vhost=cp39465.hul
u.com&auth=daEcVbRaccYbNd2dRdqcBaVbOaRcWaSaIcD-bjsp60-8-3oIBtEnZJAq&aifp=NS20070910&slist=content/39484/7/956/nbc_rok_hlt_212_20080417_480_480
__dXk9DKTxYkmF7eiZ8bUckg;.international=false]
If anyone can give me hints on where I might find someone with daily svn builds for the xbox, I'd be grateful. I've got access to VS 2005 but not VS 2003 unfortunately, so I can't build this on my own. Unless there is some other way of building it (the google has failed to find me any alternative build methods.)
thanks!
miamiwice
2008-12-17, 18:03
is three sheets working for anyone
rwparris2
2008-12-17, 18:56
zoltar, have you compiled to see if your fix in post #1 works? it looks like you just truncate the string at the ';' which we can do in python, but that doesn't work... unless I missed something and you're doing more?
zoltar, have you compiled to see if your fix in post #1 works? it looks like you just truncate the string at the ';' which we can do in python, but that doesn't work... unless I missed something and you're doing more?I posted a win32 build (http://xbmc.org/forum/showpost.php?p=257082&postcount=55), are you wanting an xbox build?
rwparris2
2008-12-17, 19:23
Sorry, I saw your post but somehow I missed the fact that you added the patch.
If you can compile I'd like an xbox build yeah... I don't have necessary stuff.
Sorry, I saw your post but somehow I missed the fact that you added the patch.
If you can compile I'd like an xbox build yeah... I don't have necessary stuff.Sorry I don't have the tools for an xbox build :(
Check post #55 That worked for me. Thanks Kricker
I am not familiar with how to do this for the xbox. How would i apply this on the original Xbox?
Thanks -
gears
ccMatrix - How did you find that XML file? And do you know if there is an xml feed available for movies as well?
I am not familiar with how to do this for the xbox. How would i apply this on the original Xbox?
Thanks -
gearsSomeone has to compile XBMC for XBOX with that patch.
Someone has to compile XBMC for XBOX with that patch.
Us original XBMC'ers from the xbox days are going to have to wait for someone with the XDK (xbox dev kit) to compile it, and even then, obtaining it will be tricky because its of questionable legality. Best bet is to wait for t3ch. :p
ccMatrix
2008-12-18, 06:06
ccMatrix - How did you find that XML file? And do you know if there is an xml feed available for movies as well?
I found it using Firebug. This is the XML file their webpage widget uses to get the list of shows. Unfortunately I didn't find any file to get a list of all movies.
You can have a look here for getting Windows builds from SVN:
- Download kricker builds (http://www.mediafire.com/xbmc)
- Download ikons builds (http://www.mediafire.com/?sharekey=e5ae738a0de305f9ab1eab3e9fa335ca9777b53c 2baa0420)
Nevertheless those build are unofficial and not supported, at your own risk so
rwparris2
2008-12-19, 04:43
Us original XBMC'ers from the xbox days are going to have to wait for someone with the XDK (xbox dev kit) to compile it, and even then, obtaining it will be tricky because its of questionable legality. Best bet is to wait for t3ch. :p
I downloaded the required materials last night, I'll try patching & compiling either tonight or sometime this weekend. I have no idea how straight forward patching something from linux branch into xbox will be, and I don't know anything about the code itself, so don't hold your breath.
I just tried to implement the Plugin into the newest Build of XBMC (T3CH) at my XBOX. I failed :sad:
I copied the Plugin into the Plugin Folder of XBMC. Then i searched for it via Video Plugin Installer but i can`t find any Data even if it exists.
How can i install this one?
TIA
timdog82001
2008-12-19, 10:07
I just tried to implement the Plugin into the newest Build of XBMC (T3CH) at my XBOX. I failed :sad:
I copied the Plugin into the Plugin Folder of XBMC. Then i searched for it via Video Plugin Installer but i can`t find any Data even if it exists.
How can i install this one?
TIA
Plugin Installer? You just need to put it in the XBMC/plugins/video/ folder.
rwparris2
2008-12-19, 10:19
xbmc for xbox with zoltar12's rtmp patch ::
works.
edit -- removed link to xbox binaries.
something tells me I wasn't supposed to do that :;):
BUT if you want the build, you *might* able to find it by clicking somewhere in my signature, and then by READING.
Thx, i´ll give it a try.
But why should i need a patch when the actual build supports RTMP natively.
Cya
rwparris2
2008-12-19, 10:32
Thx, i´ll give it a try.
But why should i need a patch when the actual build supports RTMP natively.
Cya
Try reading the thread (or at least the first post)
Also, for your installation question, read this http://xbmc.org/wiki/?title=Plugins
I have just downloaded your "xbmc for xbox with zoltar12's rtmp patch" and installed to my Xbox which I have already installed the Hulu plugin.
I can navigate the tv programs right to the episode to play, but nothing happens!
I would appreciate any guidance in getting it to work.
As a side, how do I check the rev of XBMC SVN i am running, I looked in System info and see XBMC - SVN-r10070-4.1.2 (Oct 29 2008) is this the correct one?
Thanks.
rwparris2
2008-12-19, 17:27
mique,
I didn't have much time to test it, I only started a few 30 rock episodes and saw that they worked.
Which ones didn't work for you?
Are you in the USA?
angrycamel
2008-12-19, 17:39
Hey I just gave it a shot too but got the same result.
I tried 24, and a few others. Here is the debug log from trying 24. It looks like it can't see hulu.com for some reason. (RSS works fine on the XBMC homepage, so I know that it can see the interweb). I will play around and see if its just this plugin or all.
10:33:54 M: 14098432 NOTICE: HULU -> Start
10:33:54 M: 14098432 NOTICE:
10:33:54 M: 14098432 NOTICE: Mode: 2
10:33:54 M: 14098432 NOTICE:
10:33:54 M: 14098432 NOTICE: URL: None
10:33:54 M: 14098432 NOTICE:
10:33:54 M: 14098432 NOTICE: Name: 24
10:33:54 M: 14098432 NOTICE:
10:33:54 M: 14098432 NOTICE: Thumbnail: None
10:33:54 M: 14098432 NOTICE:
10:33:54 M: 14098432 NOTICE: Handle : 1
10:33:54 M: 14098432 NOTICE:
10:33:54 M: 14098432 NOTICE: Episode Listing
10:33:54 M: 14098432 NOTICE:
10:33:54 M: 14098432 NOTICE: HULU -> Show Name : 24
10:33:54 M: 14098432 NOTICE:
10:33:54 M: 14098432 NOTICE: HULU -> Show URL :http://www.hulu.com/feed/search/24?company=all&showname=all&special_feature=all&type=episode
10:33:54 M: 14098432 NOTICE:
10:33:54 M: 14098432 DEBUG: LoadLibraryA('ws2_32')
10:33:54 M: 14098432 DEBUG: LoadLibrary('ws2_32.dll') returning: 00792178
10:33:54 M: 14106624 DEBUG: dllGetProcAddress(00792138(ws2_32.dll), 'getaddrinfo') => 0023A650
10:33:54 M: 14098432 DEBUG: dllGetProcAddress(00792138(ws2_32.dll), 'getaddrinfo') => 0023A650
10:33:54 M: 14098432 DEBUG: dllGetProcAddress(00792138(ws2_32.dll), 'getnameinfo') => 0023A66B
10:33:54 M: 14098432 DEBUG: dllGetProcAddress(00792138(ws2_32.dll), 'freeaddrinfo') => 0023A68F
10:34:02 M: 14098432 ERROR: DNS lookup for www.hulu.com failed: 10060
10:34:02 M: 14098432 NOTICE: Traceback (most recent call last):
10:34:02 M: 14098432 NOTICE: File "Q:\plugins\video\Hulu\default.py", line 369, in ?
10:34:03 M: 14098432 NOTICE:
10:34:03 M: 14106624 NOTICE: getSearchResult(name)
10:34:03 M: 14098432 NOTICE: File "Q:\plugins\video\Hulu\default.py", line 50, in getSearchResult
10:34:03 M: 14098432 NOTICE:
10:34:03 M: 14098432 NOTICE: response = urllib2.urlopen(req)
10:34:03 M: 14098432 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 130, in urlopen
10:34:03 M: 14098432 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 358, in open
10:34:03 M: 14098432 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 376, in _open
10:34:03 M: 14098432 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 337, in _call_chain
10:34:03 M: 14106624 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 1021, in http_open
10:34:03 M: 14098432 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 996, in do_open
10:34:03 M: 14098432 NOTICE: urllib2
10:34:03 M: 14098432 NOTICE: .
10:34:03 M: 14098432 NOTICE: URLError
10:34:03 M: 14098432 NOTICE: :
10:34:03 M: 14098432 NOTICE: <urlopen error (4, 'getaddrinfo failed')>
10:34:03 M: 14098432 NOTICE:
10:34:03 M: 14098432 ERROR: Scriptresult: Error
10:34:03 M: 14098432 INFO: Python script stopped
10:34:03 M: 14622720 INFO: Python, unloading python24.dll because no scripts are running anymore
10:34:03 M: 14622720 NOTICE:
10:34:03 M: 14622720 NOTICE:
10:34:03 M: 14725120 DEBUG: Q:\system\python\DLLs\_socket.pyd: Detected 1 unloaded dll's
10:34:03 M: 14774272 DEBUG: Q:\system\python\DLLs\_ssl.pyd (base 10000000): Detected memory leaks: 1647 leaks
10:34:03 M: 14778368 DEBUG: leak caller address 1000489b, size 20064, counter 1645
10:34:03 M: 14778368 DEBUG: leak caller address 100048b0, size 4224, counter 2
10:34:03 M: 14778368 DEBUG: _ssl.pyd: Total bytes leaked: 24288
10:34:03 M: 15278080 DEBUG: Q:\system\python\python24.dll (base 1E000000): Detected memory leaks: 583 leaks
10:34:03 M: 18857984 DEBUG: leak caller address 1e0211cb, size 24, counter 1
10:34:03 M: 18857984 DEBUG: leak caller address 1e046f57, size 500160, counter 102
10:34:03 M: 18857984 DEBUG: leak caller address 1e04ff6b, size 1000, counter 1
10:34:03 M: 18857984 DEBUG: leak caller address 1e058c2c, size 233, counter 1
10:34:03 M: 18857984 DEBUG: leak caller address 1e05cddb, size 34580, counter 35
10:34:03 M: 18857984 DEBUG: leak caller address 1e05e5ef, size 1976, counter 2
10:34:03 M: 18857984 DEBUG: leak caller address 1e060ea5, size 912, counter 33
10:34:03 M: 18857984 DEBUG: leak caller address 1e060f81, size 84, counter 5
10:34:03 M: 18857984 DEBUG: leak caller address 1e072c5f, size 3145728, counter 12
10:34:03 M: 18857984 DEBUG: leak caller address 1e072cac, size 64, counter 1
10:34:03 M: 18857984 DEBUG: leak caller address 1e072e88, size 61548, counter 115
10:34:03 M: 18857984 DEBUG: leak caller address 1e072fc9, size 9743, counter 266
10:34:03 M: 18857984 DEBUG: leak caller address 1e091e3f, size 640, counter 3
10:34:03 M: 18857984 DEBUG: leak caller address 1e093bec, size 72, counter 6
10:34:03 M: 18857984 DEBUG: python24.dll: Total bytes leaked: 3756764
10:34:03 M: 19988480 DEBUG: DIRECTORY::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
10:34:03 M: 20320256 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/Hulu/?mode=2&name=24) failed
10:34:03 M: 20320256 DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/Hulu/)
10:34:03 M: 20320256 DEBUG: ParentPath = [plugin://video/]
10:34:03 M: 20320256 DEBUG: Loading fileitems [plugin://video/Hulu/]
10:34:03 M: 20230144 DEBUG: -- items: 11, directory: plugin://video/Hulu/ sort method: 0, ascending: false
10:34:06 M: 19730432 DEBUG: CApplication::OnKey: 216 pressed, action is 9
10:34:06 M: 19992576 DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/)
10:34:06 M: 19992576 DEBUG: ParentPath = []
NEVERMIND... it's happening for anything internet related on my Xbox right now for some reason. Cannot see DNS.
angrycamel
2008-12-19, 18:15
Well I got the networking issue worked out. Not sure what was going on, but I just retyped all of my static settings again and it worked.
Now I am still unable to play a 30 rock episode that RWParris2 said he could do.
Here is my debug log: (Looks like it can't see r.hulu.com) I get a 404 when I load r.hulu.com on my pc too. Does that help?
11:05:51 M: 17948672 DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/Hulu/?mode=3&name=30+Rock%3A+A+Sound+Investment&url=http%3A%2F%2Fwww.hulu.com%2Fwatch%2F45647%2F30-rock-a-sound-investment&thumbnail=http%3A%2F%2Fthumbnails.hulu.com%2F12%2F 684%2F53076_145x80_generated__f4pN3dCLpE652pwgCabk ZA.jpg)
11:05:51 M: 17948672 DEBUG: ParentPath = [plugin://video/Hulu/?mode=2&name=30+Rock]
11:05:51 M: 17948672 DEBUG: DIRECTORY::CPluginDirectory::GetDirectory - URL for plugin settings: Hulu/
11:05:51 M: 17948672 ERROR: Unable to load: Q:\plugins\video\Hulu\resources\settings.xml, Line 0
Failed to open file
11:05:51 M: 17948672 DEBUG: unable to load Q:\plugins\video\Hulu\resources\language\english\s trings.xml: Failed to open file at line 0
11:05:51 M: 17948672 DEBUG: DIRECTORY::CPluginDirectory::GetDirectory - calling plugin Q:\plugins\video\Hulu\default.py('plugin://video/Hulu/','1','?mode=3&name=30+Rock%3A+A+Sound+Investment&url=http%3A%2F%2Fwww.hulu.com%2Fwatch%2F45647%2F30-rock-a-sound-investment&thumbnail=http%3A%2F%2Fthumbnails.hulu.com%2F12%2F 684%2F53076_145x80_generated__f4pN3dCLpE652pwgCabk ZA.jpg')
11:05:51 M: 17948672 DEBUG: LoadLibraryA('python24.dll')
11:05:51 M: 16826368 DEBUG: LoadLibrary('python24.dll') returning: 01767120
11:05:51 M: 16826368 DEBUG: dllGetProcAddress(007921A0(kernel32.dll), 'InterlockedCompareExchange') => 00260F34
11:05:51 M: 16560128 DEBUG: GetModuleFileNameA(00000000, 1E102490, 256) => 'xbmc.xbe'
11:05:51 M: 16560128 DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
11:05:51 M: 16560128 DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
11:05:51 M: 16502784 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
11:05:51 M: 16506880 DEBUG: LoadLibraryA('zlib.pyd')
11:05:51 M: 16437248 DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
11:05:51 M: 16437248 DEBUG: LoadLibrary('zlib.pyd') returning: 01070AA0
11:05:51 M: 16437248 DEBUG: dllGetProcAddress(1E1B0000(zlib.pyd), 'initzlib') => 1E1B2150
11:05:51 M: 15548416 NOTICE: -->Python Initialized<--
11:05:51 M: 15548416 NOTICE:
11:05:51 M: 15024128 DEBUG: DIRECTORY::CPluginDirectory::WaitOnScriptResult - waiting on the Hulu plugin...
11:05:52 M: 14245888 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
11:05:52 M: 14245888 DEBUG: LoadLibraryA('_socket.pyd')
11:05:52 M: 14196736 DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
11:05:52 M: 14196736 DEBUG: LoadLibrary('_socket.pyd') returning: 01546CA0
11:05:52 M: 14196736 DEBUG: dllGetProcAddress(1E1D0000(_socket.pyd), 'init_socket') => 1E1D4BF0
11:05:52 M: 14196736 DEBUG: LoadLibraryExA called with flags:
- LOAD_WITH_ALTERED_SEARCH_PATH
11:05:52 M: 14196736 DEBUG: LoadLibraryA('_ssl.pyd')
11:05:52 M: 13701120 DEBUG: Unable to resolve msvcr71.dll _getch
11:05:52 M: 13701120 DEBUG: Unable to resolve kernel32.dll FlushConsoleInputBuffer
11:05:52 M: 13701120 DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
11:05:52 M: 13701120 DEBUG: LoadLibrary('_ssl.pyd') returning: 0161F6F0
11:05:52 M: 13701120 DEBUG: dllGetProcAddress(02B10000(_ssl.pyd), 'init_ssl') => 02B11820
11:05:52 M: 13701120 DEBUG: kernel32.dll fake function SetConsoleCtrlHandler called
11:05:52 M: 13688832 DEBUG: dllGetProcAddress(00792A28(advapi32.dll), 'CryptAcquireContextA') => 0023713E
11:05:52 M: 13688832 DEBUG: dllGetProcAddress(00792A28(advapi32.dll), 'CryptGenRandom') => 0023714F
11:05:52 M: 13688832 DEBUG: advapi32.dll fake function dllCryptAcquireContext() called
11:05:52 M: 10178560 INFO: Loading skin file: DialogBusy.xml
11:05:52 M: 10145792 DEBUG: Load DialogBusy.xml: 70.30ms
11:05:52 M: 10129408 DEBUG: Alloc resources: 75.67ms (75.66 ms skin load, 0.01 ms preload)
11:05:53 M: 9437184 INFO: Loading skin file: DialogProgress.xml
11:05:53 M: 9572352 DEBUG: Load DialogProgress.xml: 32.54ms
11:05:53 M: 9531392 DEBUG: Alloc resources: 15.85ms (0.00 ms skin load, 0.34 ms preload)
11:05:54 M: 11952128 NOTICE: HULU -> Start
11:05:54 M: 11952128 NOTICE:
11:05:54 M: 11952128 NOTICE: Mode: 3
11:05:54 M: 11952128 NOTICE:
11:05:54 M: 11952128 NOTICE: URL: http://www.hulu.com/watch/45647/30-rock-a-sound-investment
11:05:54 M: 11952128 NOTICE:
11:05:54 M: 11952128 NOTICE: Name: 30 Rock: A Sound Investment
11:05:54 M: 11952128 NOTICE:
11:05:54 M: 11952128 NOTICE: Thumbnail: http://thumbnails.hulu.com/12/684/53076_145x80_generated__f4pN3dCLpE652pwgCabkZA.jpg
11:05:54 M: 11952128 NOTICE:
11:05:54 M: 11952128 NOTICE: Handle : 1
11:05:54 M: 11952128 NOTICE:
11:05:54 M: 11952128 NOTICE: Episode
11:05:54 M: 11952128 NOTICE:
11:05:54 M: 11952128 DEBUG: LoadLibraryA('ws2_32')
11:05:54 M: 11952128 DEBUG: LoadLibrary('ws2_32.dll') returning: 00792178
11:05:54 M: 11952128 DEBUG: dllGetProcAddress(00792138(ws2_32.dll), 'getaddrinfo') => 0023A650
11:05:54 M: 11952128 DEBUG: dllGetProcAddress(00792138(ws2_32.dll), 'getaddrinfo') => 0023A650
11:05:54 M: 11952128 DEBUG: dllGetProcAddress(00792138(ws2_32.dll), 'getnameinfo') => 0023A66B
11:05:54 M: 11952128 DEBUG: dllGetProcAddress(00792138(ws2_32.dll), 'freeaddrinfo') => 0023A68F
11:05:55 M: 11837440 NOTICE: Found 12234646
11:05:55 M: 11837440 NOTICE:
11:05:55 M: 11952128 NOTICE: HULU -> Content ID : 12234646
11:05:55 M: 11952128 NOTICE:
11:06:02 M: 11952128 ERROR: DNS lookup for r.hulu.com failed: 10060
11:06:02 M: 11952128 NOTICE: Traceback (most recent call last):
11:06:02 M: 11952128 NOTICE: File "Q:\plugins\video\Hulu\default.py", line 372, in ?
11:06:02 M: 11952128 NOTICE:
11:06:02 M: 11960320 NOTICE: getEpisode(name, url)
11:06:02 M: 11952128 NOTICE: File "Q:\plugins\video\Hulu\default.py", line 93, in getEpisode
11:06:02 M: 11952128 NOTICE:
11:06:02 M: 11952128 NOTICE: response = urllib2.urlopen(req)
11:06:02 M: 11952128 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 130, in urlopen
11:06:02 M: 11952128 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 358, in open
11:06:02 M: 11952128 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 376, in _open
11:06:02 M: 11874304 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 337, in _call_chain
11:06:02 M: 11960320 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 1021, in http_open
11:06:02 M: 11952128 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 996, in do_open
11:06:02 M: 11952128 NOTICE: urllib2
11:06:02 M: 11952128 NOTICE: .
11:06:02 M: 11952128 NOTICE: URLError
11:06:02 M: 11952128 NOTICE: :
11:06:02 M: 11952128 NOTICE: <urlopen error (4, 'getaddrinfo failed')>
11:06:02 M: 11952128 NOTICE:
11:06:02 M: 11952128 ERROR: Scriptresult: Error
11:06:02 M: 11952128 INFO: Python script stopped
11:06:02 M: 12476416 INFO: Python, unloading python24.dll because no scripts are running anymore
11:06:02 M: 12476416 NOTICE:
11:06:02 M: 12476416 NOTICE:
11:06:03 M: 12578816 DEBUG: Q:\system\python\DLLs\_socket.pyd: Detected 1 unloaded dll's
11:06:03 M: 12627968 DEBUG: Q:\system\python\DLLs\_ssl.pyd (base 02B10000): Detected memory leaks: 1647 leaks
11:06:03 M: 12627968 DEBUG: leak caller address 2b1489b, size 20064, counter 1645
11:06:03 M: 12627968 DEBUG: leak caller address 2b148b0, size 4224, counter 2
11:06:03 M: 12627968 DEBUG: _ssl.pyd: Total bytes leaked: 24288
11:06:03 M: 13127680 DEBUG: Q:\system\python\python24.dll (base 1E000000): Detected memory leaks: 583 leaks
11:06:03 M: 16711680 DEBUG: leak caller address 1e0211cb, size 24, counter 1
11:06:03 M: 16711680 DEBUG: leak caller address 1e046f57, size 500160, counter 102
11:06:03 M: 16711680 DEBUG: leak caller address 1e04ff6b, size 1000, counter 1
11:06:03 M: 16711680 DEBUG: leak caller address 1e058c2c, size 233, counter 1
11:06:03 M: 16711680 DEBUG: leak caller address 1e05cddb, size 34580, counter 35
11:06:03 M: 16711680 DEBUG: leak caller address 1e05e5ef, size 1976, counter 2
11:06:03 M: 16711680 DEBUG: leak caller address 1e060ea5, size 912, counter 33
11:06:03 M: 16711680 DEBUG: leak caller address 1e060f81, size 84, counter 5
11:06:03 M: 16711680 DEBUG: leak caller address 1e072c5f, size 3145728, counter 12
11:06:03 M: 16711680 DEBUG: leak caller address 1e072cac, size 64, counter 1
11:06:03 M: 16711680 DEBUG: leak caller address 1e072e88, size 61548, counter 115
11:06:03 M: 16711680 DEBUG: leak caller address 1e072fc9, size 9743, counter 266
11:06:03 M: 16711680 DEBUG: leak caller address 1e091e3f, size 640, counter 3
11:06:03 M: 16711680 DEBUG: leak caller address 1e093bec, size 72, counter 6
11:06:03 M: 16711680 DEBUG: python24.dll: Total bytes leaked: 3756764
11:06:03 M: 17838080 DEBUG: DIRECTORY::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
Still DNS issues: ERROR: DNS lookup for r.hulu.com failed: 10060
You still have network issues. Gotta fix those first.
angrycamel
2008-12-19, 19:03
Still DNS issues: ERROR: DNS lookup for r.hulu.com failed: 10060
You still have network issues. Gotta fix those first.
(Looks like it can't see r.hulu.com) I get a 404 when I load r.hulu.com on my pc too.
I can ping it from my pc to 209.170.118.16. I am not sure why it wont work from the xbox when everything else works.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:>ping r.hulu.com
Pinging a1826.g.akamai.net [209.170.118.16] with 32 bytes of data:
Reply from 209.170.118.16: bytes=32 time=11ms TTL=253
Reply from 209.170.118.16: bytes=32 time=13ms TTL=253
Reply from 209.170.118.16: bytes=32 time=12ms TTL=253
Reply from 209.170.118.16: bytes=32 time=16ms TTL=253
Ping statistics for 209.170.118.16:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 11ms, Maximum = 16ms, Average = 13ms
C:>
Does anyone have any ideas?
It throws a 404 if accessed directly, but it dns lookup on it works fine.
Ignore trying to goto it directly. You are still having DNS issues. Try some other DNS IPs such as 4.2.2.2 or 4.2.2.1.
@ reparris2
I am in USA
All the menu tv programs that I can see all navigate to the episode to play but when requested to play, nothing happens.
If I can give you more information please let me know.
angrycamel
2008-12-19, 19:46
It throws a 404 if accessed directly, but it dns lookup on it works fine.
Ya, I noticed that when I pinged it.
Try some other DNS IPs such as 4.2.2.2 or 4.2.2.1.
Thanks for the tip. I had the DNS address set to my router's address which is a Verizon Fios supplied router, so maybe that thing has some issues.
After trying with the DSN IP you gave (4.2.2.2), it worked perfectly.
Thanks for the tip!
philipacentaur
2008-12-19, 22:39
Thanks for posting that RTMP build, man.
This plugin is working great! I'm using the modified script with all the movies and shows, and I really haven't found anything that hasn't worked yet. Is someone working on a scraper for this? It would be awesome to integrate library support.
Anyway, nice job!
rwparris2
2008-12-19, 22:54
Thanks for posting that RTMP build, man.
This plugin is working great! I'm using the modified script with all the movies and shows, and I really haven't found anything that hasn't worked yet. Is someone working on a scraper for this? It would be awesome to integrate library support.
Anyway, nice job!
Building isn't so hard, you just download some stuff, click a bat file, and poof you've got a nice xbmc.rar
zoltar12 should get all the credit here as he's the one who made the patch.
I'm working on a scraper for the plugin itself when I have time (actually I've got all the code I just have to port it to something xbmc likes) but it won't be added to the library until someone makes the library compatible with launching python.
Here is my idea of how to handle it:
http://xbmc.org/forum/showthread.php?t=34443 + http://xbmc.org/trac/ticket/5442
Glad it is working for someone.
@mique will Family Guy play? Family Guy should play no matter what, if it doesn't you've problems beyond what the patch fixes.
@zoltar12:
would you mind explaining how that patch works? I swear it looks like all it does is cut the string off at the ';' but obviously there is something more to it...
@ rwparris2
No, Family Guy will not Play.
Let's make sure my set up is correct, I loaded your patched xbmc to my Xbox. I have installed the Hulu Plugin which I activate to get to all the menu's. I see all the choices but for some reason nothing plays. I get nothing, so I press select again and get the following error box "Playlist Playback Aborted, To Many Consecutive Fake Items"
Does this shed some light?
Cheers
angrycamel
2008-12-20, 00:25
No, Family Guy will not Play.
Let's make sure my set up is correct, I loaded your patched xbmc to my Xbox. I have installed the Hulu Plugin which I activate to get to all the menu's. I see all the choices but for some reason nothing plays. I get nothing, so I press select again and get the following error box "Playlist Playback Aborted, To Many Consecutive Fake Items"
Does this shed some light?
Cheers
Can you turn on debug logging in the control panel and try again? Once you do, grab the xbmc.log that gets created by FTP'ing to your xbox. Its in the root of your XBMC folder.
You must turn on debug logging then try the hulu scriupt again so that it will write the errors into the log. Then just paste the pertinent log contents here in a code block for us to check out.
OK - Debug Log is activated.
How do I paste in a 'code Block'
Thanks
rwparris2
2008-12-20, 00:55
How do I paste in a 'code Block'
You can either use a paste site like http://pastebin.ca/ or http://nopaste.com
Or you can paste the contents into the reply box, highlight it, and click the hash symbol in the forum's toolbar. It looks like a #.
It will insert [ CODE ] [ / CODE] around whatever you've highlighted.
You can use the preview button to make sure it looks right. If it complains about it being too long, just use one of the paste sites.
You can either use a paste site like http://pastebin.ca/ or http://nopaste.com
Or you can paste the contents into the reply box, highlight it, and click the hash symbol in the forum's toolbar. It looks like a #.
It will insert [ CODE ] [ / CODE] around whatever you've highlighted.
You can use the preview button to make sure it looks right. If it complains about it being too long, just use one of the paste sites.
OK Here it is http://pastebin.ca/1289875
JeffElkins
2008-12-20, 04:47
In all honesty I have to ask about Boxee. How come XBMC can't use Boxee's Hulu code? Are they taking from XBMC and not giving back?
jmarshall
2008-12-20, 05:00
The code is available for most of what is required (and the rest of it is just 2 executables which may or may not become available separately). I'm not sure what it offers above what this plugin offers though.
In any case, it's US only pretty much, and as most of our developers are outside of the US, we're not all that interested in it!
Cheers,
Jonathan
JeffElkins
2008-12-20, 06:15
In any case, it's US only pretty much, and as most of our developers are outside of the US, we're not all that interested in it!
Cheers,
Jonathan
Cheers indeed. Merry Christmas.
darkspur
2008-12-20, 06:24
xbmc for xbox with zoltar12's rtmp patch :: http://www.mediafire.com/?sharekey=7aa10c287b9f0daad2db6fb9a8902bda
works.
Thanks much! Watching The Office now with this... good stuff!
rwparris2
2008-12-20, 08:08
I removed the link to the binary.
something tells me I wasn't supposed to do that :;):
BUT if you want the build, you *might* able to find it by clicking somewhere in my signature and looking around...
This is awesome, I hope you add it to the repository!
I have yet to encounter a video that has not played with the patch from rwparris2. I am running on an xbox with 128Mb ram. It loads quick and plays fine. No fast forward though. I am still going through a list of videos. I will post if i have any that dont work.
Thanks for all the hard work everyone
angrycamel
2008-12-20, 20:55
OK Here it is http://pastebin.ca/1289875
It says that it can't open the RTMP stream. Are you outside of the US maybe?
ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, rtmp://cp39465.hulu.com:1935/ondemand?_fcs_vhost=cp39465.hulu.com&auth=daEbLcjbRb8b_dpc3cHdObncpdMdnaSdHa5-bjtcBq-8-3pOCuDnZDAr&aifp=NS20070910&slist=content/39478/12/371/HuluTranscode_50539_38677_FLASH_480K_4x3_29_97__Yn rVdu79KUabipk6GxVMPw
@ rwparris2 & angrycamel
I reloaded your 'patch' and all is working now.
Question, How can one add TV or Movies that are not on the current menu?
I would like to watch Hero's or Prison Break?
Thanks for the hard work.
angrycamel
2008-12-20, 21:42
@ rwparris2 & angrycamel
I reloaded your 'patch' and all is working now.
Question, How can one add TV or Movies that are not on the current menu?
I would like to watch Hero's or Prison Break?
Thanks for the hard work.
That's not really my work, but I would be happy to take credit for it! :laugh:
To see more shows, just open the python script (default.py) in a text editor on your PC and add items to the shows array. I think zoltar12 is working to add the ability to pull this list off of the Hulu site eventually, but for now it's hard coded.
Back on page 1 of this thread, Robc posted a more complete list (http://xbmc.org/forum/showpost.php?p=255753&postcount=3) of shows. If you drop these in place of the array in the script then you will be good to go.
The "shows" array is what you want to add to. See an example of what is in the file below. This is what you are looking for:
# this may be needed if Hulu changes their logic
shows = ["Fringe", "Family Guy", "Mythbusters", "The Office", "The Simpsons", "My Name is Earl", "30 Rock", "American Dad", "House Hunters", "Cool Tools", "24"]
Hope this helps!
AC
Perfect !! Working great.
rwparris2
2008-12-21, 01:22
@ rwparris2 & angrycamel
I reloaded your 'patch' and all is working now.
Question, How can one add TV or Movies that are not on the current menu?
I would like to watch Hero's or Prison Break?
Thanks for the hard work.
This was zoltar12's hard work. All I did was compile & upload it.
Your other question has already been answered.
This thread is starting to get a bit long, but a good idea is to read the first 2-3 pages before you ask a question, to see if its already been asked & answered.
@ Mique, angrycamel
Also on page 7, I posted a variation of the 0.1 default.py. It has a shows and movies array, also has menus to allow you to pick shows or movies. I consider it a stop-gap until scrapping is ready. I tested it and it worked ok at best for me, shows played well but movies only sometimes. I get a lot of messages saying "too many consecutive failed attempts". (That was my first attempt at doing anything in python.)
The revisions I made were at the same time 0.2 was posted. If someone can explain to me what 0.2 fixed I would appreciate it.
Full Movies Array
"2001 Maniacs", "20 Dates", "28 Days Later", "Adios Sabata", "Africa The Serengeti", "Air Force One", "Alaska Spirit of the Wild", "Alias Jesse James", "The Amateur", "American Virgin", "Amityville II The Possession", "Anatomy of a Psycho", "Antarctica", "Atom Age Vampire", "Attack", "August", "Australia Land Beyond Time", "Bad Girls From Mars", "The Barbarian and the Geisha", "Basic Instinct", "Beach Blanket Bingo", "Bears", "Beethovens 2nd", "Behind Enemy Lines", "Beloved Infidel", "Best Defense", "The Best Of Everything", "Between Heaven And Hell", "Bloody Mallory", "Blue Denim", "Blue Juice", "The Blue Max", "Blue Steel", "Body Slam", "Boomerang", "Brutal (aka Blackwater Valley Serial Killer)", "Buffalo Bill and the Indians", "Bulworth", "Burger Town", "Call Of The Wild", "Capone", "Caprice", "Carnival of Souls", "Casino Royale (1967)", "Chattahoochee", "Che", "China Moon", "Code of Silence", "Coffee And Cigarettes", "Cosmic Voyage", "Crawford", "The Crawling Hand", "Curse of Alcatraz", "The Curve", "Dark Fields (aka Farmer Brown)", "Dead End", "Deathwish", "The Desert Rats", "The Devils Own", "Dinosaurs Giants of Patagonia", "Dragonheart", "Dressed to Kill", "Dr. Phibes Rises Again", "Dude Wheres My Car?", "Duel At Diablo", "Eddie Murphy Raw", "Ed Gein The Butcher of Plainfield", "Enter the Ninja", "Fatal Attraction", "Fever Pitch", "The Fifth Element", "Fighter Pilot Operation Red Flag", "Flesh and Bone", "For Love of the Game", "Frankensteins Daughter", "Gattaca", "Ghostbusters", "Ghoulies II", "The Giant Gila Monster", "Go", "Going Overboard", "The Great American West", "The Greatest Places", "Great North", "The Great Train Robbery", "Guadalcanal Diary", "Hair", "Hans Christian Andersen", "Head Over Heels", "Heart Of Geauxld The Story Of The 2007 LSU Fighting Tigers", "Hercules in New York", "Hollywood Shuffle", "Hoop Dreams", "Horror Express", "In Her Shoes", "In The Heat Of The Night", "In the Mix", "In the Name of the Father", "The Island of Dr. Moreau", "Jackass 2.5", "Jailbait", "Jonah A VeggieTales Movie", "Joyride", "Just Between Friends", "Kagemusha", "The Karate Kid", "The Karate Kid II", "The Karate Kid III", "Keep Your Eyes Open", "Khartoum", "Killing Zoe", "Kiss The Bride", "Koyaanisqatsi", "The Last Man On Earth", "A League of their Own", "Liar Liar", "A Life Less Ordinary", "A Little Sex", "Lock Stock and Two Smoking Barrels", "The Longest Day", "Lost Worlds Life in the Balance", "Love and a 45 Madman", "The Madness of King George", "The Man Who Never Was", "Man With the Gun", "Master and Commander The Far Side of the World", "Meet The Mobsters", "Men in Black", "The Milagro Beanfield War", "The Miracle Maker", "Moby Dick", "A Modern Affair", "MoNique I Coulda Been Your Cellmate", "Moonstruck", "My Best Friends Wedding", "Naked Lunch", "National Lampoons Spring Break", "Near Dark", "Ned Kelly", "The Night Of The Headless Horseman", "The Night of The Hunter", "Night of the Living Dead", "Nine Lives", "Nobodys Fool", "North Shore", "Ocean Oasis", "Of Mice And Men", "One Funny Hick Spanic", "One Mans Hero", "Open Your Eyes", "Opportunity Knocks", "The Original Latin Divas of Comedy", "Parents", "Paul Mooney Analyzing White America", "The Payaso Comedy Slam", "The Pebble And The Penguin", "Peeper", "The People That Time Forgot", "The Phantom From 10000 Leagues", "Phat Beach", "Planet of the Apes", "Plunkett & Macleane", "The Pride of the Yankees", "The Private Life Of Sherlock Holmes", "Private School", "The Professional", "Pumpkin", "Quest for Fire", "Quills", "The Rats", "Requiem for a Dream", "The Return of a Man Called Horse", "Ring of Fire", "A River Runs Through It", "Rob Roy", "Rudy", "The Russia House", "Saints and Soldiers", "Search for the Great Sharks", "Sideways", "Slacker", "The Slums Of Beverly Hills", "SnakeEater", "Some Like it Hot", "Somewhere In Time", "Speedracer The Movie", "Split A Divided America", "Stanley & Iris", "Starship Troopers", "State Property", "Storefront Hitchcock", "The Stranger", "The Taking Of Pelham One Two Three", "Terror in the Haunted House", "Terror Is a Man", "The Thing", "Three Amigos", "Thunderbirds", "Totally Baked", "The Toxic Avenger", "Undiscovered", "Virus", "Voyage to the Bottom of the Sea", "Were Back", "A Dinosaurs Story", "When a Stranger Calls", "Wimbledon", "Wooly Boys", "Wuthering Heights"
mpskeeter
2008-12-21, 16:50
Enclosed is an extension of the 0.2 version that will scrape all of the shows in their inventory and reads the different RSS feeds.
I opted for ccmatrix's query for the Shows as it returns XML.
Still trying to find the equiv query for Movies.
The RSS feed locations are hard coded, will work on scraping that from the html.
I'm not a python programmer, so don't hammer me.
http://www.mediafire.com/?lzzwwjldeed
JeffElkins
2008-12-21, 22:48
It's frustrating, but the plugin doesn't work at all for me.
1. I click on any episode and I see two stream choices: 24 fps High/24 fps Medium.
2. Click either, a new choice is displayed (list mode name of stream)
3. When clicked, the screen goes blank briefly, then returns. Sometimes I see the words
buffering and canceled, but not always.
I'm using svn 16612 compiled on the 19th.
Is there any possibility to get this one working outside the U.S.?
TIA
It's frustrating, but the plugin doesn't work at all for me.
1. I click on any episode and I see two stream choices: 24 fps High/24 fps Medium.
2. Click either, a new choice is displayed (list mode name of stream)
3. When clicked, the screen goes blank briefly, then returns. Sometimes I see the words
buffering and canceled, but not always.
I'm using svn 16612 compiled on the 19th.
same for me, but most often it just doesn't happened anything at all when its going to start buffering.
(I live in Sweden)
JeffElkins
2008-12-22, 00:44
same for me, but most often it just doesn't happened anything at all when its going to start buffering.
(I live in Sweden)
I'm in the US and Hulu works fine from my browser.
The ;.international=false in shows urls such as 30 Rock, cause a bug in the rmtp library. I am submitting a bug, so hopefully the next release will have the fix.
Ticket for the fix, with the code. http://xbmc.org/trac/ticket/5492 This may take some time to make it into the next build, so you may want to get the latest from svn and compile you own.
So you have to manually include zoltar12's patch and compile your own build.
rwparris2
2008-12-22, 04:48
I posted an xbox build with zoltar's patch earlier in the thread, if that is what you're looking for kreach.
JeffElkins
2008-12-22, 04:53
I'm in the US and Hulu works fine from my browser.
Is anyone using this plugin with Ubuntu 8.04?
killyourscene
2008-12-23, 10:27
im in canada and i need this to work cause im lazy! there isnt anyway to setup a proxy for xbox??
im in canada and i need this to work cause im lazy! there isnt anyway to setup a proxy for xbox??
Check here to set proxy. Always check the XBMC manual- very comprehensive and useful.
http://xbmc.org/wiki/?title=Network_Settings
Cheers
The best for a such nice plugin like that would be to add the support of a proxy in it.
I did something similar once and it works well, but that implies coding in the plugin.
The solution of setting the proxy for XBMC is so so (at least for me :)), because if you have another script or plugin only availble in a country you will spend time to change it on XBMC all the time, that the reason why having in in the conf of the plugin would be great and very much appreicated :D
Here is a short example (porbably there are better ways to do it) of waht I did at the time:
def loadVideo(self, videoPage):
print "getVideoURL - videoPage = %s"%videoPage
opener = None
videoUrl = ""
videoContainerUrl = ""
proxy_address = self.cfgMgr.getProxy()
if proxy_address == "":
print "NO proxy defined"
# create opener
opener = urllib2.build_opener()
else:
print "proxy DEFINED"
print proxy_address
# create the proxy handler
proxy_handler = urllib2.ProxyHandler({'http':proxy_address})
# create opener
opener = urllib2.build_opener(proxy_handler)
# install the opener
urllib2.install_opener(opener)
# Get the Web page with the video url container link
req=urllib2.Request(videoPage)
videoDoc=urllib2.urlopen(req).read()
There is also some code to get the proxy address form a conf file if someone is interested.
killyourscene
2008-12-24, 04:39
no luck getting this to work with a proxy (one located in the US). it actually flakes out even earlier on. i can't even see an episode list with a proxy enabled.
i live in canada and i think we need to just merge countries already....
I'm getting a list index out of range error.
Here's from my log:
10:53:46 M: 38961152 NOTICE: -->Python Initialized<--
10:53:46 M: 38940672 NOTICE:
10:53:49 M: 34697216 NOTICE: Traceback (most recent call last):
10:53:49 M: 34697216 NOTICE: File "Q:\scripts\Hulu\default.py", line 28, in ?
10:53:49 M: 34697216 NOTICE:
10:53:49 M: 34676736 NOTICE: D_HANDLE = sys.argv[1]
10:53:49 M: 34676736 NOTICE: IndexError
10:53:49 M: 34697216 NOTICE: :
10:53:49 M: 34697216 NOTICE: list index out of range
10:53:49 M: 34697216 NOTICE:
10:53:49 M: 34697216 ERROR: Scriptresult: Error
10:53:49 M: 35221504 NOTICE:
10:53:49 M: 35221504 NOTICE:
I'm not familiar with scripting in XBMC, so I don't know what sys.argv[] even is or does. Any one else with this issue?
Hi,
Someone asked me to post the code I was talking about for the proxy, here is the google code page of the plugin: http://code.google.com/p/passion-xbmc/source/browse/trunk/Plugins/artePLUS7/default.py
If you have any questions, just ask! :)
I started to look at integrate proxy support to this nice plugin, I am pretty interested since I am not in the US.
I did some progress, but I still don't have it working, I didn't get a chance to spend to much time on it.
If any one has the IP of a free proxy which is pretty good and fast, it would be nice and easier for my tests (if you don't want to post it here please sent it by MP). I have one bit it is very very slow and does not seems to work all the time :(.
I am not sure if it will work, but let give it a try! My main concern is for the video itself, if we have to stream it via a proxy, performance risk to be very very poor, or even it could not work, but let's see!
Merry Christmas to all of you!
Thanks, checking this out now! Can't wait to see this blow up!
philipacentaur
2008-12-26, 06:22
I made a quick and dirty modification using one or several of the scripts posted here as a foundation/for spare parts. I am not too familiar with Python, but I've managed to make it do what I want without much fuss -- sorry for the ugly code.
HERE - > http://www.mediafire.com/?cgkzyjj0ntm
It scrapes TV Shows and Movies from the Hulu site, and reformats the episode names of TV shows to the "Show Name - XXxXX - Episode Title" format so they sort nicely and clips are easier to distinguish from full episodes.
Thanks again to everyone who has put work into this. I look forward to seeing whatever better versions other people are probably working on.
Thanks for everyone's work on this script. it is a dream come true for me.
I don't know python but i do know a little about ripping hulu videos.
I have been saving the 480p streams h264/aac flv files and using ffmpeg to remux to mkv. There used to be a bug in ffmpeg i submitted that wouldn't allow the video to be remuxed but that is now fixed in the newer svns.
I also save the smi subtitles and chapter points to mux in with the files. I convert the smi files to srt using subtitle workshop.
well anyway more to the point. I have some feature suggestions that i would like to make. I hope i don't sound demanding just some stuff i would like to see implemented if possible. I am not sure what would be script side and what would be xbmc side. so i will try to put those in the right places once i do know. again thanks for all the great work.
1. support for 480p(h264/aac) streams. Its really 640x480 for 4x3 material and 720x400 for 16x9 material.
2. support for displaying the smi subtitles
3. use of the chapter marks to skip through the episodes(really just commercial break marks)
4. being able to resume stopped videos(maybe a recently played list)
5. an option to play commercials for the videos(we all want to be able to support hulu right. i love the service and don't want it to disappear)
6. ability to save the streams to your harddisk
I am reading up on some python now and perhaps i can get some of these working myself. i know mplayer supports smi subtitles on the xbox version of xbmc so i don't think that will be much of an issue. I am just not sure about how to implement much of this and perhaps others do. I will do my best to learn and see what is currently possible through the scripting.
Edit: i forgot to mention that xbmc doesn't like to play the saved flv files containing h264/aac so i know that will be an issue but i think if they port the new svns or mplayer to xbmc then it would work because the current mplayers do support it now. I am not requesting this just saying that i think that will be in the realm of xbmc developers and not the script makers. It will play the remuxed mkv files containing the same video and audio though.
also if i can help in anyway on how to scrape the smi subtitles or chapter marks i will help but i think the people here are probably knowledgeable enough to have already figured that out.
Great work! thanks again to all involved
Edit2: I have found that you can play h264/aac in an flv file if you open with dvdplayer instead of mplayer. i thought this information might be useful.
timdog82001
2008-12-27, 03:35
1. support for 480p(h264/aac) streams. Its really 640x480 for 4x3 material and 720x400 for 16x9 material.
2. support for displaying the smi subtitles
3. use of the chapter marks to skip through the episodes(really just commercial break marks)
4. being able to resume stopped videos(maybe a recently played list)
5. an option to play commercials for the videos(we all want to be able to support hulu right. i love the service and don't want it to disappear)
6. ability to save the streams to your harddisk
I'd like to second these requests, especially to be able to resume stopped videos. I've found that trying to skip forward or backward screws up the playback, and you have to start the video over again. Fastforwarding and rewinding as well as pausing for too long also have this effect. As we speak, I am playing the first 40 minutes of a movie on mute till I get to where I was, because i had to start it over again.
I also think it might be nice to be able to support hulu with ads. Not that I enjoy the ads...but I'd rather watch a few ads than have hulu finding ways to block us.
I just downloaded the plugin and it's great! One thing though, how do I get it to scrape for more shows? I'm pretty new at this so some basic help would be really appreciated.
EDIT: Figured it out, should have read the first post better!
Enclosed is an extension of the 0.2 version that will scrape all of the shows in their inventory and reads the different RSS feeds.
I opted for ccmatrix's query for the Shows as it returns XML.
Still trying to find the equiv query for Movies.
The RSS feed locations are hard coded, will work on scraping that from the html.
I'm not a python programmer, so don't hammer me.
http://www.mediafire.com/?lzzwwjldeed
I used this .2 version and it works pretty well. My only problem is the "Movies" section only lists 24 movies where as the older, manual list has about 130. Also the "Shows" section cuts off around the letter R.
Anyway that's an easy fix?
I'm also having trouble with the .2 version freezing up at the end of clips pretty frequently and I have to reboot the xbox.
BUT....a huge thanks for the script anyway. It's pretty awesome.
timdog82001
2008-12-27, 05:13
I used this .2 version and it works pretty well. My only problem is the "Movies" section only lists 24 movies where as the older, manual list has about 130. Also the "Shows" section cuts off around the letter R.
Anyway that's an easy fix?
I'm also having trouble with the .2 version freezing up at the end of clips pretty frequently and I have to reboot the xbox.
BUT....a huge thanks for the script anyway. It's pretty awesome.
same issues here
philipacentaur
2008-12-27, 05:50
I used this .2 version and it works pretty well. My only problem is the "Movies" section only lists 24 movies where as the older, manual list has about 130. Also the "Shows" section cuts off around the letter R.
Anyway that's an easy fix?
I'm also having trouble with the .2 version freezing up at the end of clips pretty frequently and I have to reboot the xbox.
BUT....a huge thanks for the script anyway. It's pretty awesome.
The one I posted was made specifically to address those first two issues. As for the freezing -- that's over my head.
I've fixed a few problems with my "version" that I hadn't run into before I uploaded it. I'll probably post a new "default.py" when I finish hammering out a few more.
Anyone else having issues playing? My shows run for about 20 min or so, then the XBox locks up and I have to reboot. Any help?
i am using philipacentaur modification for complete show/movie list. it loads the show/movies lists very quickly. catching up on chuck episodes now.
I am also having an issue with with freezing at the end of the episode and i am using the custom build posted earlier in the thread along with phllacentaur modified script. It doesn't completely freeze because if i let it sit for a minute or 2 it will finally stop.
part of the issue i am having is that once it is playing out the last of the buffer at the end of the episode it will freeze and play to the last frame(then freeze). the remote controls don't respond while it plays out the buffer either.
as a current work around i just stop the episodes when the credits start to play and i don't have any freezing issues.
philipacentaur: if you don't mind elaborating can you elaborate on these bugs you're fixing? sorry i am always curious.
have you tried parsing the rmtp url for the 480p stream from the smil xml file?
I notice that they are streaming from a different server then the vp6/mp3 700kb and 400kb flv files.
Is there more security on streaming these files? or is it simply a incompatibility with xbmc.
edit: sorry just saw the code comment "# do not handle h264 yet, need to decode the url"
I got a python book and im reading up so maybe i can help soon.
Also for those looking into adding subtitles support it is a pretty easy url.
"http://www.hulu.com/videos/transcripts/" + PID + ".xml"
which contains something like
<transcripts>
<en>
http://www.hulu.com/transcripts/XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.smi
</en>
</transcripts>
I have yet to find any with more then the "en" english subtitles though
"http://www.hulu.com/transcripts/" + PID + ".smi"
so the real url for the subtitles file though.
I have been trying to get xbmc to display these but there is some bug in display the smi file i have saved. i am looking at some logs in an attempt to figure this out now. if i convert these files to srt there is not an issue.
philipacentaur
2008-12-27, 06:46
I'm glad it's working for you.
I'm just trying to get a hang of Unicode translation, since it screws up at least one show that I know of.
I would love to use RSS feeds, but they simply don't exist in any complete/usable form that we know of, so I'm scraping the HTML and using the feed search. Another thing I fixed since my upload was dealing with shows that have colons in the title. I was splitting titles from the feed search results at the colon and making sure they matched the scraped titles before they're added to the menus, but I neglected to consider the case of titles containing colons -- so I fixed that. I only did this because "Battlestar Galactica" was also listing "Battlestar Galactica Classic" episodes. No big deal, but I found it annoying.
Uh, and I guess I'll need to figure out a way to deal with TV Shows and Movies that have the exact same title, because you'll notice that "Voyage To The Bottom Of The Sea" lists the TV Show episodes in both the move and TV show listings.
Anyway, sorry this is all so scatterbrained. I have a wicked cold and my brain is cloudy as hell.
I'll play around with the subtitle thing. You make some good suggestions, so I'm looking forward to seeing what you do when you hit the books.
this is a semi response to the comment in the script
"# do not handle h264 yet, need to decode the url"
i think this is the correct way to "decode" them.
URL from xml
rtmp://cp47346.edgefcs.net/ondemand/mp4:hulufms3/47311/12/365/HuluTranscode_50514_38666_H_264_1Mbps_4x3_29_97__C YsiZbz5hUa8Z0nKIkyvzQ.flv?auth=daEbIaIdUcodzc6aIa0 dOdmb9a9dUdGc4cm-bjvBcO-4q-0nJExEr1Fzu&aifp=sll02152008&slist=hulufms3/47311/12/365/HuluTranscode_50514_38666_H_264_1Mbps_4x3_29_97__C YsiZbz5hUa8Z0nKIkyvzQ.flv;.international=false
with & replaced to &
rtmp://cp47346.edgefcs.net/ondemand/mp4:hulufms3/47311/12/365/HuluTranscode_50514_38666_H_264_1Mbps_4x3_29_97__C YsiZbz5hUa8Z0nKIkyvzQ.flv?auth=daEbIaIdUcodzc6aIa0 dOdmb9a9dUdGc4cm-bjvBcO-4q-0nJExEr1Fzu&aifp=sll02152008&slist=hulufms3/47311/12/365/HuluTranscode_50514_38666_H_264_1Mbps_4x3_29_97__C YsiZbz5hUa8Z0nKIkyvzQ.flv;.international=false
I believe the correct formating is
rtmp://cp47346.edgefcs.net:1935/ondemand?_fcs_vhost=cp47346.edgefcs.net&?auth=daEbIaIdUcodzc6aIa0dOdmb9a9dUdGc4cm-bjvBcO-4q-0nJExEr1Fzu&aifp=sll02152008&slist=hulufms3/47311/12/365/HuluTranscode_50514_38666_H_264_1Mbps_4x3_29_97__C YsiZbz5hUa8Z0nKIkyvzQ.flv;.international=false
I don't know how to implement this though. sorry i'm a horrible programmer. again trying to learn. i am attempting to write a new formatVideoUrl function to format the urls correctly for H264 videos but thought i would make a post because it might be more efficient. i have have been killing too many brain cells lately.
Thanks again for all those involved. my girl is crazy over it. so i get points for installing it on my xboxs. WOO!!
Well I modified addVideoLinks and formatVideoUrl to correctly format H264 urls(breaking support for VP6/mp3 700 and 400 streams) just to test if they could play.
NOTICE:
NOTICE: HULU -> Xpath profile search : .//*[@profile='4x3 30fps H264 Medium']
NOTICE:
NOTICE: HULU -> Video found : rtmp://cp47346.edgefcs.net/ondemand/mp4:hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv?auth=daEcdcfd5cudIcUdKcUaGc9dVaJa_bQbx c6-bjvE3w-4q-ZpKEyEn1Ezs&aifp=sll02152008&slist=hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv;.international=false
NOTICE:
DEBUG: dllGetProcAddress(00792A28(advapi32.dll), 'CryptAcquireContextA') => 0023713E
DEBUG: dllGetProcAddress(00792A28(advapi32.dll), 'CryptGenRandom') => 0023714F
DEBUG: advapi32.dll fake function dllCryptAcquireContext() called
NOTICE: HULU -> RCode Milisecond : 1230368214752
NOTICE:
NOTICE: HULU -> RCode Random : 10641
NOTICE:
NOTICE: HULU -> RCode :106411230368214752
NOTICE:
NOTICE: HULU -> Proper Video url : rtmp://cp47346.edgefcs.net:1935/ondemand?_fcs_vhost=cp47346.edgefcs.net&auth=daEcdcfd5cudIcUdKcUaGc9dVaJa_bQbxc6-bjvE3w-4q-ZpKEyEn1Ezs&aifp=sll02152008&slist=hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv;.international=false
NOTICE:
INFO: Scriptresult: Succes
DEBUG: DIRECTORY::CPluginDirectory::WaitOnScriptResult- plugin returned successfully
INFO: Python script stopped
DEBUG: Saving fileitems [plugin://video/HULU H264/?mode=5&name=American+Dad%21+-+01x02+-+Threat+Levels&url=http%3A%2F%2Fwww.hulu.com%2Fwatch%2F14002%2Fam erican-dad-threat-levels&thumbnail=http%3A%2F%2Fthumbnails.hulu.com%2F7%2F3 21%2F15853_145x80_manicured__n91C3L9cqU60HFPAH3G6P Q.jpg&profile=4x3+30fps+H264+Medium]
DEBUG: -- items: 1, sort method: 0, ascending: false
INFO: Python, unloading python24.dll because no scripts are running anymore
NOTICE:
NOTICE:
DEBUG: Q:\system\python\DLLs\_socket.pyd: Detected 1 unloaded dll's
DEBUG: Q:\system\python\DLLs\_ssl.pyd (base 10000000): Detected memory leaks: 1647 leaks
DEBUG: leak caller address 1000489b, size 20064, counter 1645
DEBUG: leak caller address 100048b0, size 4224, counter 2
DEBUG: _ssl.pyd: Total bytes leaked: 24288
DEBUG: Q:\system\python\python24.dll (base 1E000000): Detected memory leaks: 587 leaks
DEBUG: leak caller address 1e0211cb, size 24, counter 1
DEBUG: leak caller address 1e046f57, size 500160, counter 102
DEBUG: leak caller address 1e04ff6b, size 1000, counter 1
DEBUG: leak caller address 1e058c2c, size 233, counter 1
DEBUG: leak caller address 1e05cddb, size 38532, counter 39
DEBUG: leak caller address 1e05e5ef, size 1976, counter 2
DEBUG: leak caller address 1e060ea5, size 912, counter 33
DEBUG: leak caller address 1e060f81, size 84, counter 5
DEBUG: leak caller address 1e072c5f, size 3145728, counter 12
DEBUG: leak caller address 1e072cac, size 64, counter 1
DEBUG: leak caller address 1e072e88, size 61548, counter 115
DEBUG: leak caller address 1e072fc9, size 9743, counter 266
DEBUG: leak caller address 1e091e3f, size 640, counter 3
DEBUG: leak caller address 1e093bec, size 72, counter 6
DEBUG: python24.dll: Total bytes leaked: 3760716
DEBUG: CApplication::OnKey: 11 pressed, action is 7
DEBUG: CPlayerCoreFactory::GetPlayers(rtmp://cp47346.edgefcs.net:1935/ondemand?_fcs_vhost=cp47346.edgefcs.net&auth=daEcdcfd5cudIcUdKcUaGc9dVaJa_bQbxc6-bjvE3w-4q-ZpKEyEn1Ezs&aifp=sll02152008&slist=hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv;.international=false)
02:56:56 M: 30834688 NOTICE: DVDPlayer: Opening: rtmp://cp47346.edgefcs.net:1935/ondemand?_fcs_vhost=cp47346.edgefcs.net&auth=daEcdcfd5cudIcUdKcUaGc9dVaJa_bQbxc6-bjvE3w-4q-ZpKEyEn1Ezs&aifp=sll02152008&slist=hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv;.international=false
WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
NOTICE: Creating InputStream
NOTICE: Creating Demuxer
DEBUG: Unable to resolve kernel32.dll IsDBCSLeadByteEx
DEBUG: Unable to resolve msvcrt.dll __lc_codepage
DEBUG: Unable to resolve kernel32.dll IsDBCSLeadByteEx
DEBUG: Unable to resolve msvcrt.dll __lc_codepage
DEBUG: Unable to resolve kernel32.dll IsDBCSLeadByteEx
DEBUG: Unable to resolve msvcrt.dll __lc_codepage
DEBUG: RTMP_LIB::CRTMP::GetNextMediaPacket, received: server BW
DEBUG: RTMP_LIB::CRTMP::GetNextMediaPacket, received: client BW
DEBUG: server sent ping. type: 0
DEBUG: START AMF Object Dump:
DEBUG: Property: <no-name. STRING: _result>
DEBUG: Property: <no-name. NUMBER: 1.00>
DEBUG: Property: OBJECT ====>
DEBUG: START AMF Object Dump:
DEBUG: Property: <Name: fmsVer, STRING: FMS/3,0,2,214>
DEBUG: Property: <Name: capabilities, NUMBER: 31.00>
DEBUG: END AMF Object Dump:
DEBUG: Property: OBJECT ====>
DEBUG: START AMF Object Dump:
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00>
DEBUG: END AMF Object Dump:
DEBUG: END AMF Object Dump:
DEBUG: RTMP_LIB::CRTMP::HandleInvoke, server invoking <_result>
DEBUG: RTMP_LIB::CRTMP::HandleInvoke, received result for method call <connect>
DEBUG: sending ping. type: 0x0003
DEBUG: START AMF Object Dump:
DEBUG: Property: <no-name. STRING: onBWDone>
DEBUG: Property: <no-name. NUMBER: 0.00>
DEBUG: END AMF Object Dump:
DEBUG: RTMP_LIB::CRTMP::HandleInvoke, server invoking <onBWDone>
DEBUG: START AMF Object Dump:
DEBUG: Property: <no-name. STRING: _result>
DEBUG: Property: <no-name. NUMBER: 2.00>
DEBUG: Property: NULL
DEBUG: Property: <no-name. NUMBER: 1.00>
DEBUG: END AMF Object Dump:
DEBUG: RTMP_LIB::CRTMP::HandleInvoke, server invoking <_result>
DEBUG: RTMP_LIB::CRTMP::HandleInvoke, received result for method call <createStream>
DEBUG: sending ping. type: 0x0003
INFO: Loading skin file: DialogBusy.xml
DEBUG: Load DialogBusy.xml: 30.78ms
DEBUG: Alloc resources: 31.85ms (31.84 ms skin load, 0.01 ms preload)
DEBUG: server sent ping. type: 0
DEBUG: START AMF Object Dump:
DEBUG: Property: <no-name. STRING: onStatus>
DEBUG: Property: <no-name. NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: OBJECT ====>
DEBUG: START AMF Object Dump:
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetStream.Play.StreamNotFound>
DEBUG: Property: <Name: description, STRING: Failed to play hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv; stream not found.>
DEBUG: Property: <Name: details, STRING: hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv>
DEBUG: Property: <Name: clientid, STRING: h1gQ4DXp>
DEBUG: END AMF Object Dump:
DEBUG: END AMF Object Dump:
DEBUG: RTMP_LIB::CRTMP::HandleInvoke, server invoking <onStatus>
DEBUG: RTMP_LIB::CRTMP::HandleInvoke, onStatus: NetStream.Play.StreamNotFound
DEBUG: START AMF Object Dump:
DEBUG: Property: <no-name. STRING: onStatus>
DEBUG: Property: <no-name. NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: Property: OBJECT ====>
DEBUG: START AMF Object Dump:
DEBUG: Property: <Name: level, STRING: status>
DEBUG: Property: <Name: code, STRING: NetStream.Play.Stop>
DEBUG: Property: <Name: description, STRING: Stopped playing hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv.>
DEBUG: Property: <Name: details, STRING: hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv>
DEBUG: Property: <Name: clientid, STRING: h1gQ4DXp>
DEBUG: Property: <Name: reason, STRING: >
DEBUG: END AMF Object Dump:
DEBUG: END AMF Object Dump:
DEBUG: RTMP_LIB::CRTMP::HandleInvoke, server invoking <onStatus>
DEBUG: RTMP_LIB::CRTMP::HandleInvoke, onStatus: NetStream.Play.Stop
ERROR: CDVDDemuxFFmpeg::Open - error reading from input stream, rtmp://cp47346.edgefcs.net:1935/ondemand?_fcs_vhost=cp47346.edgefcs.net&auth=daEcdcfd5cudIcUdKcUaGc9dVaJa_bQbxc6-bjvE3w-4q-ZpKEyEn1Ezs&aifp=sll02152008&slist=hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv;.international=false
ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
NOTICE: CDVDPlayer::OnExit()
NOTICE: CDVDPlayer::OnExit() deleting input stream
ERROR: Playlist Player: skipping unplayable item: 0, path [rtmp://cp47346.edgefcs.net:1935/ondemand?_fcs_vhost=cp47346.edgefcs.net&auth=daEcdcfd5cudIcUdKcUaGc9dVaJa_bQbxc6-bjvE3w-4q-ZpKEyEn1Ezs&aifp=sll02152008&slist=hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv;.international=false]
DEBUG: Playback was stopped
DEBUG: Playlist Player: no more playable items... aborting playback
NOTICE: CDVDPlayer::CloseFile()
WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
NOTICE: DVDPlayer: waiting for threads to exit
NOTICE: DVDPlayer: finished waiting
if i change the way i handle the url it will give me these errors. So i think i have the rmtp url correct.
Property: <Name: code, STRING: NetConnection.Connect.Rejected>
Property: <Name: description, STRING: [ AccessManager.Reject ] : Access denied!>
"DEBUG: Property: <Name: code, STRING: NetStream.Play.StreamNotFound>"
I am encouraged that it is connecting but i have the file name wrong.
i am a little confused because with some sniffing i think that the url is correct for connecting but i need the media path to be different.
Example for this rtmp stream
rtmp://cp47346.edgefcs.net:1935/ondemand?_fcs_vhost=cp47346.edgefcs.net&auth=daEcubjbNbAaOdRdWbndebKddcecidlaccK-bjvFsp-4q-WoOCADtYAAp&aifp=sll02152008&slist=hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv;.international=false
but media path be
mp4:hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv
I am unsure how to accomplish this. I don't think i understand how the rmtp protocol works. Its time to do some more reading
if i try to include the mp4: in the url i will get
Property: <Name: code, STRING: NetConnection.Connect.Rejected>
Property: <Name: description, STRING: [ AccessManager.Reject ] : Access denied!>
I am sure i have the rtmp url correct but need to change the path once it is connected. i don't completely understand this stuff. so sorry for acting like a retarded monkey but i was hoping someone might come along with some words of wisdom. I really really want h264/acc streams because the subpar 64kbit mp3 sound is bothering me on alot of episodes. the aac codec is far superior in these low bitrate situations. they also use sbr so that helps as well.
Edit: ok i think this issue is similar to the one happening with http://xbmc.org/trac/ticket/5492
when it issues the play command it needs to do "mp4:hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv"
instead of "hulufms3/47311/7/321/H264_1Mbps_TranscodeBacklog_15853__opcl3EvRm0WA0Y+ Bw1Jnsw.flv"
but i can't include the mp4: in the url or i won't be granted access.
I am going to do a dirty hack with rmtp.cpp and see if i can get it to function properly so i can at least see if the xbmc ffmpeg will playback the streams.
I have to find my VS 2003 discs before i can try it though =(
ok after looking at the rtmp.ccp for a while and decompiling the player.swf i think i found the problem
we need to be able to pass the PageUrl and PlayPath to rtmp.cpp separately
In SendPlay() in rmtp.cpp it will parse the PageUrl for the PlayPath if it isn't given one and this is where our issues are arising because the parsed PlayUrl is not correct.
I am not sure how this is done. This would also fix the Ticket #5492 issue with out a patch because we could issue the PlayPath independently.
I will have cleaned up the python code and im ready for processing the urls to get the PlayUrl and PlayPath if someone can help me on passing both these values on to the rtmp lib
Does anyone know how to do what i am suggesting?
Update: SUCCESS!!!!!!
i got it working after reading up on some of the patches on the issue tracking system. I am updating the script now. There are some stutter issues on the h264 stream. I have tried changing the buffer size which has no effect. The CPU usage is ok too. If i save the same file i try streaming it will playback using dvdplayer without issue(except on some high bitrate spikes it will drop some frames). so it is a bug with it streaming over rtmp. it only plays about 10-12 fps rather then the full 24 or 30. I think this is just a bug that needs to be isolated and fixed though.
With these changes it will make the http://xbmc.org/trac/ticket/5492 issue obsolete because we won't be parsing the PlayUrl for the PlayPath. Thus the special compiled version won't be needed anymore.
I am cleaning up the modified and new functions to get the correct PlayUrl and PlayPath for all streams because i broke the vp6/mp3 streams doing these experiments but it will be easy to fix.
Well i am going to go to work. i will post the updated script once i get it complete. i have been up all night(i love the holidays) so i might go get some sleep and finish up this afternoon.
stallion11885
2008-12-27, 23:44
I've been using this plugin and it is awesome! One thing I can't figure out though, I want to add more shows to my list. I have looked through every file in the plugin folder and I can't seem to see anywhere where the shows it is grabbing are listed. In the 3rd or 4th post in this thread someone listed a whole bunch of shows, so I was just going to find where the current shows were listed and replace them with that more complete list. Any help would be appreciated. Thanks in advance.
ok here is my mod to the script to add for support H264 videos. there are some playback issues for streaming h264/acc but that is in the realm of xbmc developers and not this script. i will try to put together a bug report.
http://www.mediafire.com/?ymmywgcbdbj
this is a modified versions of philipacentaur posted script from
Post 132 (http://xbmc.org/forum/showpost.php?p=260741&postcount=132) hopefully he can grave his bug fixes for us.
This should completely fix the streaming issues with ;.international=false urls as described in ticket 5492 (http://xbmc.org/trac/ticket/5492)
without patches to the rtmp.cpp
well i hope i have added some value here. i am going to go work on adding subtitle support
Also please post any problems you have or if you can clean up my code. i am brand new to python and might not have done some of it the most efficient way. so any programming tips are welcome.
JeffElkins
2008-12-28, 00:47
Is anyone using this plugin with Ubuntu 8.04?
It's frustrating, but the plugin doesn't work at all for me.
1. I click on any episode and I see two stream choices: 24 fps High/24 fps Medium.
2. Click either, a new choice is displayed (list mode name of stream)
3. When clicked, the screen goes blank briefly, then returns. Sometimes I see the words
buffering and canceled, but not always.
I'm using svn 16612 compiled on the 19th.
Bump on this. I've yet to get this to work using svn and ubuntu 8.04. If this plugin is not usable with Linux and svn, I'd sure appreciate a reply.
JeffElkins: i am sorry i exclusively using xbmc on xbox right now. so i can't help perhaps someone else more knowledgeable on that platform could.
Can you post a few lines from your logs after you try to play a video? I am sure that would help diagnose any problems going on.
I am trying to work on the option to save the files to your xbox hdd as a work around for the buggy streaming of h264 as of right now.
Also i plan on cutting my teeth with python on a module to download and parse the smi subtitles and converting to srt to be saved with the flv. I am doing this because the support for smi seems to not work with these files.
I think i will be able to add support for starting on any of the chapter marks very shortly. i have to pass a "?start=" appended to the PlayPath i believe.
So i can read the segment and endcredit marks from the smil file and have the server start the streaming at any any point of the normal commercial breaks. if i can build a playlist to work with the chapters marks then i will be able to add an advertisement support option as well.
I have no timeline on any of this though. i am going to try to add one feature at a time and see what i can get done over the holidays.
I am having fun learning python and a little about xbmc.
rwparris2
2008-12-28, 07:39
I made my own Hulu Plugin
It doesn't work any better than BlueCop's (in fact I just used his same code), but it does have more options & settings which makes things nicer IMO.
Download from my sig.
timdog82001
2008-12-28, 12:41
I made my own Hulu Plugin
It doesn't work any better than BlueCop's (in fact I just used his same code), but it does have more options & settings which makes things nicer IMO.
Download from my sig.
Not sure if you designed it to be cross-platform compatible, but it doesn't work for me on the xbox. The settings open and save fine, but trying to open the plugin just brings up a dialog, which soon closes and you're back at the plugin screen.
whufclee
2008-12-28, 12:53
Not sure if you designed it to be cross-platform compatible, but it doesn't work for me on the xbox. The settings open and save fine, but trying to open the plugin just brings up a dialog, which soon closes and you're back at the plugin screen.
I was just in the middle of writing the same comment! Plugin settings look good though but unfortunately it doesn't seem to work on xbox.
mpskeeter
2008-12-28, 15:54
I was just in the middle of writing the same comment! Plugin settings look good though but unfortunately it doesn't seem to work on xbox.
I had to edit the settings.xml file and uncomment the quality setting for it to work.
Other than that, had one buffer problem when loading a TV category.
Works pretty good. Noticed it doesn't support login via cookie to support loading of mature movies.
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\default.py", line 18, in ?
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: plugin.Main()
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\resources\lib\stream_hulu.py", line 25, in __init__
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: self.__modes__()
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\resources\lib\stream_hulu.py", line 97, in __modes__
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: self._add_listings(self.args.url)
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\resources\lib\stream_hulu.py", line 129, in _add_listings
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: ok = self._add_items(url)
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\resources\lib\stream_hulu.py", line 186, in _add_items
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: text=self.get_HTML("http://www.hulu.com/shows/info/"+tmp)
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\resources\lib\stream_hulu.py", line 114, in get_HTML
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: response = urllib2.urlopen(req)
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 130, in urlopen
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 358, in open
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 376, in _open
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 337, in _call_chain
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 1021, in http_open
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 996, in do_open
08:30:10 M: 14233600 NOTICE: urllib2
08:30:10 M: 14233600 NOTICE: .
08:30:10 M: 14233600 NOTICE: URLError
08:30:10 M: 14233600 NOTICE: :
08:30:10 M: 14233600 NOTICE: <urlopen error (10055, 'No buffer space available')>
rwparris2
2008-12-28, 18:46
I had to edit the settings.xml file and uncomment the quality setting for it to work.
Other than that, had one buffer problem when loading a TV category.
Works pretty good. Noticed it doesn't support login via cookie to support loading of mature movies.
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\default.py", line 18, in ?
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: plugin.Main()
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\resources\lib\stream_hulu.py", line 25, in __init__
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: self.__modes__()
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\resources\lib\stream_hulu.py", line 97, in __modes__
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: self._add_listings(self.args.url)
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\resources\lib\stream_hulu.py", line 129, in _add_listings
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: ok = self._add_items(url)
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\resources\lib\stream_hulu.py", line 186, in _add_items
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: text=self.get_HTML("http://www.hulu.com/shows/info/"+tmp)
08:30:10 M: 14233600 NOTICE: File "Q:\plugins\video\Lets Watch Hulu\resources\lib\stream_hulu.py", line 114, in get_HTML
08:30:10 M: 14233600 NOTICE:
08:30:10 M: 14233600 NOTICE: response = urllib2.urlopen(req)
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 130, in urlopen
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 358, in open
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 376, in _open
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 337, in _call_chain
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 1021, in http_open
08:30:10 M: 14233600 NOTICE: File "Q:\system\python\python24.zlib\urllib2.py", line 996, in do_open
08:30:10 M: 14233600 NOTICE: urllib2
08:30:10 M: 14233600 NOTICE: .
08:30:10 M: 14233600 NOTICE: URLError
08:30:10 M: 14233600 NOTICE: :
08:30:10 M: 14233600 NOTICE: <urlopen error (10055, 'No buffer space available')>
Uncommenting the quality setting in settings xml will make it work on xbox. It setting doesn't affect anything, but the plugin will run. Sorry guys.
That error looks like maybe it is a memory problem? I'm not sure. I did not test it on xbox but it should be cross platform. I'll look into it. What show was it?
I'll clean up the code and add logging in & downloading shortly.
That error looks like maybe it is a memory problem? I'm not sure. I did not test it on xbox but it should be cross platform. I'll look into it. What show was it?
I'll clean up the code and add logging in & downloading shortly.
I have had my debug on level 3 to monitor the memory usage and it has plenty of memory free.
If i disable "Get Show Description" and "Get Episode Plot" it works on xbox.
if i have these settings on i would get "No buffer space available" and alot of timeouts.
I also flattened the tv and movies but i don't think that effected it.
I like the interface. great work on the plugin. could you perhaps have the shows episode number in the episode list under seasons? i could do it myself but it would probably take you much less time.
I am still really new to this but i have started writing some code to convert smi to srt if you want it. Its really easy to do and you could probably write better code then me.
In addition to being able to save episodes it would be nice to have a subscribed show list.
If you add support for logging in to the site then supporting your Queue feature from the website would be really easy they have a custom RSS feed for you already. I think you can access it already at "http://www.hulu.com/feed/queue/" + your username
that way you could have your favorite shows and see when they will expire ect.
Now my dream would be a background script that would periodically check your rss feed and automatically save all the episodes for your subscribed shows on hulu. It could have settings similar to a PVR like the number of episodes to keep or delete. get only new episodes or new old episodes that they add back. It could have many customizable features.
I just see alot of great possibilities with this if we start saving the streams because we then have the ability to skip around the episodes and resume the episodes at our chosen time and i could watch the h264 streams without crashing my xbox.
I am not new to xbmc but i am not sure if you could run background scripts at certain intervals? is that possible?
If it is possible to accomplish this it would be better then tivo or any pvr imho
rwparris2: have you tried playing any of the 720p HD streams? I only run it on my xbox so i know it won't work with me but if you are running on another platform with enough power then HD would be awesome.
rwparris2
2008-12-28, 19:58
I'm looking at your other requests, but as far as downloading stuff from your Hulu automatically, why not just us tvrss.net?
all the h264 stuff acts the same on windows & linux as it does on xbox, plays too fast. It may be a property that needs to be defined I'm not sure.
I'm looking at your other requests, but as far as downloading stuff from your Hulu automatically, why not just us tvrss.net?
I can think of lots of reasons
1. The quality of the video and audio is the main reason for me. Scene releases conform to certain standards but they are lower res then the 720x400 16x9 material and 640x480 4x3 material h264 streams with the exception of the 720p HD rips.
2. speed is a big factor when saving episodes on my computer i can save an entire 22minute episode in around 3 minutes.
3. Also alot of the Videos don't have the network bug on them so it is like watching a DVDrip.
4. Bandwidth is another factor because my cable service has a GB cap so torrents can suck alot of that up. This way it would be a connection to a single service and a set bitrate on the video lets me know exactly how much bandwidth i would be using.
5. I haven't seen many tv scene releases come with subtitles.
well i am just anxious so i have started to work on some modifications to your script.
Mainly just better integration with the website features specifically their queue, subscriptions, history and recommendation feeds.
each of which is at these urls + your username
http://www.hulu.com/feed/history/
http://www.hulu.com/feed/queue/
http://www.hulu.com/feed/recommendations/
http://www.hulu.com/feed/show_recommendations/
http://www.hulu.com/feed/subscriptions/
This way you could run the script on many boxes and be able to share the history and show settings amongst them all.
rwparris2
2008-12-28, 21:02
BlueCop if you have a gmail account I can just add you to my svn so we can work on it together? No need to separately do the same thing.
Send me a PM if you're interested.
killyourscene
2008-12-28, 22:09
Just wondering, has anyone gotten these Hulu plugins to work outside of the US at all?
timdog82001
2008-12-29, 03:16
As an idea, it might be cool if the plugin had an option to scrape the imdb or any of the alternates like movieposterdb and so on, just like xbmc does with local files to get cover art. The current hulu icons are pretty blurry and not that stylish. Not sure how long that might take, hopefully it would be a bit quicker than regular if the only thing you're grabbing is the cover.
JeffElkins
2008-12-29, 03:32
Just wondering, has anyone gotten these Hulu plugins to work outside of the US at all?
I've asked if anyone is using the plugin with Linux. No response.
I've asked if anyone is using the plugin with Linux. No response.
have you tried using the new plugin by rwparris2
all the h264 stuff acts the same on windows & linux as it does on xbox, plays too fast. It may be a property that needs to be defined I'm not sure.
based on his comment above he has used it on windows and linux.
download it here http://code.google.com/p/rwparris2-xbmc-plugins/downloads/list
Just wondering, has anyone gotten these Hulu plugins to work outside of the US at all?
This was addressed in this post http://xbmc.org/forum/showpost.php?p=256047&postcount=18
The have a constant geocheck during the rtmp stream, that`s why i never bothered releasing my plugin.
One way around is to get hotspot shield then share your internet connection to the xbox
Or get a payed vpn
or get a fast u.s socks5 proxy
rwparris2
2008-12-29, 04:13
have you tried using the new plugin by rwparris2
based on his comment above he has used it on windows and linux.
sry, that was very misleading. I streamed h264 from a different site on linux, and it had the same playing too fast bug. I have not tried my plugin in linux.
@rwparris2-- I just wanted to provide some feedback. First off, nice work! Also to BlueCop. rwparris2, some of the subcategories worked, and some did not not work for me in both movies and tv; All Items, Action and Adventure, and Drama for example. I didn't test all of them though. The script appears to download items for a subcat, but does not advance. I am using xbox and in the US. I did uncomment the quality setting in settings.xml as mentioned.
I had to edit the settings.xml file and uncomment the quality setting for it to work.Using a win32 build, I had to do the same thing. If I did not, I would get a "could not connect to server" pop up. Once the h.264 streaming gets worked out, I'll be pretty happy. The flash versions are just to crappy for my taste. I like where this is going. Great work fellas/ladies.
crichton
2008-12-29, 08:17
I've modified the original version to scrape from the Hulu website instead of querying the xml feed. It allowed me to add the following features.
* Browse TV Shows and Movies Alphabetically
* Browse TV Shows and Movies by Genre
* Group TV Show episodes by Seasons and separate Clips into their own folder
* Get all TV Shows and identify if certain shows have clips only
* Format Episode names with the season/episode number at the beginning in a standard format, e.g. S02E04
* Added the ability to search the videos using the built-in keyboard to enter search terms.
I also refactored the code and broke each menu into a separate file to make it easier to modify going forward. I've been working on this during the Christmas holiday, and tried to include most of the fixes everyone else has added, but I might have missed some.
Download Here (http://www.mediafire.com/?4x2vxlmmje2)
I've asked if anyone is using the plugin with Linux. No response.
I just installed xbmc on my ubuntu 8.10 laptop to aid in development of the script. i have tried various versions of the script but none of them currently work.
I am attempting to debug this now and hopefully linux will be fully supported soon.
Update: well i have found some of the bugs and was trying to correct them but then i ran into this
03:07:23 T:1243859280 M: 38584320 DEBUG: Property: <Name: level, STRING: error>
03:07:23 T:1243859280 M: 38584320 DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected>
03:07:23 T:1243859280 M: 38584320 DEBUG: Property: <Name: description, STRING: [ AccessManager.Reject ] : Access denied!>
I am geting an access denied
I checked the PlayURL and PlayPath and they are correct so it might be something with rtmp on the linux branch.
bigbaddumbdog
2008-12-29, 17:53
I have BlueCop's Hulu plugin working on the Linuxport. For the most part it works great. I've only had it stop playing a Hulu stream a couple of times. BlueCop, you've done a fantastic job. Keep up the good work.
I would like to see the ability to start a stream where I left off and the ability to seek forward or backward. The current plugin will let you FFWD at 2X or 4X, but will often hang for a minute when doing so.
Here are the particulars of my system. It's an uptodate Gentoo x86.
Linux version 2.6.25-gentoo-r7 (gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)) #1 SMP Sun Sep 28 15:03:22 CDT 2008
I'm running Linuxport svn Rev 16736.
I had to modify the following to get it to compile.
================================================== =================
--- xbmc/lib/libGoAhead/XBMChttp.cpp (revision 16736)
+++ xbmc/lib/libGoAhead/XBMChttp.cpp (working copy)
@@ -2747,8 +2747,8 @@
height=atoi(paras[4]);
}
CPicture pic;
- int ret;
- ret=pic.ConvertFile(tmpFile, filepath, (float) atof(paras[2]), width, height, atoi(paras[5]));
+ int ret = 0;
+// ret=pic.ConvertFile(tmpFile, filepath, (float) atof(paras[2]), width, height, atoi(paras[5]));
if (ret==0)
{
::DeleteFile(tmpFile);
I had to modify the following file to get Hulu to work.
================================================== =================
--- xbmc/lib/libRTMP/rtmp.cpp (revision 16736)
+++ xbmc/lib/libRTMP/rtmp.cpp (working copy)
@@ -513,6 +513,15 @@
strPlay = url.GetFileName().Mid(pos_slash+1);
}
+ if (!strPlay.IsEmpty())
+ {
+ int nSemiColonPos = strPlay.find(";");
+ if ( nSemiColonPos > 0 )
+ {
+ strPlay = strPlay.Mid(0, nSemiColonPos);
+ }
+ }
+
if (strPlay.IsEmpty()){
CLog::Log(LOGERROR,"%s, no name to play!", __FUNCTION__);
return false;
Regards,
bigbaddumbdog
I've modified the original version to scrape from the Hulu website instead of querying the xml feed. It allowed me to add the following features.
* Browse TV Shows and Movies Alphabetically
* Browse TV Shows and Movies by Genre
* Group TV Show episodes by Seasons and separate Clips into their own folder
* Get all TV Shows and identify if certain shows have clips only
* Format Episode names with the season/episode number at the beginning in a standard format, e.g. S02E04
* Added the ability to search the videos using the built-in keyboard to enter search terms.
I also refactored the code and broke each menu into a separate file to make it easier to modify going forward. I've been working on this during the Christmas holiday, and tried to include most of the fixes everyone else has added, but I might have missed some.
Download Here (http://www.mediafire.com/?4x2vxlmmje2)
Good work! Of course here come the complaints...:rolleyes:
Many of the episodes freeze up for me still after watching. One other thing I noticed (not sure if its true for any other shows) but with The Office, there are full episodes to watch but only the clips show up on this version of the script. Also the H264 versions of a lot of shows would keep buffering throughout playing. Nothing else was eating my bandwidth so I'm not sure what that was about.
Wish I knew Python so I could help out! You guys are doing fantastic work though. This is by far my favorite XBMC plugin.
crichton
2008-12-29, 23:29
I fixed the problem with TV Show like 'The Office' and 'Attack of the Show' where the clips are structed into sub folders. Those all should work now. "The Office" is different from other shows, in that it doesn't break down the episodes by season, but got it to work.
Download the fixed version (http://www.mediafire.com/?znjzxkvx2to)
I've modified the original version to scrape from the Hulu website instead of querying the xml feed. It allowed me to add the following features.
* Browse TV Shows and Movies Alphabetically
* Browse TV Shows and Movies by Genre
* Group TV Show episodes by Seasons and separate Clips into their own folder
* Get all TV Shows and identify if certain shows have clips only
* Format Episode names with the season/episode number at the beginning in a standard format, e.g. S02E04
* Added the ability to search the videos using the built-in keyboard to enter search terms.
I also refactored the code and broke each menu into a separate file to make it easier to modify going forward. I've been working on this during the Christmas holiday, and tried to include most of the fixes everyone else has added, but I might have missed some.
Download Here (http://www.mediafire.com/?4x2vxlmmje2)
@crichton - Cool menus. TV shows worked, but couldn't get any of the movies to play. :sad:
hello_man
2008-12-30, 02:32
I get message, retrieving directory, 0 file found. Can't see any video.
crichton
2008-12-30, 02:48
Sorry about that. It's fixed now.
Download
(http://www.mediafire.com/?j4ylwhnuxef)@crichton - Cool menus. TV shows worked, but couldn't get any of the movies to play. :sad:
Same as below. I couldn't see any videos from the first install (verison .1 I think) or hte second install (version .2 I think).
I get message, retrieving directory, 0 file found. Can't see any video.
@crichton - This works flawlessly now. Very responsive too... I'm impressed.
timdog82001
2008-12-30, 06:05
For those curious, I just tried rwparris's version on mac osx leopard and everything seems to work as well as it does on the xbox (though navigation from folder to folder seems quite a bit slower)
yes excellent work crichton. I like how organized your code is. again excellent work.
Maybe we should try to organize all these individual scriptwriters into a team to be more efficient. right now i think rwparris2 has got crichton and myself signed up to a google code project. I am not nearly on their level of ability and speed but i think i can contribute a bit.
I feel we all want many of the same things and this could focus our energy like a laser beam and have a truly incredible video plugin.
I have been trying to add various features but i think we are going to need some xbmc developers to add some features in order to implement many of them. I might just be ignorant of the features needed for them.
all these forks or i guess reimplementations are hard to keep track of so i don't really have a nice code base to go back to try to add things to.
well that is just my 2 cents. I am absolutely addicted to hulu on xbox! its my favorite plug-in for me by far. Peace.
rwparris2
2008-12-30, 07:54
yes excellent work crichton. I like how organized your code is. again excellent work.
Maybe we should try to organize all these individual scriptwriters into a team to be more efficient. right now i think rwparris2 has got crichton and myself signed up to a google code project. I am not nearly on their level of ability and speed but i think i can contribute a bit.
I feel we all want many of the same things and this could focus our energy like a laser beam and have a truly incredible video plugin.
I have been trying to add various features but i think we are going to need some xbmc developers to add some features in order to implement many of them. I might just be ignorant of the features needed for them.
all these forks or i guess reimplementations are hard to keep track of so i don't really have a nice code base to go back to try to add things to.
well that is just my 2 cents. I am absolutely addicted to hulu on xbox! its my favorite plug-in for me by far. Peace.
Indeed. If anyone has any specific complaints about any of the plugins or feature requests NOW is the time to express them.
The google code team consisting of myself crichton and BlueCop haven't exactly gotten organized yet, but the features I plan to include are:
Browsing and watching Movies, TV Shows, and clips (obviously)
Browsing the various RSS feeds (http://www.hulu.com/feed)& HD Gallery (http://www.hulu.com/hd/)
View recommended videos (via context menu)
Logging in the view & add videos to your queue
Have a custom list of favorite Shows, Movies, etc
Download Videos (to somewhere in your library) (er... maybe... we'll see how this goes)
Search & save search as RSS Feed
IMDB & TVDB look ups
Try to fix h264 streaming
TRY to break the US-only restriction (but don't hold your breath)
I can't really guarantee that any of these will actually be implemented it is just what I personally would like to see.
Again, suggestions & complaints are welcome
nicoli_k
2008-12-30, 08:01
Hey BlueCop and rwparris2,
Shut up. Just shut up.....You had me at Hulu. You had me at Hulu.
Sorry 'bout that. I've been wanting to post that since the first page and just couldn't help myself.
I want to thank you and the other developers for the work that's been put into this and wholeheartedly agree with you. I've got 3 or 4 different hulu plugins on my box right now since there are strengths with the various plugins. A single plugin that combines all of them would be great.
I'm not sure if it's possible, but it would be great to be able to fastforward, rewind, and pause for an extended period of time without messing up the video. I like the list of goals for the plugin. It just keeps getting better an better.
It's great to finally have hulu on the xbox. The work on this project is greatly appreciated.
killyourscene
2008-12-30, 10:00
Quote:
Originally Posted by killyourscene
Just wondering, has anyone gotten these Hulu plugins to work outside of the US at all?
This was addressed in this post http://xbmc.org/forum/showpost.php?p...7&postcount=18
Quote:
Originally Posted by Voinage
The have a constant geocheck during the rtmp stream, that`s why i never bothered releasing my plugin.
One way around is to get hotspot shield then share your internet connection to the xbox
Or get a payed vpn
or get a fast u.s socks5 proxy
I don't think you understood my question. I asked if anyone outside of the US had gotten the plugin to work, not theoretical ways that it COULD work. Obviously a fast u.s. socks5 would be nice, but I haven't been able to get that to work at all. I was hoping someone had and could give some advice.
The above is NOT theoretical at all.
bigbaddumbdog
2008-12-30, 20:38
Since you're soliciting features. I'd like the ability to:
1. Start a stream where I left off.
2. Search forward and backwards as seamlessly as the hulu web application does.
Thanks for all the hard work.
Bigbaddumbdog
lord fluffy
2008-12-31, 00:38
new T3CH build is out (12/30) and i was wondering if it works with hulu or not...as i remember the previous build didn't, so i just wanted to know that everything was ok before i update.
I just updated to the latest t3ch build and it seems to be working fine. I only tried a few shows and movies though.
T3CH XBMC 2008-12-30 SVN rev16762
No improvement in H264 playback.
nicoli_k
2008-12-31, 02:00
The new build (12/30) works great for me. I'm in the US using the xbox and have watched various clips on all of the different Hulu plugins and there is no more freezing on the last frame. I didn't try any movies because I didn't want the tests to take all night, but the tv clips work just fine.
Personalized feeds would be nice:
http://www.hulu.com/feed/queue/foobar
http://www.hulu.com/feed/subscriptions/foobar
http://www.hulu.com/feed/history/foobar
http://www.hulu.com/feed/show_recommendations/foobar
http://www.hulu.com/feed/recommendations/foobar
http://www.hulu.com/feed/activity/foobar
InDashMP3
2008-12-31, 05:18
Guys,
I have to say, this is one of the first plugins I have used that *so far* is working very very well. I run the Windows builds and currently SVN 16770. Gotta say, this plugin is great. Although it's tiny, and you can get it goin in less time that the length of the video I posted, take a quick peek at browsing to the latest Office clip. (yeah, I was screwing around a bit in the show listings and could have navigated to the show MUCH quicker).
HULU PLUGIN YouTube EXAMPLE (http://www.youtube.com/watch?v=UQIc_rDrlzQ)
timdog82001
2008-12-31, 05:40
Has anyone noticed some videos loading much slower at certain parts of the video? Try episode 2 "Friendly Skies" of Journeyman. The first half loads at a normal speed. Starting almost exactly halfway through, the video load speed slows way down. I had to constantly pause it to let it load, and even that didn't seem to help much. Strange, I thought. I tried the same video a few times over two days and the problem was consistent. Quick loading for first half, never had to pause for buffering. Second half, every 2 to 5 minutes or so it would have to buffer.
rwparris2
2008-12-31, 07:17
Personalized feeds would be nice:
http://www.hulu.com/feed/queue/foobar
http://www.hulu.com/feed/subscriptions/foobar
http://www.hulu.com/feed/history/foobar
http://www.hulu.com/feed/show_recommendations/foobar
http://www.hulu.com/feed/recommendations/foobar
http://www.hulu.com/feed/activity/foobar
we'll look at putting it in... good idea, thanks.
jrronimo
2008-12-31, 08:35
This plugin has gotten me to register. Thanks for all of your hard work!
I can browse the list of episodes, but for instance if I go to 'House', I see three episodes. Under each episode, there are three streams available -- high, medium and high h.264. all of these say 0.0 kb and trying to play any of them results in nothing.
I downloaded XBMC today from the front page and I have the most recent version of the hulu plugin from page 18 or so, I think. The machine is actually a fresh install of XP that aside. Am I missing some part of XBMC or have I misconfigured something?
Thanks in advance.
boundless
2008-12-31, 20:25
I get message, retrieving directory, 0 file found. Can't see any video.
I've got the same problem.
This plugin has gotten me to register. Thanks for all of your hard work!
I can browse the list of episodes, but for instance if I go to 'House', I see three episodes. Under each episode, there are three streams available -- high, medium and high h.264. all of these say 0.0 kb and trying to play any of them results in nothing.
I downloaded XBMC today from the front page and I have the most recent version of the hulu plugin from page 18 or so, I think. The machine is actually a fresh install of XP that aside. Am I missing some part of XBMC or have I misconfigured something?
Thanks in advance.
If you're using XBMC on Windows then try the newer SVN builds here:
http://xbmc.org/forum/showthread.php?t=35452
The newer builds found in the link above have the new RTMP updates needed to run the videos in the Hulu plugin.
The Atlantis build on the XBMC home page does not have the RTMP updates and that is why you get no video.
If you're using Linux or another build you'll need to search around on how to get the latest SVN version of those (I only use Windows).
brandogg
2008-12-31, 22:41
Howdy, long time XBMC user here (and reader of these forums), but this is the first time I posted. I have a problem - the script doesn't load for me, I have it installed in the correct folder (F:/APPS/XBMC/SCRIPTS/HULU/default.py, etc), it's in the scripts launcher, and says "running" but then it just stays at XBMC and the script never actually loads. Any idea what's going on here? I'm using the previous-to-current T3CH build of XBMC, with PM3 as the skin if that matters, running at 720p. Apple Movie Trailers, YouTube, etc work just fine.
f8lcoder
2008-12-31, 22:57
Long Time Reader??
Try putting it here instead ->(F:/APPS/XBMC/PLUGINS/)
It's not a script...
FC
Pay no heed branDog F8l`s just overtired hehe.
Although a good search and a read of the plugin tutorial by unbehagen wouldn`t hurt.
http://xbmc.org/forum/showthread.php?t=30351
f8lcoder
2008-12-31, 23:27
Heheh yeah apologies,
Just feeling a bit prickish towards ones actin' the maggot.. :;):
Voin' is right pay it no mind, take it as a rib..
Can't wait for my first pint tonight...:grin:
Happy New Year All!!!!!
mpskeeter
2008-12-31, 23:53
Wow! With so many versions of this script running wild, when reporting problems, can people post the author of the script. Or better yet, lets all decide on a standard to use so efforts can be centralized on getting an excellent one out there?
I'm not trying to be grumpy, just trying to help.
Happy New Years All!!!
rwparris2
2008-12-31, 23:57
Wow! With so many versions of this script running wild, when reporting problems, can people post the author of the script. Or better yet, lets all decide on a standard to use so efforts can be centralized on getting an excellent one out there?
I'm not trying to be grumpy, just trying to help.
Happy New Years All!!!
Yes please if you're going to post bugs please please please post whether you're in the US, which plugin you're using (the authors name and hopefully a link to the post you got it from or a link to the download), and what platform you're on.
If you look back on the thread you'll see I've organized a small group to do this. And it is OK to be grumpy
quake101
2009-01-01, 00:04
Or better yet, lets all decide on a standard to use so efforts can be centralized on getting an excellent one out there?
I agree, it would be nice to combine (or use the most complete one) them and make it the standard.
:)
Wow, simply wow.
I have the dish, which in my area they lost ABC so I started looking for online versions of the shows on ABC. Found Hulu, which doesn't seem to fit the bill for the loss of ABC. However I own a XBMC Xbox and found this Plugin which is simply awesome. My wife was looking at some of the available videos on our BigScreen and I must admit its way cooler than watching them on a PC screen.
Thanks for all the work guys. I'm blown away with the coolness factor.
boundless
2009-01-01, 04:33
Every time I select a show episode, none of videos load. After a while when I click again, it says "Playlist playback aborted. Too many consecutive failed items." ???
rwparris2
2009-01-01, 04:39
Every time I select a show episode, none of videos load. After a while when I click again, it says "Playlist playback aborted. Too many consecutive failed items." ???
Please if you're going to post bugs please please please post whether you're in the US, which plugin you're using (the authors name and hopefully a link to the post you got it from or a link to the download), how recent your version of xbmc is, and what platform you're on.
Without more information, I'm going to assume that you're somehow unplugging the internet from your xbox after you select an episode.
This plugin requires internet.
boundless
2009-01-01, 04:45
Without more information, I'm going to assume that you're somehow unplugging the internet from your xbox after you select an episode.
This plugin requires internet.
Ah sorry bout that. :blush: I got the download from here (http://xbmc.org/forum/showpost.php?p=261994&postcount=176). I'm in the US, using the latest XBMC on an xbox. My internet connection is fine and I have no problems with it using other plugins and whatnot.
EDIT: The same problem is happening with another video plugin. I think it might be something I'm doing wrong. I'm new to this.
brandogg
2009-01-01, 05:57
Thanks for the tip about the plugins folder...I'll go hang my head in shame now.
adityaag
2009-01-02, 04:51
So I have the version that's in post #1. I definitely have internet but none of the actual links work after you get to them. This is very much like the problem boundless is having above. Any advice?
So I have the version that's in post #1. I definitely have internet but none of the actual links work after you get to them. This is very much like the problem boundless is having above. Any advice?
Try downloading the version from crichton. Here is the post:
http://xbmc.org/forum/showpost.php?p=261994&postcount=176
@boundless and adityaag: And make sure you are putting it in the video/plugins/ folder. And make sure you have the latest svn build for windows/linux/os X or T3CH build for the xbox, otherwise it will not work...period.
Thank you for your hard work getting this long awaited plugin developed.
I am having an issue where the video will play for about a minute and then stop. I have the latest svn t3ch build of xbmc on my xbox and the latest plugin rwparris has on code.google. Below is the log information, any help is greatly appreciated.
00:51:10 M: 23678976 NOTICE: DVDPlayer: Opening: rtmp://cp39465.hulu.com:1935/ondemand?_fcs_vhost=cp39465.hulu.com&auth=daEawbObObKaacrbFaOcTa6dpbUaabzcobU-bjxATl-8-YoFCrDtYAzt&aifp=NS20070910&slist=content/39478/12/867/HuluTranscode_54340_47833_FLASH_700K_4x3_29_97_1__ DllaWiEjvEan6KjbJ-98IA
00:51:10 M: 23678976 WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
00:51:10 M: 23154688 NOTICE: Creating InputStream
00:51:11 M: 23138304 NOTICE: Creating Demuxer
00:51:11 M: 16486400 NOTICE: Opening video stream: 0 source: 256
00:51:11 M: 16486400 NOTICE: Creating video codec with codec id: 95
00:51:11 M: 16474112 NOTICE: Creating video thread
00:51:11 M: 15949824 NOTICE: Opening audio stream: 1 source: 256
00:51:11 M: 15953920 NOTICE: running thread: video_thread
00:51:11 M: 15953920 NOTICE: Finding audio codec for: 86017
00:51:11 M: 15687680 NOTICE: Creating audio thread
00:51:11 M: 15163392 NOTICE: running thread: CDVDPlayerAudio::Process()
00:51:11 M: 15163392 NOTICE: Creating audio device with codec id: 86017, channels: 2, sample rate: 44100, no pass-through
00:51:11 M: 14684160 NOTICE: fps: 29.970030, pwidth: 480, pheight: 360, dwidth: 480, dheight: 360
00:51:11 M: 14675968 NOTICE: Display resolution USER : 720p 16:9 (1)
00:55:00 M: 16281600 ERROR: RTMP_LIB::CRTMP::FillBuffer, recv returned -1. errno: 10060
00:55:00 M: 16281600 ERROR: RTMP_LIB::CRTMP::ReadPacket, failed to read RTMP packet body. len: 2266
00:55:20 M: 17375232 ERROR: CDVDVideoCodecFFmpeg::Decode::avcodec_decode_video
00:55:21 M: 17379328 NOTICE: CDVDPlayer::OnExit()
00:55:21 M: 17379328 NOTICE: DVDPlayer: eof, waiting for queues to empty
00:55:21 M: 17379328 NOTICE: DVDPlayer: closing audio stream
00:55:21 M: 17379328 NOTICE: Closing audio stream
00:55:21 M: 17379328 NOTICE: waiting for audio thread to exit
00:55:21 M: 17379328 NOTICE: Closing audio device
00:55:21 M: 17424384 NOTICE: thread end: CDVDPlayerAudio::OnExit()
00:55:21 M: 17948672 NOTICE: Deleting audio codec
00:55:21 M: 18112512 NOTICE: DVDPlayer: closing video stream
00:55:21 M: 18112512 NOTICE: Closing video stream
00:55:21 M: 18112512 NOTICE: waiting for video thread to exit
00:55:21 M: 18112512 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
00:55:21 M: 18112512 NOTICE: thread end: video_thread
00:55:21 M: 18636800 NOTICE: deleting video codec
00:55:21 M: 19456000 NOTICE: CDVDPlayer::OnExit() deleting demuxer
00:55:21 M: 19488768 NOTICE: CDVDPlayer::OnExit() deleting input stream
00:55:21 M: 17395712 NOTICE: CDVDPlayer::CloseFile()
00:55:21 M: 17395712 WARNING: CDVDMessageQueue::Put MSGQ_NOT_INITIALIZED
00:55:21 M: 17395712 NOTICE: DVDPlayer: waiting for threads to exit
00:55:21 M: 17395712 NOTICE: DVDPlayer: finished waiting
00:55:21 M: 17395712 NOTICE: CDVDPlayerVideo::~CDVDPlayerVideo - uninitting video device
I'm trying to use this on Linux, but I get this error.
03:33:57 T:2875194256 M:498044928 WARNING: Unable to resolve: /usr/lib/libcurl.so.2 curl_easy_reset, reason: /usr/lib/libcurl.so.2: undefined symbol: curl_easy_reset
03:33:57 T:2875194256 M:498044928 ERROR: Unable to resolve exports from dll /usr/lib/libcurl.so.2
Also, curl_easy_reset exists...check it:
root@weewee:~# find /usr/include/ -type f | xargs grep curl_easy_reset
/usr/include/curl/easy.h: * NAME curl_easy_reset()
/usr/include/curl/easy.h:CURL_EXTERN void curl_easy_reset(CURL *curl);
The Hulu plugin crashes XBMC after I select the alphabetical category for a show (i.e. "I" for It's Always Sunny in Philadelphia).
Any ideas? Thanks.
adityaag
2009-01-03, 12:09
Try downloading the version from crichton. Here is the post:
http://xbmc.org/forum/showpost.php?p=261994&postcount=176
@boundless and adityaag: And make sure you are putting it in the video/plugins/ folder. And make sure you have the latest svn build for windows/linux/os X or T3CH build for the xbox, otherwise it will not work...period.
taslack.. thanks for the advice. I tried using the linked build and I'm still running into the same issue where I can't actually launch any of the files. I have the latest t3ch build for my Xbox and I definitely have internet hooked up. I'm placing the Hulu folder in ../plugins/video/
Mighty confused why this isn't working. I do'nt need to configure it or anything? I read through the source code and couldn't find anything to change except username and password which aren't necessary to play videos on Hulu. They're still not necessary to watch with the plugin right?
I'm running this on an Xbox and I can't seem to get mine to work. I can open the plugin and see the categories but when I select any of them (such as movies listed alphabetically), it just shows 0 items. I noticed the menus attempt to import HTMLParser but I don't see that script. Is there any pre-requisite plugins I need before installing this?
I too am having this problem with any shows.I got the Simpsons to play a couple of days ago riht after updating to the 12-30 T3CH build, but now, it won't even play. I am using the crichten build.
This is the version I'm running and I'm using the latest XBMC build 12-30-2008
http://xbmc.org/forum/showpost.php?p=261994&postcount=176
When you click on a show and it gives you a list of of 3 streams they will be in 0 Bytes. Just click on one. They are sorta like short cuts that is why they do not have size value.
Is there a way to comment out the H264 streams? Every time I try to use them they are choppy or the voice and video are out of sync.
Is there a way to comment out the H264 streams? Every time I try to use them they are choppy or the voice and video are out of sync.
We have talked about this in this thread. I have submitted a bug report to xbmc and hopefully this issue will be fixed in the future.
open Hulu/menu/VideoMenu.py and change
DEFAULT_VIDEO = None
#DEFAULT_VIDEO = "High"
to
#DEFAULT_VIDEO = None
DEFAULT_VIDEO = "High"
It will then default to the 700k VP6/mp3 stream
funkt4life
2009-01-04, 06:40
HI.
I am new to this thread. Been using xbmc for about 2 months now. No problems.
Just started using the hulu plugin and everytime i click the video it just says terminating
can someone help me out?
We have talked about this in this thread. I have submitted a bug report to xbmc and hopefully this issue will be fixed in the future.
open Hulu/menu/VideoMenu.py and change
DEFAULT_VIDEO = None
#DEFAULT_VIDEO = "High"
to
#DEFAULT_VIDEO = None
DEFAULT_VIDEO = "High"
It will then default to the 700k VP6/mp3 stream
Thanks, Some how I missed that. Great addition to XBMC
trying to get hulu plugin to run on XBOX using latest T3CH build and keeyp getting a D_HANDLE - sys.argv[1]
indexerror: list index out of range
any help would be greatly appreciated
bigbaddumbdog
2009-01-05, 03:33
I have it running on the XBox with the latest T3CH build. Try nuking the Hulu directory and re-installing. I had to do this for some reason, after updating XBMC.
- dog
can you please confirm from me where you pulled your install from? I pulled the .2 version from the hulu post
adityaag
2009-01-05, 04:09
Thanks all for the advice. I upgraded to the 12-30 T3CH build of XBMC and all is well now on the Xbox. Didn't need to nuke the Hulu folder though. Definitely that the installer script comes with the build. Saved me quite a bit of time.
adityaag
2009-01-05, 05:40
what installer script?
It's part of the T3CH build. The up arrow next to the power button on the screen is where this is located.
For those who asked, I'm using the following version of Hulu plugin:
http://xbmc.org/forum/showpost.php?p=261994&postcount=176
thanks for the reply, i am seeing a bunch of scripts/plugins, but hulu is not one of them. not sure whats going on. i run the t3ch updater and says im @ latest version
i tried using the script you used and it still complains about index out of range
you can navigate through all the listings and select a show but when you click to play a dialog pops up stating its loading filename then below says its terminating
im using build 16188 on ubuntu 8.10
log from attempting to view a show,
http://pastebin.com/m7c58874e
just tried the veohproxy script and everytime i run it and try to load a video xbmc crashes
NO need for veohproxy with Hulu...
jrronimo
2009-01-05, 20:15
HI.
I am new to this thread. Been using xbmc for about 2 months now. No problems.
Just started using the hulu plugin and everytime i click the video it just says terminating
can someone help me out?
Are you using the Windows install from the XBMC front-page? If so, you need to use a newer version than that -- I was having this same problem.
Try getting something newer here (http://xbmc.org/forum/showthread.php?t=35452). I haven't done this myself yet, so I don't have any further directions.
doughmayne
2009-01-05, 21:29
Hi everyone,
brand new to this whole xbox modding thing in general (way to strike while the iron is hot eh?)
i am using this version of this plugin:
Sorry about that. It's fixed now.
Download
(http://www.mediafire.com/?j4ylwhnuxef)
i have it all installed, it comes up properly, i can see the show listings, even the little logos pop up next to each one, but when i select any one of the 0.0 KB links, nothing happens. after a few tries i tells me it is aborted, "too many consecutive failed attempts".
i am running the latest version of xbmc, i have tried it with and without veohproxy, and run into the same exact roadblock each time.
the only other problem i can think of, and that i have seen alluded to earlier in this thread, is that i am in canada. would this really be the problem? if so, is there any way around it?
any help is hugely appreciated, thanks so much in advance. and again, extreme n00b here so please take it easy on me.
thx again!
--steve
doughmayne
2009-01-05, 21:30
i should also note that not a single other streaming video plugin has worked for me, they have all resulted the same as above. i have however played vids off my hard drive and home network.
You may have DNS issues then. Make sure your network settings are correct.
doughmayne
2009-01-05, 22:33
dns settings seem to match up ok. i can play parts of the onion vids with the onion plugin so i don't think that dns settings would be the problem...?
i just checked on the hulu website and it says it only broadcasts to the US (i cn't even watch vids there online), so i am going to assume that my location is the problem, since everything except the actual streams (the menus, show listings, images) seem to work fine.
i guess now the question becomes: are there any video streaming sites such as hulu with xbmc plugins that are available in canada?
again, thanks and pardon my noobness.
I would have thought that you were in the US. We already went through this discussion in this thread about people outside the US.
Sorry...
rwparris2
2009-01-05, 22:48
i guess now the question becomes: are there any video streaming sites such as hulu with xbmc plugins that are available in canada?
Search for free media TV by Voinage. I haven't used it in a while but I assume it is still working (though maybe only on xbox)
doughmayne
2009-01-05, 22:57
hrrmMM ok this is interesting, i grabbed Voinage's free media tv plugin and installed it and am now having the same exact problem as with hulu. the show lists come up, the thumbnails and cover art do too... but then when you select the actual file, nothing happens. a few of them (simpsons) seem to try to open, but then just sits on the screen. after a few tries i get the same "too many consecutive failed items" notice.
philipacentaur
2009-01-06, 00:55
Hey rwparris2, your version of the Hulu script is awesome, but I've been getting a lot of "no buffer space available" errors when trying to get some category listings. I turned off all episode synopses and show descriptions and it still happens. It doesn't seem to happen in categories with fewer entries.
I'm running this on the current T3CH SVN release.
Also, the update that put the (sXX | eXX) in front of episodes doesn't seem to work very consistently.
Anyway, very nice work. I look forward to further improvements and features.
Thanks!
rayodin88
2009-01-06, 01:01
not sure if this will help you at all doughmayne but you should try clearing your Z: X: Y: i know i had a problem similar to your took voinage a few guesses and then he ran into the same thing i was getting turned out to be uncleared caches there holding things up. haven't had the problem since. hope this help ya....
doughmayne
2009-01-06, 01:11
the hard drives on my xbox.. i have C: E: and Q: listed (just the standard xbox, i have done no physical modding at all). the only "cache" folder i can find is in E:, and it only contains two files, each 0.5 KB in size.
is this what you're talking about or am i just completely off base here..?
please pardon my idiocy...!
Since your question is no longer Hulu plugin related, please take your discussion elsewhere. Let's leave this thread for Hulu.
Thanks.
doughmayne
2009-01-06, 01:24
sorry about that tslayer.
rayodin88 (or anyone else who might know what the problem is), i have started a new thread here (http://xbmc.org/forum/showthread.php?t=43228).
thanks!
Installed this plugin yesterday on the 12/30 T3CH SVN build and it worked without a hitch first time. Thanks for a great plugin!
However, with some TV shows are opening up in a small preview window mode rather than full view video mode. And later, if I stop and go to some other show clip, it is opening in full window mode as expected. This is happening randomly.
Also, I was unable to toggle from small preview window to full window (what's the right button?)
Has anyone experienced this issue?
thanks in advance.
sri
funkt4life
2009-01-06, 05:19
HI.
I solved the "terminating" issue on my windows machine. But I can't seem to solve it with my ubuntu machine.
I am using the daily builds but not the alternate ones shown to me earlier in this thread. All the alternates have .exe extensions. Has anyone got this to work on ubuntu?
Please let me know.
Thanks in advance.
Works fine for me on Ubuntu. Build your own to get latest SVN.
funkt4life
2009-01-06, 05:55
How do i do that?/
You try the manual? The stickies? Searching?
funkt4life
2009-01-06, 06:02
i dont know even what to search for to get this terminating hulu script to stop.
clues please
You need to search on how to compile XBMC from SVN source. Read the stickies.
funkt4life
2009-01-06, 06:09
i did compile the svn sources
by using svn packages fot apt-get source
deb http://ppa.launchpad.net/team-xbmc-svn/ubuntu intrepid main
deb-src http://ppa.launchpad.net/team-xbmc-svn/ubuntu intrepid main
Is that enough?