As an alternative, you can also query by the ID shown on the video link on CBC site. In this case it is javascript:CBC.APP.UberPlayer.playRelease('1386627743'), so the query URL would be
3- Running either of these queries by going to the URL returns you the requested information (show, seasonNumber, EpisodeNumber, and URL) in JSON format. The URL is really the only important part here (I only included the rest to make sure that I was actually getting the show I wanted), and, in this case, it is
Here's a complete example. Say you missed the latest episode of the "The Hour" and wanted to watch it.
1- You go to http:// www.cbc. ca/video, view the source to get the feedPID and surf around until you the other relevant information
feedPID= _DyE_l_ gC9yXF9BvDQ4XNf cCVLS4PQij the,hour
searchterms=
season=6
episode=79
2- You construct the URL to query cbc.feeds. theplatform. com to return the other URL you need in JSON format
http:// cbc.feeds. theplatform. com/ps/ JSON/PortalServ ice/2.2/ getReleaseList? PID=_DyE_ l_gC9yXF9BvDQ4X NfcCVLS4PQij& contentCustomFi eld=show& contentCustomFi eld=seasonNumbe r&contentCustom Field=EpisodeNu mber&field= URL&query= KeywordsSearch|the,hour& query=ContentCu stomText| seasonNumber| 6&query= ContentCustomTe xt|EpisodeNumbe r|79
As an alternative, you can also query by the ID shown on the video link on CBC site. In this case it is javascript: CBC.APP. UberPlayer. playRelease( '1386627743' ), so the query URL would be
http:// cbc.feeds. theplatform. com/ps/ JSON/PortalServ ice/2.2/ getReleaseList? PID=_DyE_ l_gC9yXF9BvDQ4X NfcCVLS4PQij& contentCustomFi eld=show& contentCustomFi eld=seasonNumbe r&contentCustom Field=EpisodeNu mber&field= URL&query= IDs|1386627743
3- Running either of these queries by going to the URL returns you the requested information (show, seasonNumber, EpisodeNumber, and URL) in JSON format. The URL is really the only important part here (I only included the rest to make sure that I was actually getting the show I wanted), and, in this case, it is
http:// release. theplatform. com/content. select? pid=jA_ D_kIw9UxRQYGjpe yVWwrjrwU4u2F4& UserName= Unknown& Embedded= True&Portal= All%20Content& Tracking= True
4- Going to this URL gets you the XML document containing the information you need for flvstreamer. Specifically
rtmp:// cp37429. edgefcs. net/ondemand/ ?auth=daFata_ dhbuazcYa_ aRbrbUducsdld5b gbw-bluFLW- T-uko_JrnYzlCoA Ay&aifp= v0001&slist= netstorage
and
netstorage/ The_Hour- 21_27_39- 2010-01- 14
5- Then quickly (before the link expires) run
flvstreamer -r 'rtmp:/ /cp37429. edgefcs. net/ondemand/ ?auth=daFata_ dhbuazcYa_ aRbrbUducsdld5b gbw-bluFLW- T-uko_JrnYzlCoA Ay&aifp= v0001&slist= netstorage' -y 'netstorage/ The_Hour- 21_27_39- 2010-01- 14' -o temp.flv
(note that the quotes are necessary to stop you shell from acting on the &s)
6- Once it completes, load "The_Hour- 2009-12- 01.flv" file up in your video player to watch it.