~/.config/systemctl/mpd.service
[Unit] Description=Music Player Daemon [Service] ExecStart=/usr/bin/mpd --no-daemon [Install] WantedBy=default.target
systemctl --user enable mpd.service
systemctl --user enable mpd
# List only uncommented lines
cat ~/.mpdconf|grep -E -v '^(#|])'
music_directory "~/downloads/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" user "kinleyage" group "kinleyage" bind_to_address "127.0.0.1" bind_to_address "194.168.0.15" port "6600" follow_outside_symlinks "yes" password "[PASSWORD]@read,add,control" input { plugin "curl" } audio_output { type "alsa" name "kn_alsa_device" #device "hw:0,1" # optional format "44100:24:2" # optional mixer_type "software" # optional #mixer_device "default" # optional #mixer_control "PCM" # optional #mixer_index "0" # optional }
# For troubleshooting
mpd --no-daemon --stdout --verbos
# Todo, pulse
No comments:
Post a Comment