As you probably know we have switched from darcs to git in most repos. VMiklos did a very good job within a month.
But my post is about mpd and icecast combo. I have a pc and a laptop at home and i do not want to copy my music files to the laptop. So i've set up a stream on the pc. I've compiled mpd with shout support. It will be in next mpd release. We did not add it yet as shout does not work with mpd 0.13.0.
The setting up is very simple. Just set up the passwords in /etc/icecast/icecast.xml, then you'll find a good example in mpd.conf. Now you have to (re)start mpd and icecast with the service command.
Now start some mpd client and start the music. I've used ncmpc. It's a good idea to set MPD_HOST variable, maybe MPD_PORT too.
Play the stream with mplayer for example: mplayer http://hostname.domain:8000/mpd.ogg
Do not forget to change mpd.ogg to the name you set up in mpd.conf.
You should know that the stream won't be available if you do not play anything.
No Comments for this post yet...
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | ||||