cd /usr/local/icecast/bin

# Clean out the logfiles

rm -f /var/log/icecast/*.*
rm -f /var/log/icecast/vman/*.*
rm -f /var/log/icecast/mom/*.*
rm -f /var/log/icecast/catherine/*.*
rm -f /var/log/icecast/comedy/*.*
rm -f /var/log/icecast/classical/*.*

# Create The Playlists

ls /web/mp3/*.mp3 > /var/log/icecast/playlist.vman
ls /web/mp3/mom/*.mp3 > /var/log/icecast/playlist.mom
ls /web/mp3/catherine/*.mp3 > /var/log/icecast/playlist.catherine
ls /web/mp3/comedy/*.mp3 > /var/log/icecast/playlist.comedy
ls /web/mp3/classical/*.mp3 > /var/log/icecast/playlist.classical

# Start the Icecast Server

./icecast > /dev/null 2> /dev/null
	sleep 10

# Start the V-Man Stream

./ices -B -b 56 -h randolph -p 8000 -P xxxxx -r -m vman -n "V-Man's Music" -g "Mixture of 80's/90's/Present" -u "http://v-man.ca:8000" -D /var/log/icecast/vman -F playlist.vman 
	sleep 5