Closed yultide closed 11 years ago
Hi Yulius,
Can the Hulu plugin not accept a content_id of sorts that can be taken from the URL? Needing a specific commit for the Hulu plugin to work is a little troublesome.
-khloke
The hulu plugin will work if we can pass the content_id in the HTML of the hulu page without a need for patching. The patch simply fixes a HTML parse problem on the plugin side because hulu's html changed.
For example if you look at http://www.hulu.com/watch/534503 HTML source, you'll see the real video id id is 60267762. If you can't find it, look for 'content_id'.
If you have both, the url to launch the video using the XBMC json api is. {"item" :{ "file" : "plugin://plugin.video.hulu/?url=\"60267762\"&mode=\"TV_play\"&videoid=\"534503\"" }}, "id" :1}
I currently don't know how to get the 60267762 number in the chrome plugin. If you know how to do it, let me know. Otherwise, I can keep bugging the bluecorp guy to accept the patch.
Thanks for your time.
Right I see, that's cool then. I'll have a look and add in the additional stuff for grabbing the video id. Thanks for clarifying that.
Cheers, khloke
add hulu support. requires this particular commit in the plugin.
https://github.com/yultide/BlueCop-XBMC-Plugins/commit/71688a4e6e5ee8b972d6e2012b138e1ad3b93757