config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit da6474222b14a608375912e3633fca487142716e
parent 018cc78c13b30a5cfa3c62532f34ad79033e929b
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date:   Sat, 13 Jun 2020 17:00:12 -0700

Re-configure mpd

Diffstat:
Mmpd/.config/mpd/mpd.conf | 117+++++++++++++++++++++++++-------------------------------------------------------
1 file changed, 36 insertions(+), 81 deletions(-)

diff --git a/mpd/.config/mpd/mpd.conf b/mpd/.config/mpd/mpd.conf @@ -1,93 +1,48 @@ -# MPD conf. - -music_directory "~/audio" -playlist_directory "~/.mpd/playlists" -db_file "~/.mpd/database" -pid_file "~/.mpd/pid" -state_file "~/.mpd/state" -sticker_file "~/.mpd/sticker.sql" -bind_to_address "~/.mpd/socket" - -log_file "~/.mpd/log" -log_level "default" - -user "jacob" -group "jacob" - -port "6600" +# MPD configuration + +# files and directories +music_directory "~/audio" +playlist_directory "~/audio/playlists" +bind_to_address "~/.local/var/mpd/socket" +db_file "~/.local/var/mpd/database" +pid_file "~/.local/var/mpd/pid" +state_file "~/.local/var/mpd/state" +sticker_file "~/.local/var/mpd/sticker.sql" + +# logging +log_level "secure" +log_file "~/.local/var/mpd/log" + +# security/permisions +user "jacob" +default_permissions "read,add,control" + +# networking +port "6600" bind_to_address "any" - -save_absolute_paths_in_playlists "no" - -metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc" - -restore_paused "no" -auto_update "no" -auto_update_depth "3" - +# filesystem follow_outside_symlinks "yes" follow_inside_symlinks "yes" -zeroconf_enabled "yes" -zeroconf_name "Music Player @ %h" +save_absolute_paths_in_playlists "no" -#password "password@read,add,control,admin" -default_permissions "read,add,control" +# other settings +zeroconf_enabled "no" +metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc" +restore_paused "no" +auto_update "no" +# output settings +volume_normalization "yes" +# sndio output #audio_output { -# type "pulse" -# name "pulse audio" +# type "sndio" +# name "mpd sndio" #} - +# pulseaudio output #audio_output { -# type "fifo" -# name "my_fifo" -# path "/tmp/mpd.fifo" -# format "44100:16:2" -#} -# -# -#input { -# plugin "curl" -#} -# -# -#audio_output { -# type "alsa" -# name "My ALSA Device" -# device "hw:0,0" -#} -# -#audio_output { -# type "httpd" -# name "My HTTP Stream" -# encoder "vorbis" -# port "8000" -# bind_to_address "10.0.1.37" -# bitrate "64" -# format "44100:16:1" -# max_clients "0" -#} -# -# -#replaygain "album" -#replaygain_limit "yes" -#replaygain_preamp "0" -#replaygain_missing_preamp "0" -# -#volume_normalization "no" -# -#filesystem_charset "UTF-8" -# -# -#input { -# enabled "no" -# plugin "qobuz" -#} -# -#input { -# enabled "no" -# plugin "tidal" +# type "alsa" +# name "mpd alsa" #}