Difference between revisions of "Streaming With Icecast"

From ArchWiki
Jump to: navigation, search
(Fixed a typo)
m (typos)
Line 2: Line 2:
 
[[Category:HOWTOs (English)]]
 
[[Category:HOWTOs (English)]]
  
MPD is a program for playing music via a deamon process instead of using a client. It also incorporates a music database for quick access, playlists, and a variety of frontend options.
+
MPD is a program for playing music via a daemon process instead of using a client. It also incorporates a music database for quick access, playlists, and a variety of frontend options.
  
 
==Step 1: Set Up MPD and Install a Client==
 
==Step 1: Set Up MPD and Install a Client==
Line 12: Line 12:
 
*Edit the configuration file.
 
*Edit the configuration file.
 
Open up /etc/icecast.xml in your text editor du jour.
 
Open up /etc/icecast.xml in your text editor du jour.
The main section you want to pay attention to is <authentication>. Inside the <authentication> block are all the passwords that icecast use. I STRONGLY RECOMEND you change them.<br> Icacest defaults to listening on port 8000, and you may also change that if you wish.
+
The main section you want to pay attention to is <authentication>. Inside the <authentication> block are all the passwords that icecast use. I STRONGLY RECCOMEND you change them.<br> Icecast defaults to listening on port 8000, and you may also change that if you wish.
 
*Start icecast
 
*Start icecast
 
You can start icecast by executing:
 
You can start icecast by executing:
Line 20: Line 20:
  
 
==Step 3: Configure MPD to be an Icecast Source==
 
==Step 3: Configure MPD to be an Icecast Source==
Again, open /etc/mpd.conf.
+
Edit /etc/mpd.conf and enable the Icecast audio_output.

Revision as of 01:30, 30 September 2007


MPD is a program for playing music via a daemon process instead of using a client. It also incorporates a music database for quick access, playlists, and a variety of frontend options.

Step 1: Set Up MPD and Install a Client

Use the MPD Install Guide to install and configure MPD and a client.

Step 2: Setting up Icecast

  • Install Icecast via Pacman
 # pacman -S icecast
  • Edit the configuration file.

Open up /etc/icecast.xml in your text editor du jour. The main section you want to pay attention to is <authentication>. Inside the <authentication> block are all the passwords that icecast use. I STRONGLY RECCOMEND you change them.
Icecast defaults to listening on port 8000, and you may also change that if you wish.

  • Start icecast

You can start icecast by executing:

 # icecast -b -c /etc/icecast.xml
  • Test it.

Make sure Icecast is running by opening up http://localhost:8000/ in your web browser. You should be greeted by an Icecast2 Status page. This indicates everything is running properly.

Step 3: Configure MPD to be an Icecast Source

Edit /etc/mpd.conf and enable the Icecast audio_output.