<p>
Klaatu talks about how to set up Icecast, new Ices, old Ices, and a
nice little (simple) HTML5 player. This is part one of a
two-part series.
</p>
<p>
Here are the raw commands for Icecast, Ices, and Ices-cc:
</p>
<pre>
#start the streaming server
icecast -c /etc/icecast.xml -B

#start the mp3 stream
ices-cc -c /etc/ices-cc.conf -F /home/dj/playlist.txt -R -b 96 -m mp3 -P radio

# start the ogg stream
ices /etc/ices/ices-playlist.xml
</pre>
<p>
Here is the code for the simple HTML5 player that Klaatu mentions in
the episode. It's straight HTML5 but in case you're new to HTML5
then this could be useful:
</p>
<pre>
&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
    &lt;title&gt;My Great Streaming Server Example dot Com&lt;/title&gt;
&lt;/head&gt;
&lt;div id="player"&gt;
&lt;audio width="100px" height="200px" autoplay loop controls autobuffer preload="auto"&gt;
      &lt;source src="<a href="https://example.com:8000/mp3">https://example.com:8000/mp3</a>" type="audio/mp3" /&gt;
      &lt;source src="<a href="https://example.com:8000/ogg">https://example.com:8000/ogg</a>" type="audio/ogg" /&gt;
&lt;/audio&gt;
&lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;
</pre>

<p>
Klaatu is indebted to Kwisher, Delwin, and Ruji for their help on this
series.
</p>