diff options
Diffstat (limited to 'mpd')
-rw-r--r-- | mpd/mpdconf | 15 | ||||
-rw-r--r-- | mpd/profile.d/mpd.sh | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/mpd/mpdconf b/mpd/mpdconf new file mode 100644 index 00000000..3dca8b6d --- /dev/null +++ b/mpd/mpdconf @@ -0,0 +1,15 @@ +bind_to_address "~/.mpd/socket" + +db_file "~/.mpd/database" +log_file "~/.mpd/log" + +music_directory "/mnt/media/shares/music" +playlist_directory "~/.mpd/playlists" +pid_file "~/.mpd/pid" +state_file "~/.mpd/state" +sticker_file "~/.mpd/sticker.sql" + +audio_output { + type "pulse" + name "PulseAudio" +} diff --git a/mpd/profile.d/mpd.sh b/mpd/profile.d/mpd.sh new file mode 100644 index 00000000..e8ab36c6 --- /dev/null +++ b/mpd/profile.d/mpd.sh @@ -0,0 +1,2 @@ +# Start an mpd process if one isn't already running +[ -s "$HOME"/.mpd/pid ] || mpd |