aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-01 12:58:12 +0200
committerMateja <mail@matejamaric.com>2020-10-01 12:58:12 +0200
commit7efbeca94babcdb428c628511a51610fd8105bb2 (patch)
tree09bc8d33d1cdf840ff859598798fb17c97290ef2
parentb43a7b55842e436e2a084d2bf497dbf97e5ff609 (diff)
downloaddotfiles-7efbeca94babcdb428c628511a51610fd8105bb2.tar.gz
dotfiles-7efbeca94babcdb428c628511a51610fd8105bb2.zip
MPD streaming to phone
-rw-r--r--.config/mpd/mpd.conf28
1 files changed, 19 insertions, 9 deletions
diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf
index 109b423..67557ce 100644
--- a/.config/mpd/mpd.conf
+++ b/.config/mpd/mpd.conf
@@ -17,7 +17,6 @@ state_file "~/.local/share/mpd/state"
# dynamic information attached to songs.
sticker_file "~/.local/share/mpd/sticker.sql"
-
# default: run as current user
#user "nobody"
@@ -56,7 +55,6 @@ auto_update "yes"
#zeroconf_enabled "yes"
#zeroconf_name "Music Player @ %h"
-
#password "password@read,add,control,admin"
# permissions for non-logged users
@@ -97,13 +95,12 @@ auto_update "yes"
## mixer_control "PCM" # optional
#}
-#audio_output {
-# type "pulse"
-# name "My Pulse Output"
-## name "pulse audio"
-## server "remote_server" # optional
-## sink "remote_server_sink" # optional
-#}
+audio_output {
+ type "pulse"
+ name "My Pulse Output"
+# server "remote_server" # optional
+# sink "remote_server_sink" # optional
+}
# An example of an sndio output.
#
@@ -113,6 +110,19 @@ auto_update "yes"
# mixer_type "hardware"
#}
+# You can listen to this output on mobile using VLC
+audio_output {
+ type "httpd"
+ name "My HTTP Stream"
+ encoder "vorbis" # optional, vorbis or lame
+ port "6680"
+ bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
+# quality "5.0" # do not define if bitrate is defined
+ bitrate "128" # do not define if quality is defined
+ format "44100:16:1"
+ max_clients "0" # optional 0=no limit
+}
+
# (ReplayGain) "off", "album", "track","auto" default: off
#replaygain "album"
#replaygain_preamp "0"