diff options
Diffstat (limited to '.config/mpd/mpd.conf')
-rw-r--r-- | .config/mpd/mpd.conf | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf index 6b7fdf9..8bbe4f5 100644 --- a/.config/mpd/mpd.conf +++ b/.config/mpd/mpd.conf @@ -1,23 +1,29 @@ -music_directory "~/music" -playlist_directory "~/music/playlists" -log_file "~/.local/mpd/log" +# See: /usr/share/doc/mpd/mpdconf.example +music_directory "/mnt/e/mpd/music" +playlist_directory "/mnt/e/mpd/playlists" -auto_update "yes" -bind_to_address "127.0.0.1" -restore_paused "yes" +pid_file "/mnt/e/mpd/mpd.pid" +db_file "/mnt/e/mpd/mpd.db" +state_file "/mnt/e/mpd/mpdstate" + +auto_update "yes" +bind_to_address "*" +port "6600" +restore_paused "yes" user "loek" group "users" -default_permissions "read,add,control,admin" +default_permissions "read,add,control,admin" -input { - plugin "curl" -} +# input { +# plugin "curl" +# } audio_output { - type "pulse" - name "pulse audio" + type "pulse" + name "pulse audio" + # server "127.0.0.1" } audio_output { @@ -25,11 +31,12 @@ audio_output { name "icecast mpd stream" host "localhost" port "8000" - mount "/mnt/mpd" + mount "/mpd.ogg" user "source" password "sSJKfSicDF8" bitrate "320" format "48000:24:2" - encoding "mp3" + encoding "ogg" + protocol "icecast2" } |