2009-12-13, 23:35
I'd love to see support for CTV, and especially the Comedy Network. Cheers to anyone who can get it working!
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.
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=mp4_!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.
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.
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=mp4_!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.
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/
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