Post details: icecast stream with mpd

Sun, 08 Jul 2007

Permalink 08:18:16 pm, Categories: geek, Posted by: voroskoi

icecast stream with mpd

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.

Comments:

No Comments for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.
Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
Options:
 
(Line breaks become <br />)
(Set cookies for name, email & url)

authimage

Developers' Blogs: voroskoi

April 2008
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        

Search

Categories


Syndicate this blog XML

powered by
Frugalware Linux
the site is valid!
Valid XHTML 1.0!
Valid CSS!
Valid RSS!