[REQUEST] CTV/TSN/Comedy Network Plugin?
#16
I'd love to see support for CTV, and especially the Comedy Network. Cheers to anyone who can get it working!
Reply
#17
The problem is all those website have been designed and protected in the same way: using RTMPE
For instance on CTV:
A lost video URL would be:
http://watch.ctv.ca/#clip239615
which lead to:
http://esi.ctv.ca/datafeed/urlgenjs.aspx?vid=239615
This last page include the URL of the stream:
rtmpe://cp45924.edgefcs.net/ondemand/secure_!test3/shows/2009/11/26/LOST-302-WX-QUICKCUT.mp4?auth=dbEanbSd6a3c2dXbKahbtdwbkagbfc4cgal-bloyl6-eS-iYG-rvI4vlICr&aifp=v001&slist=/secure_!test3/shows/2009/11/26/

If you go on http://watch.discoverychannel.ca it will be exactly the same pattern.
So without player for RTMPE stream (which I believe is not yet supported by XBMC, I hipe I am wrong), it will be difficult to create a plugin/script for those website.
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply
#18
Concerning the success of Boxee with CTV, my guess (but it is only an assumption and need to be verify) is that boxee is doing something which is paltform specific (MacOS) like Plex does.
If it is like plex, they use a swf player provided by MacOS (forgot the exact name) and it is this player who is able to do the decoding not the player of XBMC. I wouldn't be suprised they took the same approach than Plex in this case.
Image
_____________________________

Repositories Installer: select and install unofficial repositories / TAC.TV: watch videos on TAC.TV
Installer Passion-XBMC: Download and Install Add-ons (pre-Dharma only)

Image
Reply
#19
Has there been any advancement with the integration of webkit into XBMC? Would that allow for the playing of RTMPE streams?
Reply
#20
+1 for interest in such a plugin.
Reply
#21
+1 , me too Smile
Reply
#22
+1 for interest in this plugin! It would be so nice to watch the local nightly news Smile I assume this site is constructed in the same fashion as CBC?

http://www.cbc.ca/video/#/News/Canada/Manitoba
Reply
#23
+1

Maybe a New Year's wish come true for 2011? Smile
Reply
#24
Temhil Wrote:The problem is all those website have been designed and protected in the same way: using RTMPE
For instance on CTV:
A lost video URL would be:
http://watch.ctv.ca/#clip239615
which lead to:
http://esi.ctv.ca/datafeed/urlgenjs.aspx?vid=239615
This last page include the URL of the stream:
rtmpe://cp45924.edgefcs.net/ondemand/secure_!test3/shows/2009/11/26/LOST-302-WX-QUICKCUT.mp4?auth=dbEanbSd6a3c2dXbKahbtdwbkagbfc4cgal-bloyl6-eS-iYG-rvI4vlICr&aifp=v001&slist=/secure_!test3/shows/2009/11/26/

If you go on http://watch.discoverychannel.ca it will be exactly the same pattern.
So without player for RTMPE stream (which I believe is not yet supported by XBMC, I hipe I am wrong), it will be difficult to create a plugin/script for those website.

I think a tool like RTMP Dump (http://rtmpdump.mplayerhq.hu/) could be used to direct-download the FLV to the host. Can plugins download files to the host? After they do, would it be possible to have XBMC play the unencrypted FLV file?

There's an entire family of Canadian content that can be accessed with the same site and feed format (Comedy Central, CTV, CTV News, TSN, Discovery Channel, Bravo, Bravo Fact, MTV [maybe], e-talk, Fashion TV and BNN)

I'm highly interested in accessing BNN content (http://watch.bnn.ca) from my TV, but lack plugin-fu and python-fu.

EDIT: the BNN feeds don't have the "Canada Only" flags next to them. Are they still subject to RTMP encoding or are they unique among these feeds and can be streamed directly?
EDIT 2: It seems Boxee has CTV & CBC content available. See http://forums.boxee.tv/showpost.php?p=13...ostcount=5 (post circa Dec 2010). Not sure if the content support is open source (Boxee is based on XBMC isn't it? so their addons should be open source as well?)
Reply
#25
RTMPDUMP doesn't have to be used at all, and the streams don't need to be unencrypted to be played. Someone needs to build a plugin very similar to bluecop's plugins that finds the links on the CTV family of sites (watch.ctv.ca, watch.tsn.ca, etc) using this webpage:
http://esi.ctv.ca/datafeed/urlgenjs.aspx?vid=239615

I might see if I can tackle TSN.ca some day as it seems simpler than ctv.ca because everything is just clips. I see the biggest difficulty with ctv.ca is that each episode of a show is split into 4 or 5 clips. So to watch an entire episode of big bang theory on ctv.ca, you need to watch four 5 minute clips.

So... using a clip id of 419546. We plug that into
http://esi.ctv.ca/datafeed/urlgenjs.aspx?vid=419546 and we get:

Video.Load({url:'rtmpe://cp45924.edgefcs.net/ondemand/s_!ctv/shows/2011/02/17/BIGBANG-3x6666-EP-CLIP01.mp4?auth=dbEaxcHbRa7dycpaZbvascmbsc1a0cPa0aT-bny9xo-eS-iYG-rwH2qlMDr&aifp=v001&slist=/s_!ctv/shows/2011/02/17/',err:'',stings:[],bumpers:[]});

transform that into:
rtmp://cp45924.edgefcs.net/ondemand?ovpfv=2.1.4&auth=dbEaxcHbRa7dycpaZbvascmbsc1a0cPa0aT-bny9xo-eS-iYG-rwH2qlMDr&aifp=v001&slist=/s_!ctv/shows/2011/02/17/ playpath=mp4Confused_!ctv/shows/2011/02/17/BIGBANG-3x6666-EP-CLIP01

and that will play in XBMC (of course by the time someone reads this the auth will have changed, but you get the point.. The problem is finding the time to build a plugin for ctv.ca just like bluecop has done with his fantastic CBS plugin.
Reply
#26
teefer22 Wrote:RTMPDUMP doesn't have to be used at all, and the streams don't need to be unencrypted to be played. Someone needs to build a plugin very similar to bluecop's plugins that finds the links on the CTV family of sites (watch.ctv.ca, watch.tsn.ca, etc) using this webpage:
http://esi.ctv.ca/datafeed/urlgenjs.aspx?vid=239615

I might see if I can tackle TSN.ca some day as it seems simpler than ctv.ca because everything is just clips. I see the biggest difficulty with ctv.ca is that each episode of a show is split into 4 or 5 clips. So to watch an entire episode of big bang theory on ctv.ca, you need to watch four 5 minute clips.

So... using a clip id of 419546. We plug that into
http://esi.ctv.ca/datafeed/urlgenjs.aspx?vid=419546 and we get:

Video.Load({url:'rtmpe://cp45924.edgefcs.net/ondemand/s_!ctv/shows/2011/02/17/BIGBANG-3x6666-EP-CLIP01.mp4?auth=dbEaxcHbRa7dycpaZbvascmbsc1a0cPa0aT-bny9xo-eS-iYG-rwH2qlMDr&aifp=v001&slist=/s_!ctv/shows/2011/02/17/',err:'',stings:[],bumpers:[]});

transform that into:
rtmp://cp45924.edgefcs.net/ondemand?ovpfv=2.1.4&auth=dbEaxcHbRa7dycpaZbvascmbsc1a0cPa0aT-bny9xo-eS-iYG-rwH2qlMDr&aifp=v001&slist=/s_!ctv/shows/2011/02/17/ playpath=mp4Confused_!ctv/shows/2011/02/17/BIGBANG-3x6666-EP-CLIP01

and that will play in XBMC (of course by the time someone reads this the auth will have changed, but you get the point.. The problem is finding the time to build a plugin for ctv.ca just like bluecop has done with his fantastic CBS plugin.

This is very good news. I will take bluecop's plugin and attempt to modify it. I must warn that I've never done my own mod before, so don't expect a miracle.

In the mean time, I suggest we drum up support for this request until we get some attention from some more experienced modders.
Reply
#27
srsobieraj Wrote:This is very good news. I will take bluecop's plugin and attempt to modify it. I must warn that I've never done my own mod before, so don't expect a miracle.

That's basically what I had tried in the past on globaltv.com (that seemed like an easier site than ctv for me to start off with) and although I was very slowly making some progress, it was too much work for me. The biggest reason is because this was my first experience with python and without a way to step through the code line by line, it was very slow progress.

I really am not trying to discourage you. I'm quite sure that it was do-able for me, but as I was working on a globaltv.com plugin, I realized that almost everything on globaltv.com was already available on navi-x/abc, navi-x/nbc, and bluecop/cbs. And globaltv's quality generally isn't as good as the alternatives.

Which is why I might try and tackle tsn this time around. At least it's content I can't seem to find anywhere else.

Good luck. If you are better than I am at the python side of things, I already figured out how to manually get the rtmp links for globaltv.com and cbc.ca/video. The python to parse the website and build the plugin is what I was struggling with.
Reply
#28
+1

Would love a live hockey stream too. I'm in the USA but if it would work here....would be great. To see games broadcast in Canada here in the USA (besides hockey Night in Canada...which I see on Saturdays on NHL Network) would be a dream!!
Image
Reply
#29
teefer22 Wrote:RTMPDUMP doesn't have to be used at all, and the streams don't need to be unencrypted to be played. Someone needs to build a plugin very similar to bluecop's plugins that finds the links on the CTV family of sites (watch.ctv.ca, watch.tsn.ca, etc) using this webpage:
http://esi.ctv.ca/datafeed/urlgenjs.aspx?vid=239615

I might see if I can tackle TSN.ca some day as it seems simpler than ctv.ca because everything is just clips. I see the biggest difficulty with ctv.ca is that each episode of a show is split into 4 or 5 clips. So to watch an entire episode of big bang theory on ctv.ca, you need to watch four 5 minute clips.

So... using a clip id of 419546. We plug that into
http://esi.ctv.ca/datafeed/urlgenjs.aspx?vid=419546 and we get:

Video.Load({url:'rtmpe://cp45924.edgefcs.net/ondemand/s_!ctv/shows/2011/02/17/BIGBANG-3x6666-EP-CLIP01.mp4?auth=dbEaxcHbRa7dycpaZbvascmbsc1a0cPa0aT-bny9xo-eS-iYG-rwH2qlMDr&aifp=v001&slist=/s_!ctv/shows/2011/02/17/',err:'',stings:[],bumpers:[]});

transform that into:
rtmp://cp45924.edgefcs.net/ondemand?ovpfv=2.1.4&auth=dbEaxcHbRa7dycpaZbvascmbsc1a0cPa0aT-bny9xo-eS-iYG-rwH2qlMDr&aifp=v001&slist=/s_!ctv/shows/2011/02/17/ playpath=mp4Confused_!ctv/shows/2011/02/17/BIGBANG-3x6666-EP-CLIP01

and that will play in XBMC (of course by the time someone reads this the auth will have changed, but you get the point.. The problem is finding the time to build a plugin for ctv.ca just like bluecop has done with his fantastic CBS plugin.

I tried this today, in fact I have the entire plugin written, but XBMC Still doesn't want to play those streams, the url translations look like this:

from
Code:
rtmpe://cp45924.edgefcs.net/ondemand/s_!ctv/shows/2011/02/10/BIGBANG-3x6665-EP-CLIP02.mp4?auth=dbEaUcXa_cXd2bldJcTbeb0bZdJbEa1bxaT-bnzMry-eS-iYG-uwN1qnMDr&aifp=v001&slist=/s_!ctv/shows/2011/02/10/

to:
Code:
rtmp://cp45924.edgefcs.net/ondemand?ovpfv=2.1.4&auth=dbEaUcXa_cXd2bldJcTbeb0bZdJbEa1bxaT-bnzMry-eS-iYG-uwN1qnMDr&aifp=v001&slist=/s_!ctv/shows/2011/02/10/playpath=mp4:s_!ctv/shows/2011/02/10/BIGBANG-3x6665-EP-CLIP02

did I miss something or has ctv plugged the hole?


EDIT: Fixed it! I took out a space in your url, assuming it was a mistake, but it wasn't Smile watch for the plugin later today.
Reply
#30
Woo hoo!

Maybe a new repository should be setup specifically for Canadian content addons?
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] CTV/TSN/Comedy Network Plugin?0