LinHES Forums
http://forums.linhes.org/

MythVodka: Fix for Hulu's recent changes
http://forums.linhes.org/viewtopic.php?f=17&t=19550
Page 1 of 4

Author:  nickca [ Fri Feb 20, 2009 6:01 am ]
Post subject:  MythVodka: Fix for Hulu's recent changes

Deleted - outdated information

Author:  Bodah [ Fri Feb 20, 2009 11:00 am ]
Post subject: 

I was waiting for R6 to play with mythvodka, but I was really disappointed after hearing about hulu breaking.

Maybe I will give this a try after upgrading.

Author:  davilla [ Fri Feb 20, 2009 11:13 am ]
Post subject: 

see http://xbmc.org/trac/ticket/5941

python solution to the decryption issue.

Author:  hackmeister [ Fri Feb 20, 2009 11:14 am ]
Post subject: 

davilla wrote:
see http://xbmc.org/trac/ticket/5941

python solution to the decryption issue.


Nice find Scott! Gotta love how fast people find workarounds.

Author:  davilla [ Fri Feb 20, 2009 1:13 pm ]
Post subject: 

Hehe, watching the Hulu stuff being cracked on an xbmc IRC helped :))

Author:  nickca [ Fri Feb 20, 2009 6:00 pm ]
Post subject: 

Damn, that was fast. I figured it would take much longer for this to happen. In that case, now all you need to do is edit /usr/local/bin/hulu and add a few lines (they seem to use the same Python loader as MythVodka) and put that dec.py file somewhere in your Python path.

Author:  nickca [ Fri Feb 20, 2009 7:20 pm ]
Post subject: 

Okay, forget the first post in this thread: here's all you need to do now to fix MythVodka.

1: Download this file.
2. Untar it somewhere and drop all three files (dec.py, rd.py and hulu) into /usr/local/bin or wherever else in your path you've installed all the MythVodka binaries/scripts (if you're using the binary package for R5.5, it's /usr/local/bin)

That's it, it works again. Maybe we'll need a fix like mine if they completely rewrite their decryption mechanism to thwart us again, but for now we're good to go again. All praise to the XBMC developers.

Author:  marc.aronson [ Fri Feb 20, 2009 7:51 pm ]
Post subject: 

Very nice -- thanks!

Author:  Too Many Secrets [ Fri Feb 20, 2009 11:15 pm ]
Post subject: 

Thanks! working!

Author:  nickca [ Sat Feb 21, 2009 6:28 am ]
Post subject: 

Well, they broke it again already. Clearly, we're going to have to interface directly with their decryption mechanism rather than re-implementing it. My original method (first post in the thread) still works, and one of the XBMC devs is apparently working on a way to call the decryption routine without any intermediary ActionScript. I'm also going to try some things and see what I can come up with.

Author:  Too Many Secrets [ Sat Feb 21, 2009 12:47 pm ]
Post subject: 

Wow, it's war! :)

Well, I'll give it a few days and see what the best/easiest work around will be.

Author:  nickca [ Sat Feb 21, 2009 3:29 pm ]
Post subject: 

I think I've got a way to run the same ActionScript I've already posted, but without having to download the AIR SDK (which isn't redistributable, thus it isn't really more than a temporary fix for current installs). It involves using GNU's GNASH flash decoder and some changes to /usr/local/bin/hulu. I've also been in contact with the MythVodka developer.

What Hulu was after initially was A. primarily some site named TV.com which was basically pirating their feeds and showing them on their site to make ad revenue, which is why they initially dropped the unencrypted PID and B. to a lesser extent something called "Boxee", which is what they made this latest change to break again after LifeHacker "helpfully" posted an article called "Bring Hulu back to Boxee" detailing the work that's been done on the Python reimplementation. I don't think they even know MythVodka exists, and even if they do it's not widely used enough for them to care.

Anyway, if I get my new fix working, I'll post it here later today and also contact the MythVodka developer. This is a temporary setback at worst.

Author:  nickca [ Sat Feb 21, 2009 7:01 pm ]
Post subject: 

Deleted: outdated information

Author:  thrillhouse [ Sun Feb 22, 2009 10:54 pm ]
Post subject: 

I can type
Code:
hulu http://www.hulu.com/watch/57887 /var/tmp/tempfile.mov

and the file downloads and plays fine, but if I go through the myth interface, I still get a "Sorry old bean...".

I did have to comment out the sys.exit(0) on line 45ish of the hulu script to get this far.

Any idea what I'm missing here?

Author:  nickca [ Mon Feb 23, 2009 12:44 am ]
Post subject: 

Oh, crap! That sys.exit(0) shouldn't be in there. I left that in there by mistake, I used it to test if the PID was getting decrypted without downloading anything. Yeah, either remove that from hulu or use the diff against the original hulu, which doesn't have that in there. Sorry about that. I'll reupload a new tarball with that removed in a few minutes.

Other than that, I'm not sure why it wouldn't work. If you run it from the command line and it starts spitting out stuff instead of just failing entirely, then there's no reason it shouldn't work from the MythVodka interface. Are you using the precompiled 0.7 for R5.5 from the KnoppmythWiki article?

EDIT: I've fixed the sys.exit problem, new link is in above post. Sorry about that, I've been tooling around with this so much that I have all kinds of different files, versions of hulu, etc. kicking around and I got confused. :)

Page 1 of 4 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/