Guest User

Untitled

a guest
May 9th, 2015
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.75 KB | None | 0 0
  1. # See: /usr/share/doc/mpd/mpdconf.example
  2.  
  3. # Files and directories #######################################################
  4. #
  5. # This setting controls the top directory which MPD will search to discover the
  6. # available audio files and add them to the daemon's online database. This
  7. # setting defaults to the XDG directory, otherwise the music directory will be
  8. # be disabled and audio files will only be accepted over ipc socket (using
  9. # file:// protocol) or streaming files over an accepted protocol.
  10. #
  11. music_directory "/home/users/music"
  12. #
  13. # This setting sets the MPD internal playlist directory. The purpose of this
  14. # directory is storage for playlists created by MPD. The server will use
  15. # playlist files not created by the server but only if they are in the MPD
  16. # format. This setting defaults to playlist saving being disabled.
  17. #
  18. playlist_directory "/var/lib/mpd/playlists"
  19. #
  20. # This setting sets the location of the MPD database. This file is used to
  21. # load the database at server start up and store the database while the
  22. # server is not up. This setting defaults to disabled which will allow
  23. # MPD to accept files over ipc socket (using file:// protocol) or streaming
  24. # files over an accepted protocol.
  25. #
  26. db_file "/var/lib/mpd/database"
  27. #
  28. # These settings are the locations for the daemon log files for the daemon.
  29. # These logs are great for troubleshooting, depending on your log_level
  30. # settings.
  31. #
  32. # The special value "syslog" makes MPD use the local syslog daemon. This
  33. # setting defaults to logging to syslog, otherwise logging is disabled.
  34. #
  35. log_file "syslog"
  36. #
  37. # This setting sets the location of the file which stores the process ID
  38. # for use of mpd --kill and some init scripts. This setting is disabled by
  39. # default and the pid file will not be stored.
  40. #
  41. pid_file "/var/lib/mpd/mpd.pid"
  42. #
  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.
  47. #
  48. state_file "/var/lib/mpd/state"
  49. #
  50. # The location of the sticker database. This is a database which
  51. # manages dynamic information attached to songs.
  52. #
  53. sticker_file "/var/lib/mpd/sticker.sql"
  54. #
  55. ###############################################################################
  56.  
  57.  
  58. # General music daemon options ################################################
  59. #
  60. # This setting specifies the user that MPD will run as. MPD should never run as
  61. # root and you may use this setting to make MPD change its user ID after
  62. # initialization. This setting is disabled by default and MPD is run as the
  63. # current user.
  64. #
  65. #user "mpd"
  66. #
  67. # This setting specifies the group that MPD will run as. If not specified
  68. # primary group of user specified with "user" setting will be used (if set).
  69. # This is useful if MPD needs to be a member of group such as "audio" to
  70. # have permission to use sound card.
  71. #
  72. #group "mpd"
  73. #
  74. # This setting sets the address for the daemon to listen on. Careful attention
  75. # should be paid if this is assigned to anything other then the default, any.
  76. # This setting can deny access to control of the daemon.
  77. #
  78. # For network
  79. bind_to_address "any"
  80. #
  81. # And for Unix Socket
  82. #bind_to_address "~/.mpd/socket"
  83. #
  84. # This setting is the TCP port that is desired for the daemon to get assigned
  85. # to.
  86. #
  87. port "6600"
  88. #
  89. # This setting controls the type of information which is logged. Available
  90. # setting arguments are "default", "secure" or "verbose". The "verbose" setting
  91. # argument is recommended for troubleshooting, though can quickly stretch
  92. # available resources on limited hardware storage.
  93. #
  94. log_level "default"
  95. #
  96. # If you have a problem with your MP3s ending abruptly it is recommended that
  97. # you set this argument to "no" to attempt to fix the problem. If this solves
  98. # the problem, it is highly recommended to fix the MP3 files with vbrfix
  99. # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
  100. # point gapless MP3 playback can be enabled.
  101. #
  102. #gapless_mp3_playback "yes"
  103. #
  104. # Setting "restore_paused" to "yes" puts MPD into pause mode instead
  105. # of starting playback after startup.
  106. #
  107. restore_paused "yes"
  108. #
  109. # This setting enables MPD to create playlists in a format usable by other
  110. # music players.
  111. #
  112. #save_absolute_paths_in_playlists "no"
  113. #
  114. # This setting defines a list of tag types that will be extracted during the
  115. # audio file discovery process. The complete list of possible values can be
  116. # found in the mpd.conf man page.
  117. #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
  118. #
  119. # This setting enables automatic update of MPD's database when files in
  120. # music_directory are changed.
  121. #
  122. auto_update "yes"
  123. #
  124. # Limit the depth of the directories being watched, 0 means only watch
  125. # the music directory itself. There is no limit by default.
  126. #
  127. #auto_update_depth "3"
  128. #
  129. ###############################################################################
  130.  
  131.  
  132. # Symbolic link behavior ######################################################
  133. #
  134. # If this setting is set to "yes", MPD will discover audio files by following
  135. # symbolic links outside of the configured music_directory.
  136. #
  137. #follow_outside_symlinks "yes"
  138. #
  139. # If this setting is set to "yes", MPD will discover audio files by following
  140. # symbolic links inside of the configured music_directory.
  141. #
  142. follow_inside_symlinks "yes"
  143. #
  144. ###############################################################################
  145.  
  146.  
  147. # Zeroconf / Avahi Service Discovery ##########################################
  148. #
  149. # If this setting is set to "yes", service information will be published with
  150. # Zeroconf / Avahi.
  151. #
  152. zeroconf_enabled "yes"
  153. #
  154. # The argument to this setting will be the Zeroconf / Avahi unique name for
  155. # this MPD server on the network.
  156. #
  157. zeroconf_name "Music Player"
  158. #
  159. ###############################################################################
  160.  
  161.  
  162. # Permissions #################################################################
  163. #
  164. # If this setting is set, MPD will require password authorization. The password
  165. # can setting can be specified multiple times for different password profiles.
  166. #
  167. #password "password@read,add,control,admin"
  168. #
  169. # This setting specifies the permissions a user has who has not yet logged in.
  170. #
  171. #default_permissions "read,add,control,admin"
  172. #
  173. ###############################################################################
  174.  
  175.  
  176. # Database #######################################################################
  177. #
  178.  
  179. #database {
  180. # plugin "proxy"
  181. # host "other.mpd.host"
  182. # port "6600"
  183. #}
  184.  
  185. # Input #######################################################################
  186. #
  187.  
  188. input {
  189. plugin "curl"
  190. # proxy "proxy.isp.com:8080"
  191. # proxy_user "user"
  192. # proxy_password "password"
  193. }
  194.  
  195. #
  196. ###############################################################################
  197.  
  198. # Audio Output ################################################################
  199.  
  200. # An example of an ALSA output:
  201. audio_output {
  202. type "alsa"
  203. name "My ALSA Device"
  204. mixer_type "software" # optional
  205. #device "default" # optional
  206. #mixer_device "default" # optional
  207. #mixer_index "0" # optional
  208. }
  209.  
  210. audio_output {
  211. type "pulse"
  212. name "My (loopback) Pulse Output"
  213. server "localhost"
  214. mixer_control "Master" # optional
  215. }
  216.  
  217. audio_output {
  218. type "pulse"
  219. name "PulseAudio im Wohnzimmer"
  220. server "kodi-wohnzimmer"
  221. #sink "remote_server_sink" # optional
  222. #mixer_control "Master" # optional
  223. #mixer_type "software" # optional
  224. }
  225.  
  226. audio_output {
  227. type "fifo"
  228. name "my_fifo"
  229. path "/tmp/mpd.fifo"
  230. format "44100:16:2"
  231. }
  232.  
  233.  
  234.  
  235.  
  236. ###############################################################################
  237.  
  238.  
  239. # Normalization automatic volume adjustments ##################################
  240. #
  241. # This setting specifies the type of ReplayGain to use. This setting can have
  242. # the argument "off", "album", "track" or "auto". "auto" is a special mode that
  243. # chooses between "track" and "album" depending on the current state of
  244. # random playback. If random playback is enabled then "track" mode is used.
  245. # See <http://www.replaygain.org> for more details about ReplayGain.
  246. # This setting is off by default.
  247. #
  248. #replaygain "album"
  249. #
  250. # This setting sets the pre-amp used for files that have ReplayGain tags. By
  251. # default this setting is disabled.
  252. #
  253. #replaygain_preamp "0"
  254. #
  255. # This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
  256. # By default this setting is disabled.
  257. #
  258. #replaygain_missing_preamp "0"
  259. #
  260. # This setting enables or disables ReplayGain limiting.
  261. # MPD calculates actual amplification based on the ReplayGain tags
  262. # and replaygain_preamp / replaygain_missing_preamp setting.
  263. # If replaygain_limit is enabled MPD will never amplify audio signal
  264. # above its original level. If replaygain_limit is disabled such amplification
  265. # might occur. By default this setting is enabled.
  266. #
  267. #replaygain_limit "yes"
  268. #
  269. # This setting enables on-the-fly normalization volume adjustment. This will
  270. # result in the volume of all playing audio to be adjusted so the output has
  271. # equal "loudness". This setting is disabled by default.
  272. #
  273. #volume_normalization "no"
  274. #
  275. ###############################################################################
  276.  
  277.  
  278. # MPD Internal Buffering ######################################################
  279. #
  280. # This setting adjusts the size of internal decoded audio buffering. Changing
  281. # this may have undesired effects. Don't change this if you don't know what you
  282. # are doing.
  283. #
  284. #audio_buffer_size "4096"
  285. #
  286. # This setting controls the percentage of the buffer which is filled before
  287. # beginning to play. Increasing this reduces the chance of audio file skipping,
  288. # at the cost of increased time prior to audio playback.
  289. #
  290. #buffer_before_play "10%"
  291. #
  292. ###############################################################################
  293.  
  294.  
  295. # Resource Limitations ########################################################
  296. #
  297. # These settings are various limitations to prevent MPD from using too many
  298. # resources. Generally, these settings should be minimized to prevent security
  299. # risks, depending on the operating resources.
  300. #
  301. #connection_timeout "60"
  302. #max_connections "10"
  303. #max_playlist_length "16384"
  304. #max_command_list_size "2048"
  305. #max_output_buffer_size "8192"
  306. #
  307. ###############################################################################
  308.  
  309. # Character Encoding ##########################################################
  310. #
  311. # If file or directory names do not display correctly for your locale then you
  312. # may need to modify this setting.
  313. #
  314. #filesystem_charset "UTF-8"
  315. #
  316. # This setting controls the encoding that ID3v1 tags should be converted from.
  317. #
  318. #id3v1_encoding "ISO-8859-1"
  319. #
  320. ###############################################################################
  321.  
  322.  
  323. # SIDPlay decoder #############################################################
  324. #
  325. # songlength_database:
  326. # Location of your songlengths file, as distributed with the HVSC.
  327. # The sidplay plugin checks this for matching MD5 fingerprints.
  328. # See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
  329. #
  330. # default_songlength:
  331. # This is the default playing time in seconds for songs not in the
  332. # songlength database, or in case you're not using a database.
  333. # A value of 0 means play indefinitely.
  334. #
  335. # filter:
  336. # Turns the SID filter emulation on or off.
  337. #
  338. #decoder {
  339. # plugin "sidplay"
  340. # songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
  341. # default_songlength "120"
  342. # filter "true"
  343. #}
  344. #
  345. ###############################################################################
Advertisement
Add Comment
Please, Sign In to add comment