MPD Jukebox - Raspberry Pi

From ETCwiki
Jump to navigationJump to search

This guide will show you how to get Music Player Daemon (a SERVER that outputs to the pi audio, HDMI and regular, can be controlled locally or remotely) and Music Player Client to play music and command them from a terminal window or an MPD graphical client (to connect and control the music)

apt-get install mpd mpc

setup mpd

vi /etc/mpd.conf

setup these lines (just make the directory or file if it doesnt exist, use the touch command)

music_directory
playlist_directory
db_file
log_file
pid_file
state_file
sticker_file
bind_to_address (comment this line with a # at the start)
port "6600" (uncomment this line, remove the #)
user "pi"
metadata_to_use (uncomment)
mixer_type "software" (uncomment this line)

restart the pi

reboot (dont use init 6)

start MPD on the pi, look for errors

service mpd start
(wait until its done)
service mpd restart

Connect to mpd using a client on your main computer (I use Auremo MPD Client)

  1. download Auremo MPD Client (open source!)
  2. enter the ip in the setup for the pi
  3. click connect