The playlist file is an text file with the names of your files like:
# cat list.m3u
/music/song1.mp3
/music/song2.mp3
.
.
And the ices.conf should be something like:
# cat ices.conf
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
<Playlist>
<File>/usr/local/icecast/etc/list.m3u</File>
<Randomize>1</Randomize>
<Type>builtin</Type>
<Module>ices</Module>
</Playlist>
<Execution>
<Background>0</Background>
<Verbose>1</Verbose>
<BaseDirectory>/var/log/icecast</BaseDirectory>
</Execution>
<Stream>
<Server>
<Hostname> Your IP </Hostname>
<Port>8000</Port>
<Password> A password </Password>
<Protocol>xaudiocast</Protocol>
</Server>
<Mountpoint>ices</Mountpoint>
<Name> The name of you stream, not the name of the song! </Name>
<Genre> Genre of your stream, be it rock or pop or whatever </Genre>
<Description> Longer description of your stream </Description>
<URL> URL to a page describing your stream </URL>
<Public>1</Public>
<Bitrate>128</Bitrate>
<Reencode>0</Reencode>
<Channels>2</Channels>
</Stream>
</ices:Configuration>
|