XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > Plugin/Script (Python) Help and Support

Plugin/Script (Python) Help and Support Python requests/suggestions, support, bugs, and everything python goes in here!
Please, add platform prefix to threads that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 2009-02-20, 07:47   #581
ptaylor
Junior Member
 
Join Date: Feb 2009
Posts: 16
ptaylor is on a distinguished road
Default

Oh - definitely wait!

I imagine a good solution will be implemented in the main script at some point. For maximum compatibility with all platforms and the X-box, we might need to host the wrapper swf file somewhere and just let the XBMC Hulu script perform one more call to that wrapper, the hosted wrapper can access it's own local copy of the sec.swf file to actually perform the decryption. That might be a fair amount of processing though, depending on how popular it is. Plus, I don't know about the legality of hosting that.

The best solution would be if some actionscript wizard could figure out the real encryption method, then just implement that in python.

Last edited by ptaylor; 2009-02-20 at 07:49. Reason: Added more thoughts...
ptaylor is offline  
Old 2009-02-20, 07:56   #582
oneeyedelf1
Junior Member
 
Join Date: Feb 2009
Posts: 3
oneeyedelf1 is on a distinguished road
Default hrm

It isn't working for me. I am sure I am passing the decrypted pid. I am not sure if I have a good enough version of xbmc to run the hulu plugin. The version that I am using is the one in the ubuntu PPA. Can someone tell me how to easily determine if I have RTMP support or install a version on ubuntu rather easily that has RTMP support?
Maybe people can tell me if I am on the right path, I am getting this as my url for Heroes
<code>
rtmp://cp39465.hulu.com:1935/ondemand?_fcs_vhost=cp39465.hulu.com&auth=daEapdeb Wcrc2c9bWdnc6dZbbaNducBbhb1-bjNLFX-8-1qJCzEu0Ezn&aifp=NS20070910&slist=content/39478/14/37/HuluTranscode_62967_67850_FLASH_480K_16x9_23_976__ 4QUNdySS10G5XSLx+f6Ahw</code>

Last edited by oneeyedelf1; 2009-02-20 at 09:30.
oneeyedelf1 is offline  
Old 2009-02-20, 10:46   #583
d4rk
Team-XBMC Developer
 
d4rk's Avatar
 
Join Date: May 2007
Location: Albuquerque
Posts: 500
d4rk is on a distinguished road
Default

I've uploaded a "dirty" patch to rwparris2's Hulu plugin, which decrypts the PID and restores functionality for the time being. You can grab it from here if you're interested.

EDIT: You can download the patched plugin from here.

EDIT2: rwparris2 is the author of the Hulu plugin (and many other awesome plugins), not me, so please direct all praise his way.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Please read and follow the forum rules.
For troubleshooting and bug reporting, please make sure you read this first.



Last edited by d4rk; 2009-02-21 at 04:50.
d4rk is offline  
Old 2009-02-20, 11:59   #584
vash3k
Junior Member
 
Join Date: Feb 2009
Posts: 5
vash3k is on a distinguished road
Default

Hey, I've got it running right now on the Xbox. Awesome job so far guys! I had some errors when ftping it so I used the file manager in XBMC to bring it over. Otherwise, not bad.
vash3k is offline  
Old 2009-02-20, 14:22   #585
lewis.donofrio
Senior Member
 
Join Date: Feb 2009
Posts: 116
lewis.donofrio is an unknown quantity at this point
Cool Uh patch....

how do we keep this "just for xbmc and not boxee jerks"
lewis.donofrio is offline  
Old 2009-02-20, 14:35   #586
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 8,520
spiff will become famous soon enough
Default

we dont
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
spiff is offline  
Old 2009-02-20, 15:19   #587
ptaylor
Junior Member
 
Join Date: Feb 2009
Posts: 16
ptaylor is on a distinguished road
Default

Quote:
Originally Posted by d4rk View Post
I've uploaded a "dirty" patch to the Hulu plugin, which decrypts the PID and restores functionality for the time being. You can grab it from here if you're interested.

EDIT: You can download the patched plugin from here.
Awesome work! Re-implementing the decryption in Python is about the best fix we could hope for!
ptaylor is offline  
Old 2009-02-20, 16:07   #588
angrycamel
Member
 
angrycamel's Avatar
 
Join Date: Dec 2008
Posts: 35
angrycamel is on a distinguished road
Default

Quote:
Originally Posted by ptaylor View Post
Awesome work! Re-implementing the decryption in Python is about the best fix we could hope for!
For now, yes. However every time Hulu puts out a newer version of sec.swf we will have to race to get it ported and distributed. It would be much better to actually just run the sec.swf (in a wrapper) by downloading it directly from the Hulu site in XBMC. This is what rectalogic is working on testing out with gnash.

Any progress on that rectalogic?
angrycamel is offline  
Old 2009-02-20, 16:33   #589
WhySoSerious70
Junior Member
 
Join Date: Feb 2009
Posts: 1
WhySoSerious70 is on a distinguished road
Default

d4rk's fix works for me. I guess by 'dirty' he is refering to the errors I seem to get when running the plugin. When initially starting the plugin and subsequently every link you click after you get the error: "Python script failed: special://home/plugins/video/Hulu/default.py" but the end result is still a playable show or movie. Thanks d4rk!
WhySoSerious70 is offline  
Old 2009-02-20, 16:53   #590
jonm42
Senior Member
 
Join Date: Feb 2009
Location: Portland, OR
Posts: 178
jonm42 is on a distinguished road
Default

On Mac OS 10.5.6, I get a hang and require a force quit -- nothing in the log.
jonm42 is offline  
Closed Thread

Bookmarks

Tags
hulu, rtmp


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:45.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project