Advertisement
Guest User

Untitled

a guest
Jun 26th, 2012
819
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.80 KB | None | 0 0
  1. # An example configuration file for MPD
  2. # See the mpd.conf man page for a more detailed description of each parameter.
  3.  
  4.  
  5. # Files and directories #######################################################
  6. #
  7. # This setting controls the top directory which MPD will search to discover the
  8. # available audio files and add them to the daemon's online database. This
  9. # setting defaults to the XDG directory, otherwise the music directory will be
  10. # be disabled and audio files will only be accepted over ipc socket (using
  11. # file:// protocol) or streaming files over an accepted protocol.
  12. #
  13. music_directory     "XXXX"
  14. #
  15. # This setting sets the MPD internal playlist directory. The purpose of this
  16. # directory is storage for playlists created by MPD. The server will use
  17. # playlist files not created by the server but only if they are in the MPD
  18. # format. This setting defaults to playlist saving being disabled.
  19. #
  20. playlist_directory      "~/.mpd/playlists"
  21. #
  22. # This setting sets the location of the MPD database. This file is used to
  23. # load the database at server start up and store the database while the
  24. # server is not up. This setting defaults to disabled which will allow
  25. # MPD to accept files over ipc socket (using file:// protocol) or streaming
  26. # files over an accepted protocol.
  27. #
  28. db_file         "~/.mpd/mpd.db"
  29. #
  30. # These settings are the locations for the daemon log files for the daemon.
  31. # These logs are great for troubleshooting, depending on your log_level
  32. # settings.
  33. #
  34. # The special value "syslog" makes MPD use the local syslog daemon. This
  35. # setting defaults to logging to syslog, otherwise logging is disabled.
  36. #
  37. log_file            "~/.mpd/mpd.log"
  38. #
  39. # This setting sets the location of the file which stores the process ID
  40. # for use of mpd --kill and some init scripts. This setting is disabled by
  41. # default and the pid file will not be stored.
  42. #
  43. pid_file            "~/.mpd/mpd.pid"
  44. #
  45. # This setting sets the location of the file which contains information about
  46. # most variables to get MPD back into the same general shape it was in before
  47. # it was brought down. This setting is disabled by default and the server
  48. # state will be reset on server start up.
  49. #
  50. state_file          "~/.mpd/mpdstate"
  51. #
  52. # The location of the sticker database.  This is a database which
  53. # manages dynamic information attached to songs.
  54. #
  55. #sticker_file           "~/.mpd/sticker.sql"
  56. #
  57. ###############################################################################
  58.  
  59.  
  60. # General music daemon options ################################################
  61. #
  62. # This setting specifies the user that MPD will run as. MPD should never run as
  63. # root and you may use this setting to make MPD change its user ID after
  64. # initialization. This setting is disabled by default and MPD is run as the
  65. # current user.
  66. #
  67. user                "XXXX"
  68. #
  69. # This setting specifies the group that MPD will run as. If not specified
  70. # primary group of user specified with "user" setting will be used (if set).
  71. # This is useful if MPD needs to be a member of group such as "audio" to
  72. # have permission to use sound card.
  73. #
  74. #group              "nogroup"
  75. #
  76. # This setting sets the address for the daemon to listen on. Careful attention
  77. # should be paid if this is assigned to anything other then the default, any.
  78. # This setting can deny access to control of the daemon.
  79. #
  80. # For network
  81. bind_to_address     "any"
  82. #
  83. # And for Unix Socket
  84. #bind_to_address        "~/.mpd/socket"
  85. #
  86. # This setting is the TCP port that is desired for the daemon to get assigned
  87. # to.
  88. #
  89. port                "6600"
  90. #
  91. # This setting controls the type of information which is logged. Available
  92. # setting arguments are "default", "secure" or "verbose". The "verbose" setting
  93. # argument is recommended for troubleshooting, though can quickly stretch
  94. # available resources on limited hardware storage.
  95. #
  96. #log_level          "default"
  97. #
  98. # If you have a problem with your MP3s ending abruptly it is recommended that
  99. # you set this argument to "no" to attempt to fix the problem. If this solves
  100. # the problem, it is highly recommended to fix the MP3 files with vbrfix
  101. # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
  102. # point gapless MP3 playback can be enabled.
  103. #
  104. #gapless_mp3_playback           "yes"
  105. #
  106. # Setting "restore_paused" to "yes" puts MPD into pause mode instead
  107. # of starting playback after startup.
  108. #
  109. restore_paused "yes"
  110. #
  111. # This setting enables MPD to create playlists in a format usable by other
  112. # music players.
  113. #
  114. #save_absolute_paths_in_playlists   "no"
  115. #
  116. # This setting defines a list of tag types that will be extracted during the
  117. # audio file discovery process. Optionally, 'comment' can be added to this
  118. # list.
  119. #
  120. #metadata_to_use    "artist,album,title,track,name,genre,date,composer,performer,disc"
  121. #
  122. # This setting enables automatic update of MPD's database when files in
  123. # music_directory are changed.
  124. #
  125. auto_update "yes"
  126. #
  127. # Limit the depth of the directories being watched, 0 means only watch
  128. # the music directory itself.  There is no limit by default.
  129. #
  130. #auto_update_depth "3"
  131. #
  132. ###############################################################################
  133.  
  134.  
  135. # Symbolic link behavior ######################################################
  136. #
  137. # If this setting is set to "yes", MPD will discover audio files by following
  138. # symbolic links outside of the configured music_directory.
  139. #
  140. #follow_outside_symlinks    "yes"
  141. #
  142. # If this setting is set to "yes", MPD will discover audio files by following
  143. # symbolic links inside of the configured music_directory.
  144. #
  145. #follow_inside_symlinks     "yes"
  146. #
  147. ###############################################################################
  148.  
  149.  
  150. # Zeroconf / Avahi Service Discovery ##########################################
  151. #
  152. # If this setting is set to "yes", service information will be published with
  153. # Zeroconf / Avahi.
  154. #
  155. #zeroconf_enabled       "yes"
  156. #
  157. # The argument to this setting will be the Zeroconf / Avahi unique name for
  158. # this MPD server on the network.
  159. #
  160. #zeroconf_name          "Music Player"
  161. #
  162. ###############################################################################
  163.  
  164.  
  165. # Permissions #################################################################
  166. #
  167. # If this setting is set, MPD will require password authorization. The password
  168. # can setting can be specified multiple times for different password profiles.
  169. #
  170. #password                        "password@read,add,control,admin"
  171. #
  172. # This setting specifies the permissions a user has who has not yet logged in.
  173. #
  174. #default_permissions             "read,add,control,admin"
  175. #
  176. ###############################################################################
  177.  
  178.  
  179. # Input #######################################################################
  180. #
  181.  
  182. input {
  183.         plugin "curl"
  184. #       proxy "proxy.isp.com:8080"
  185. #       proxy_user "user"
  186. #       proxy_password "password"
  187. }
  188.  
  189. #
  190. ###############################################################################
  191.  
  192. # Audio Output ################################################################
  193. #
  194. # MPD supports various audio output types, as well as playing through multiple
  195. # audio outputs at the same time, through multiple audio_output settings
  196. # blocks. Setting this block is optional, though the server will only attempt
  197. # autodetection for one sound card.
  198. #
  199. # See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs> for examples of
  200. # other audio outputs.
  201. #
  202. # An example of an ALSA output:
  203. #
  204. audio_output {
  205.     type        "alsa"
  206.     name        "bcm2835 ALSA"
  207.     device      "hw:0,0"
  208. }
  209.  
  210.  
  211. # Normalization automatic volume adjustments ##################################
  212. #
  213. # This setting specifies the type of ReplayGain to use. This setting can have
  214. # the argument "off", "album" or "track". See <http://www.replaygain.org>
  215. # for more details. This setting is off by default.
  216. #
  217. #replaygain         "album"
  218. #
  219. # This setting sets the pre-amp used for files that have ReplayGain tags. By
  220. # default this setting is disabled.
  221. #
  222. #replaygain_preamp      "0"
  223. #
  224. # This setting enables on-the-fly normalization volume adjustment. This will
  225. # result in the volume of all playing audio to be adjusted so the output has
  226. # equal "loudness". This setting is disabled by default.
  227. #
  228. #volume_normalization       "no"
  229. #
  230. ###############################################################################
  231.  
  232.  
  233. # MPD Internal Buffering ######################################################
  234. #
  235. # This setting adjusts the size of internal decoded audio buffering. Changing
  236. # this may have undesired effects. Don't change this if you don't know what you
  237. # are doing.
  238. #
  239. #audio_buffer_size      "2048"
  240. #
  241. # This setting controls the percentage of the buffer which is filled before
  242. # beginning to play. Increasing this reduces the chance of audio file skipping,
  243. # at the cost of increased time prior to audio playback.
  244. #
  245. #buffer_before_play     "10%"
  246. #
  247. ###############################################################################
  248.  
  249.  
  250. # Resource Limitations ########################################################
  251. #
  252. # These settings are various limitations to prevent MPD from using too many
  253. # resources. Generally, these settings should be minimized to prevent security
  254. # risks, depending on the operating resources.
  255. #
  256. #connection_timeout     "60"
  257. #max_connections        "10"
  258. #max_playlist_length        "16384"
  259. #max_command_list_size      "2048"
  260. #max_output_buffer_size     "8192"
  261. #
  262. ###############################################################################
  263.  
  264.  
  265. # Character Encoding ##########################################################
  266. #
  267. # If file or directory names do not display correctly for your locale then you
  268. # may need to modify this setting.
  269. #
  270. #filesystem_charset     "UTF-8"
  271. #
  272. # This setting controls the encoding that ID3v1 tags should be converted from.
  273. #
  274. #id3v1_encoding         "ISO-8859-1"
  275. #
  276. ###############################################################################
  277.  
  278. despotify_user "XXX"
  279. despotify_password "XXXX"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement