BBC Radio and Me

I love BBC radio.

Especially Radio4.

I HATE real-audio.

I REALLY hate streaming.

So, I sat down last night and coded up something.

A small script associated with the *.ram mime type. This records the rtsp stream info into a file in a queue directory.

A cron job to periodically scan this directory and download to raw PCM the stream.

Another cron job to periodically check for the PCM files and re-encode as MP3 including asserting id3tags against the file reflecting the information of the program.

The next steps are :-

  • Copy the resultant mp3 into the directory structure used by my shoutcast server
  • Write a script to index the new MP3 files into my homegrown rails based “music box” software
  • Add an RSS feed of incoming content to the “music box” site.
  • Work out some form of scheduling support so that I can record the Archers omnibus every week without intervention.

Oh, dear, did I just admit to listening to “The Archers”!?

Leave a Reply

Your email address will not be published. Required fields are marked *