LiveIce is the source client for Icecast which encodes an mpeg stream for broadcast as it is created. Unlike clients such as Shout and IceDJ this permits the broadcast of live audio, rather than prerecorded mp3's. To start: 0. start icecast 1. find $HOME/mp3 -type f >playlist 2. liveiceconfigure.tk, save 3. In /bin/sh: liveice -M 2>/dev/null
15 lines
311 B
Text
15 lines
311 B
Text
$NetBSD: patch-ah,v 1.1.1.1 2000/11/21 06:01:49 hubertf Exp $
|
|
|
|
--- playlist.c.orig Tue Nov 21 04:43:42 2000
|
|
+++ playlist.c
|
|
@@ -130,6 +130,10 @@
|
|
int i,r_type=MISC_AUDIO;
|
|
|
|
extn=strrchr(trackname,'.');
|
|
+
|
|
+ if (extn == NULL)
|
|
+ return MISC_AUDIO;
|
|
+
|
|
lcext=malloc(strlen(extn)+2);
|
|
i=0;
|
|
while(extn[i]!=0){
|