StreamRipper
Install audio packages
You'll want to use pkg_install the following:
- audio/darkice - Encodes audio from the sound card and sends it to the Icecast server.
- audio/icecast2 - Serves up the web stream.
- audio/streamripper - Saves the web stream to files. We use this to build the program archive.
- www/lynx - Terminal web browser, this is optional but it helps verify that Icecast is setup correctly.
The following pages will walk you through the configuration of these packages.
Drupal Station Module
Working at KPSU I did a lot of work to build a database driven schedule and web stream archive. After I migrated the website to Drupal I packaged up the custom code I'd written and released it as the station module. The part I'm probably proudest is the archive. It uses StreamRipper to save an hour-long MP3 of each show and then imports them into Drupal as audio nodes.
One of my primary with the station module has been lowering the barrier for other college stations to get on the web and make their shows accessible on the internet. There are several commercial and college stations using my code. You can find links below.






