1 --- /data/data/com.termux/files/home/MPD-0.20.8.old/doc/mpdconf.example 2017-07-18 12:54:14.570036043 +0200
2 +++ mpdconf.example 2017-07-18 12:56:34.270035990 +0200
4 # be disabled and audio files will only be accepted over ipc socket (using
5 # file:// protocol) or streaming files over an accepted protocol.
7 -#music_directory "~/music"
8 +music_directory "/sdcard/Music"
10 # This setting sets the MPD internal playlist directory. The purpose of this
11 # directory is storage for playlists created by MPD. The server will use
12 # playlist files not created by the server but only if they are in the MPD
13 # format. This setting defaults to playlist saving being disabled.
15 -#playlist_directory "~/.mpd/playlists"
16 +playlist_directory "~/.mpd/playlists"
18 # This setting sets the location of the MPD database. This file is used to
19 # load the database at server start up and store the database while the
21 # MPD to accept files over ipc socket (using file:// protocol) or streaming
22 # files over an accepted protocol.
24 -#db_file "~/.mpd/database"
25 +db_file "~/.mpd/database"
27 # These settings are the locations for the daemon log files for the daemon.
28 # These logs are great for troubleshooting, depending on your log_level
30 # The special value "syslog" makes MPD use the local syslog daemon. This
31 # setting defaults to logging to syslog, otherwise logging is disabled.
33 -#log_file "~/.mpd/log"
34 +#log_file "/data/data/com.termux/files/home/.mpd/log"
36 # This setting sets the location of the file which stores the process ID
37 # for use of mpd --kill and some init scripts. This setting is disabled by
38 # default and the pid file will not be stored.
40 -#pid_file "~/.mpd/pid"
41 +pid_file "~/.mpd/pid"
43 # This setting sets the location of the file which contains information about
44 # most variables to get MPD back into the same general shape it was in before
45 # it was brought down. This setting is disabled by default and the server
46 # state will be reset on server start up.
48 -#state_file "~/.mpd/state"
49 +state_file "~/.mpd/state"
51 # The location of the sticker database. This is a database which
52 # manages dynamic information attached to songs.
54 -#sticker_file "~/.mpd/sticker.sql"
55 +sticker_file "~/.mpd/sticker.sql"
57 ###############################################################################
60 # should be paid if this is assigned to anything other then the default, any.
61 # This setting can deny access to control of the daemon. Not effective if
62 # systemd socket activiation is in use.
64 +# For local connections only
65 +#bind_to_address "localhost"
67 #bind_to_address "any"
70 -#bind_to_address "~/.mpd/socket"
71 +bind_to_address "/data/data/com.termux/files/usr/tmp/mpd.socket"
73 # This setting is the TCP port that is desired for the daemon to get assigned
75 +# to. Normally this is 6600 but for termux this port needs to be above 8000.
80 # This setting controls the type of information which is logged. Available
81 # setting arguments are "default", "secure" or "verbose". The "verbose" setting
83 # If this setting is set to "yes", MPD will discover audio files by following
84 # symbolic links outside of the configured music_directory.
86 -#follow_outside_symlinks "yes"
87 +follow_outside_symlinks "yes"
89 # If this setting is set to "yes", MPD will discover audio files by following
90 # symbolic links inside of the configured music_directory.
92 -#follow_inside_symlinks "yes"
93 +follow_inside_symlinks "yes"
95 ###############################################################################
98 # blocks. Setting this block is optional, though the server will only attempt
99 # autodetection for one sound card.
101 -# An example of an ALSA output:
105 -# name "My ALSA Device"
106 -## device "hw:0,0" # optional
107 -## mixer_type "hardware" # optional
108 -## mixer_device "default" # optional
109 -## mixer_control "PCM" # optional
110 -## mixer_index "0" # optional
113 -# An example of an OSS output:
117 -# name "My OSS Device"
118 -## device "/dev/dsp" # optional
119 -## mixer_type "hardware" # optional
120 -## mixer_device "/dev/mixer" # optional
121 -## mixer_control "PCM" # optional
124 # An example of a shout output (for streaming to Icecast):
129 # encoder "vorbis" # optional, vorbis or lame
130 -# path "/var/lib/mpd/recorder/mpd.ogg"
131 +## for termux changed "path" to somewhere on android that works
133 ## quality "5.0" # do not define if bitrate is defined
134 # bitrate "128" # do not define if quality is defined
135 # format "44100:16:1"
136 @@ -286,41 +266,34 @@
137 ## sink "remote_server_sink" # optional
140 -# An example of a winmm output (Windows multimedia API).
144 -# name "My WinMM output"
145 -## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
147 -## device "0" # optional
148 -## mixer_type "hardware" # optional
151 +# An example of an opensl android output.
154 + name "OpenSLES output"
155 + mixer_type "software"
159 # An example of an openal output.
163 -# name "My OpenAL output"
164 -## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
167 -# An example of an sndio output.
171 -# name "sndio output"
172 -# mixer_type "software"
175 -# An example of an OS X output:
178 + name "OpenAL output"
179 + mixer_type "software"
183 +#Fifo output for visualizations in ncmpcpp-git
186 + name "ncmpcpp visualizer"
187 + path "~/../usr/tmp/mpd.fifo"
188 + format "44100:16:2"
195 -# name "My OS X Device"
196 -## device "Built-in Output" # optional
197 -## channel_map "-1,-1,0,1" # optional
200 ## Example "pipe" output: