Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr1207 :: Icecast 101

How to run Icecast - part 1

<< First, < Previous, , Latest >>

Hosted by Klaatu on Tuesday, 2013-03-19 is flagged as Explicit and is released under a CC-BY-SA license.
Icecast, Ices, Ices-cc. (Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr1207

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:37:13

general.

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.

Here are the raw commands for Icecast, Ices, and Ices-cc:

#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

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:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>My Great Streaming Server Example dot Com</title>
</head>
<div id="player">
<audio width="100px" height="200px" autoplay loop controls autobuffer preload="auto">
      <source src="https://example.com:8000/mp3" type="audio/mp3" />
      <source src="https://example.com:8000/ogg" type="audio/ogg" />
</audio>
</div>
  </body>
</html>

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


Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?