Skip to content

Instantly share code, notes, and snippets.

@paulsturgess
Last active December 16, 2015 06:59
Show Gist options
  • Save paulsturgess/5395485 to your computer and use it in GitHub Desktop.
Save paulsturgess/5395485 to your computer and use it in GitHub Desktop.
MPD On OSX

Installation

brew install mpd

Config

~/.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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment