brew install mpd
~/.mpdconf
port "6600"
bind_to_address "127.0.0.1"
music_directory "~/Music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/database"
log_file "~/.mpd/log"
pid_file "~/.mpd/pid"
state_file "~/.mpd/state"
sticker_file "~/.mpd/sticker.sql"
auto_update "yes"
auto_update_depth "2"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
audio_output {
type "osx"
name "CoreAudio"
mixer_type "software"
}
Create playlists dir
$ mkdir -p ~/.mpd/playlists
Init database and log
$ touch ~/.mpd/database
$ touch ~/.mpd/log