CBC Radio 2 Concerts on Demand

Peter Rukavina

CBC Radio 2 has an excellent Concerts on Demand feature on its website. Unfortunately it’s rendered as a set of web pages that makes easy browsing of the entire canon cumbersome, and because the links to tracks are trapped inside ASX files it’s harder for non-Windows users to get at the music itself (every time I tried to listen to a concert in Firefox on my Mac about 25 empty tabs would inexplicably spring open).

To help expose this resource to a wider audience, I’ve hacked together one big page that lists every concert and every track, in reverse chronological order.

This isn’t intended to be a pretty page, but rather a dead simple one. It’s intended to make using players like MPlayer and VideoLAN to listen to the concerts easier. It doesn’t actually do anything other than index the files on the CBC media server differently.

For the technically-minded among you, the key to the whole process is http://www.cbc.ca/radio2/cod/ajax.php, a handy URL that returns JSON about the concerts. It’s not optimized for use as an external API, so there’s some post-processing of the chunks of HTML table code that it returns, but the data is structured enough so that this isn’t arduous.

Comments

Submitted by Chris Corrigan on

Permalink

Very nice work Peter. Does this call the most recent updated page of CoD, or will you have to manually update as concerts are added?

Submitted by Peter Rukavina on

Permalink

I have a script, that I’ll publish shortly, that does all the “grabbing and processing” and that can be set to run every day automatically (it’s not set up this way yet).

Submitted by kerry231 on

Permalink

Great tips! I was trying to use the site a few months back and had no idea why all those dang tabs kept opening. Needless to say, I gave up! I never had that problem with sites for tickets to U2.

Add new comment

Plain text

  • Allowed HTML tags: <b> <i> <em> <strong> <blockquote> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, listen to audio I’ve posted, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). 

You can subscribe to an RSS feed of posts, an RSS feed of comments, or a podcast RSS feed that just contains audio posts. You can also receive a daily digests of posts by email.

Search