This script does everything you'll require to broadcast mp3s to an icecast server. It even allows you to use LAME (an encoder) to downsample the files automatically. It's not very advanced, and not put together as well as it could be, but here it is.
#!/usr/bin/perl -w use Getopt::Long; #get this module from CPAN use strict; use Shout; #get this module from www.icecast.org my %optctl; my $SIGNEXT=0; my @filearray; my @backupfilearray; my $use_playlist=1; my $encoder_pre="/usr/local/bin/lame -S -h ";

Read More...

Replies are listed 'Best First'.
RE: IceCastor.pl... mp3 streamer.
by Cirollo (Friar) on Sep 06, 2000 at 05:34 UTC
    There is a similar program at MP3 server with IO::Socket - all it does is open a socket when you try to connect with a progam like XMMS or Winamp (via 'Play Location') and then spit mp3s from a playlist into the socket.