2011-06-24, 16:35
Hey guys,
So first let me say I'm not familiar how to setup RTMP video addons and I believe that is what this is (coming from my Wireshark output), but here goes nothing.
I just started working on a Futurama Addon for Comedy Central, this is a very rough draft and does not have any fine visual and performance tweaks yet:
https://github.com/jness/plugin.video.fu...default.py
The issue I'm having is pulling on the Stream which I believe to be in this blob of HTML (from Comedy Central site):
[HTML]
<object id="full_ep_video_player" type="application/x-shockwave-flash" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="768" height="432" xmlns:media="http://search.yahoo.com/searchmonkey/media/" rel="media:video" resource="http://media.mtvnservices.com/mgid:cms:fullepisode:comedycentral.com:343175" xmlns:dc="http://purl.org/dc/terms/">
<param name="movie" value="http://media.mtvnservices.com/mgid:cms:fullepisode:comedycentral.com:343175"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#000000"/>
<param name="seamlesstabbing" value="true"/>
<param name="swliveconnect" value="true"/>
<param name="allowscriptaccess" value="always"/>
<param name="allownetworking" value="all"/>
<param name="allowfullscreen" value="true"/>
<param name="flashvars" value="page not found&autoPlay=true&configParams=site%3Dcomedycentral.com"/>
[/HTML]
I've been able to download the resource (http://media.mtvnservices.com/mgid:cms:f...com:343175) using wget and a proper user-agent and it appears to be a valid Flash content (most likely partial as I did not use rtmp functions):
However when I run this addon I get the following in my xbmc.log:
Anyone got thoughts?
So first let me say I'm not familiar how to setup RTMP video addons and I believe that is what this is (coming from my Wireshark output), but here goes nothing.
I just started working on a Futurama Addon for Comedy Central, this is a very rough draft and does not have any fine visual and performance tweaks yet:
https://github.com/jness/plugin.video.fu...default.py
The issue I'm having is pulling on the Stream which I believe to be in this blob of HTML (from Comedy Central site):
[HTML]
<object id="full_ep_video_player" type="application/x-shockwave-flash" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="768" height="432" xmlns:media="http://search.yahoo.com/searchmonkey/media/" rel="media:video" resource="http://media.mtvnservices.com/mgid:cms:fullepisode:comedycentral.com:343175" xmlns:dc="http://purl.org/dc/terms/">
<param name="movie" value="http://media.mtvnservices.com/mgid:cms:fullepisode:comedycentral.com:343175"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#000000"/>
<param name="seamlesstabbing" value="true"/>
<param name="swliveconnect" value="true"/>
<param name="allowscriptaccess" value="always"/>
<param name="allownetworking" value="all"/>
<param name="allowfullscreen" value="true"/>
<param name="flashvars" value="page not found&autoPlay=true&configParams=site%3Dcomedycentral.com"/>
[/HTML]
I've been able to download the resource (http://media.mtvnservices.com/mgid:cms:f...com:343175) using wget and a proper user-agent and it appears to be a valid Flash content (most likely partial as I did not use rtmp functions):
Code:
$ file tmp.movie
tmp.movie: Macromedia Flash data (compressed), version 10
However when I run this addon I get the following in my xbmc.log:
Code:
09:27:16 T:2957742080 M:651608064 NOTICE: -->Python Interpreter Initialized<--
09:27:16 T:2957742080 M:650354688 NOTICE: Mode: None
09:27:16 T:2957742080 M:650354688 NOTICE: URL: None
09:27:16 T:2957742080 M:650354688 NOTICE: Name: None
09:27:18 T:2957209600 M:649023488 NOTICE: -->Python Interpreter Initialized<--
09:27:18 T:2957209600 M:649007104 NOTICE: Mode: 1
09:27:18 T:2957209600 M:649007104 NOTICE: URL: http://www.comedycentral.com/full-episodes/futurama
09:27:18 T:2957209600 M:649007104 NOTICE: Name: Futurama
09:27:18 T:2957209600 M:649007104 NOTICE: http://www.comedycentral.com/full-episodes/futurama
09:27:20 T:2957209600 M:648720384 NOTICE: -->Python Interpreter Initialized<--
09:27:21 T:2957209600 M:648630272 NOTICE: Mode: 2
09:27:21 T:2957209600 M:648630272 NOTICE: URL: http://www.comedycentral.com/full-episodes/futurama/607-the-late-philip-j--fry
09:27:21 T:2957209600 M:648630272 NOTICE: Name: 607-the-late-philip-j--fry
09:27:21 T:2957209600 M:648630272 NOTICE: http://www.comedycentral.com/full-episodes/futurama/607-the-late-philip-j--fry
09:27:21 T:2957209600 M:648630272 ERROR: EndOfDirectory - called with an invalid handle.
09:27:21 T:2689963328 M:648695808 NOTICE: DVDPlayer: Opening: http://media.mtvnservices.com/mgid:cms:fullepisode:comedycentral.com:343175
09:27:21 T:2689963328 M:648695808 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
09:27:21 T:2955046912 M:648687616 NOTICE: Creating InputStream
09:27:22 T:2955046912 M:648302592 NOTICE: Creating Demuxer
09:27:22 T:2955046912 M:647643136 ERROR: Open - Error, could not open file http://media.mtvnservices.com/mgid:cms:fullepisode:comedycentral.com:343175
09:27:22 T:2955046912 M:647643136 ERROR: OpenDemuxStream - Error creating demuxer
09:27:22 T:2955046912 M:647643136 NOTICE: CDVDPlayer::OnExit()
09:27:22 T:2955046912 M:647639040 NOTICE: CDVDPlayer::OnExit() deleting input stream
09:27:22 T:2689963328 M:648077312 NOTICE: CDVDPlayer::CloseFile()
09:27:22 T:2689963328 M:648077312 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
09:27:22 T:2689963328 M:648077312 NOTICE: DVDPlayer: waiting for threads to exit
09:27:22 T:2689963328 M:648126464 NOTICE: DVDPlayer: finished waiting
Anyone got thoughts?