I installed mpd and a few clients today. The system with the speakers connected is my "server". Edit about 3 lines in the /etc/mpd.conf, restart the daemon, install mpc on that same system, run mpc update and let it create a db from the music directory.
Main things to change where the
Code:
music_directory
bind_to_address "any"
...
mixer_type "software"
So it would know where the audio files were and would listen to any network clients. By default, it is set to localhost, which is useless for a networked music player.
On the systems that will control the server, i installed ncmpcpp, setup the ~/.ncmpcpp/config file like this:
Code:
ncmpcpp_directory = "~/.ncmpcpp"
mpd_host = "istar"
mpd_port = "6600"
mpd_music_dir = "/stuff/music/"
The music_dir here is different from that on the mpd server machine. They see music in different places, so that makes perfect sense.
start ncmpcpp and see the music being filled in. The audio volume can't be controlled by the client, it seems. I used alsamixer over an ssh connection.
Update: I use mpc vol +5 and mpc vol -5 to control volume now.
Installed MPDroid from the f-droid appstore (mostly gnu stuff) and pointed it at the mpd server IP. This worked for my phone, but not for a tablet. Both use my internal DNS, but that didn't work for android. The tablet never saw the mpd server machine by name or IP. With MPDroid, there's only the server IP to setup, left the other parts as default.
Bookmarks