MPD

From musicpd.org:

''Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol. For more information, read about what mpd is and is not.''

Because of its minimal need for resources, both servers and desktop users use MPD. MPD does require some configuring to have it run correctly.

Installation
MPD carries a great deal of USE flags, some for various format support(,, , etc.), other for various output methods(, , , etc.). A pretend emerge will expose what USE flags are available:

Set those that suit your wants and needs and emerge it:

Configuration
MPD can be run either as the system ( or root) or a user. be it your username or a specially made user. installs a example used for configuring the system daemon. This file needs be copied to if you want to configure MPD on a per-user basis. Make sure you read the comments in this file. as they will explain how to set up mpd as you wish.

See the mpd.conf man page for more:

http://www.shjsjx.com/Shownews.asp?id=190080 http://www.4399sk.com/plus/view.php?aid=161625 http://www.4399sk.com/plus/view.php?aid=161625

Clients
Visit the MPD wiki article on what clients are available.

Troubleshooting
For general troubleshooting refer to the excellent MPD troubleshooting section

If you're getting "connection refused" problems and you have compiled mpd with flag, dont forget to add hosts.allow to your hosts.allow folder, to allow access from localhost ( and the LAN with "192.168.X.X", omit this if this is not what you want. )

System-wide MPD & PulseAudio
If you want to run MPD system-wide with PulseAudio you have configure PulseAudio to also run as a system service. See the PulseAudio article System Server section for instruction.