[REQUEST] CTV/TSN/Comedy Network Plugin?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
da23ad Offline
Junior Member
Posts: 21
Joined: Dec 2010
Reputation: 0
Post: #21
+1 , me too Smile
find quote
dcowboy Offline
Junior Member
Posts: 15
Joined: Nov 2010
Reputation: 0
Post: #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
(This post was last modified: 2010-12-31 21:24 by dcowboy.)
find quote
Icarus3000 Offline
Senior Member
Posts: 147
Joined: Nov 2009
Reputation: 0
Post: #23
+1

Maybe a New Year's wish come true for 2011? Smile
find quote
srsobieraj Offline
Member
Posts: 65
Joined: Dec 2010
Reputation: 0
Post: #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?)
(This post was last modified: 2011-02-07 07:30 by srsobieraj.)
find quote
teefer22 Offline
Member
Posts: 97
Joined: Dec 2010
Reputation: 27
Post: #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.
find quote
srsobieraj Offline
Member
Posts: 65
Joined: Dec 2010
Reputation: 0
Post: #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.
find quote
teefer22 Offline
Member
Posts: 97
Joined: Dec 2010
Reputation: 27
Post: #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.
find quote
rj89 Offline
Junior Member
Posts: 35
Joined: Feb 2011
Reputation: 0
Post: #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: watched-fanart.jpg]
find quote
andre_pl Offline
Senior Member
Posts: 103
Joined: Aug 2009
Reputation: 0
Post: #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.
(This post was last modified: 2011-02-24 16:08 by andre_pl.)
find quote
Eldorado Offline
Posting Freak
Posts: 922
Joined: May 2009
Reputation: 11
Post: #30
Woo hoo!

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