Home > Uncategorized > Automating Show Recording

Automating Show Recording

August 21st, 2009

We have a customer who has a radio show, which we’ve been recording and posting up to her website for a while. We were using a Windows box with an ancient version of Replay Radio to do the recording daily, and then every few days we used an audio program to compress the files down in size, and then ftp’ed them up, after which we had to manually go into the database to add them into a list. As you can imagine, a bit time consuming.

I finally got around to automating the process using Linux.

Here’s how it works:

  1. Create a shell script that records the show using mplayer
  2. Create a shell script to stop the recording
  3. Create yet another shell script to upload the file using ftp
  4. Create a php script to check the remote upload folder, and add new files into the database
  5. Create a shell script to run the remote batch checker using curl
  6. Set everything up in cron

Took me a bit of time to get it all right, but that’s going to save a whole bunch of time later on.

I’ll give details in another post if anyone is interested.

If you like this article, please share it with others:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • MySpace
Author: Jeremy Lichtman Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.
blog comments powered by Disqus

Services

  • Software Development
  • Web Development
  • Social Media
  • Search Engine Optimization

Partner Companies

Follow Us of Twitter