Skip to content
Snippets Groups Projects
Commit 613c6e54 authored by Bob Mottram's avatar Bob Mottram
Browse files

mpd settings

parent a9337c26
No related branches found
No related tags found
No related merge requests found
......@@ -194,18 +194,22 @@ function mpd_create_configuration {
echo 'audio_output {';
echo ' type "httpd"';
echo ' name "Music Stream"';
echo ' encoder "vorbis"';
echo ' encoder "lame"';
echo " port \"${MPD_PORT_HTTP}\"";
echo ' bind_to_address "0.0.0.0"';
echo '# quality "5.0"';
echo ' bitrate "128"';
echo ' format "44100:16:1"';
echo ' format "44100:16:2"';
echo ' max_clients "10"';
echo '}';
echo '#audio_output {';
echo '# type "alsa"';
echo '# name "My ALSA Device"';
echo '#}'; } > /etc/mpd.conf
echo 'filter {';
echo ' plugin "volume"';
echo ' name "software volume"';
echo '}';
echo 'audio_output {';
echo ' type "alsa"';
echo ' name "My ALSA Device"';
echo '}'; } > /etc/mpd.conf
systemctl restart mpd
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment