Advertisement
Guest User

test

a guest
Apr 30th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 27.56 KB | None | 0 0
  1. # An example configuration file for MPD.
  2. # Read the user manual for documentation: http://www.musicpd.org/doc/user/
  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     "~/Music"
  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      "~/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         "~/.local/share/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            "~/.local/share/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            "~/.local/share/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          "~/.local/share/mpd/mpd.state"
  51. #
  52. # The location of the sticker database.  This is a database which
  53. # manages dynamic information attached to songs.
  54. #
  55. sticker_file            "~/.local/share/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               "nobody"
  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. Not effective if
  79. # systemd socket activiation is in use.
  80. #
  81. # For network
  82. bind_to_address     "127.0.0.1"
  83. #
  84. # And for Unix Socket
  85. #bind_to_address        "~/.mpd/socket"
  86. #
  87. # This setting is the TCP port that is desired for the daemon to get assigned
  88. # to.
  89. #
  90. #port               "6600"
  91. #
  92. # This setting controls the type of information which is logged. Available
  93. # setting arguments are "default", "secure" or "verbose". The "verbose" setting
  94. # argument is recommended for troubleshooting, though can quickly stretch
  95. # available resources on limited hardware storage.
  96. #
  97. #log_level          "default"
  98. #
  99. # If you have a problem with your MP3s ending abruptly it is recommended that
  100. # you set this argument to "no" to attempt to fix the problem. If this solves
  101. # the problem, it is highly recommended to fix the MP3 files with vbrfix
  102. # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
  103. # point gapless MP3 playback can be enabled.
  104. #
  105. #gapless_mp3_playback           "yes"
  106. #
  107. # Setting "restore_paused" to "yes" puts MPD into pause mode instead
  108. # of starting playback after startup.
  109. #
  110. #restore_paused "no"
  111. #
  112. # This setting enables MPD to create playlists in a format usable by other
  113. # music players.
  114. #
  115. #save_absolute_paths_in_playlists   "no"
  116. #
  117. # This setting defines a list of tag types that will be extracted during the
  118. # audio file discovery process. The complete list of possible values can be
  119. # found in the user manual.
  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. # 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. # Database #######################################################################
  180. #
  181.  
  182. #database {
  183. #       plugin "proxy"
  184. #       host "other.mpd.host"
  185. #       port "6600"
  186. #}
  187.  
  188. # Input #######################################################################
  189. #
  190.  
  191. input {
  192.         plugin "curl"
  193. #       proxy "proxy.isp.com:8080"
  194. #       proxy_user "user"
  195. #       proxy_password "password"
  196. }
  197.  
  198. #
  199. ###############################################################################
  200.  
  201. # Audio Output ################################################################
  202. #
  203. # MPD supports various audio output types, as well as playing through multiple
  204. # audio outputs at the same time, through multiple audio_output settings
  205. # blocks. Setting this block is optional, though the server will only attempt
  206. # autodetection for one sound card.
  207. #
  208. # An example of an ALSA output:
  209. #
  210. #audio_output {
  211. #   type        "alsa"
  212. #   name        "My ALSA Device"
  213. ##  device      "hw:0,0"    # optional
  214. ##  mixer_type      "hardware"  # optional
  215. ##  mixer_device    "default"   # optional
  216. ##  mixer_control   "PCM"       # optional
  217. ##  mixer_index "0"     # optional
  218. #}
  219. #
  220. # An example of an OSS output:
  221. #
  222. #audio_output {
  223. #   type        "oss"
  224. #   name        "My OSS Device"
  225. ##  device      "/dev/dsp"  # optional
  226. ##  mixer_type      "hardware"  # optional
  227. ##  mixer_device    "/dev/mixer"    # optional
  228. ##  mixer_control   "PCM"       # optional
  229. #}
  230. #
  231. # An example of a shout output (for streaming to Icecast):
  232. #
  233. #audio_output {
  234. #   type        "shout"
  235. #   encoder     "vorbis"        # optional
  236. #   name        "My Shout Stream"
  237. #   host        "localhost"
  238. #   port        "8000"
  239. #   mount       "/mpd.ogg"
  240. #   password    "hackme"
  241. #   quality     "5.0"
  242. #   bitrate     "128"
  243. #   format      "44100:16:1"
  244. ##  protocol    "icecast2"      # optional
  245. ##  user        "source"        # optional
  246. ##  description "My Stream Description" # optional
  247. ##  url     "http://example.com"    # optional
  248. ##  genre       "jazz"          # optional
  249. ##  public      "no"            # optional
  250. ##  timeout     "2"         # optional
  251. ##  mixer_type      "software"      # optional
  252. #}
  253. #
  254. # An example of a recorder output:
  255. #
  256. #audio_output {
  257. #   type        "recorder"
  258. #   name        "My recorder"
  259. #   encoder     "vorbis"        # optional, vorbis or lame
  260. #   path        "/var/lib/mpd/recorder/mpd.ogg"
  261. ##  quality     "5.0"           # do not define if bitrate is defined
  262. #   bitrate     "128"           # do not define if quality is defined
  263. #   format      "44100:16:1"
  264. #}
  265. #
  266. # An example of a httpd output (built-in HTTP streaming server):
  267. #
  268. #audio_output {
  269. #   type        "httpd"
  270. #   name        "My HTTP Stream"
  271. #   encoder     "vorbis"        # optional, vorbis or lame
  272. #   port        "8000"
  273. #   bind_to_address "0.0.0.0"       # optional, IPv4 or IPv6
  274. ##  quality     "5.0"           # do not define if bitrate is defined
  275. #   bitrate     "128"           # do not define if quality is defined
  276. #   format      "44100:16:1"
  277. #   max_clients "0"         # optional 0=no limit
  278. #}
  279. #
  280. # An example of a pulseaudio output (streaming to a remote pulseaudio server)
  281. #
  282. audio_output {
  283.     type        "pulse"
  284.     name        "pulse audio"
  285. ##  server      "remote_server"     # optional
  286. ##  sink        "remote_server_sink"    # optional
  287. }
  288. #
  289. # An example of a winmm output (Windows multimedia API).
  290. #
  291. #audio_output {
  292. #   type        "winmm"
  293. #   name        "My WinMM output"
  294. ##  device      "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
  295. #       or
  296. ##  device      "0"     # optional
  297. ##  mixer_type  "hardware"  # optional
  298. #}
  299. #
  300. # An example of an openal output.
  301. #
  302. #audio_output {
  303. #   type        "openal"
  304. #   name        "My OpenAL output"
  305. ##  device      "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
  306. #}
  307. #
  308. ## Example "pipe" output:
  309. #
  310. #audio_output {
  311. #   type        "pipe"
  312. #   name        "my pipe"
  313. #   command     "aplay -f cd 2>/dev/null"
  314. ## Or if you're want to use AudioCompress
  315. #   command     "AudioCompress -m | aplay -f cd 2>/dev/null"
  316. ## Or to send raw PCM stream through PCM:
  317. #   command     "nc example.org 8765"
  318. #   format      "44100:16:2"
  319. #}
  320. #
  321. ## An example of a null output (for no audio output):
  322. #
  323. #audio_output {
  324. #   type        "null"
  325. #   name        "My Null Output"
  326. #   mixer_type      "none"          # optional
  327. #}
  328. #
  329. # If MPD has been compiled with libsamplerate support, this setting specifies
  330. # the sample rate converter to use.  Possible values can be found in the
  331. # mpd.conf man page or the libsamplerate documentation. By default, this is
  332. # setting is disabled.
  333. #
  334. #samplerate_converter       "Fastest Sinc Interpolator"
  335. #
  336. ###############################################################################
  337.  
  338.  
  339. # Normalization automatic volume adjustments ##################################
  340. #
  341. # This setting specifies the type of ReplayGain to use. This setting can have
  342. # the argument "off", "album", "track" or "auto". "auto" is a special mode that
  343. # chooses between "track" and "album" depending on the current state of
  344. # random playback. If random playback is enabled then "track" mode is used.
  345. # See <http://www.replaygain.org> for more details about ReplayGain.
  346. # This setting is off by default.
  347. #
  348. #replaygain         "album"
  349. #
  350. # This setting sets the pre-amp used for files that have ReplayGain tags. By
  351. # default this setting is disabled.
  352. #
  353. #replaygain_preamp      "0"
  354. #
  355. # This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
  356. # By default this setting is disabled.
  357. #
  358. #replaygain_missing_preamp  "0"
  359. #
  360. # This setting enables or disables ReplayGain limiting.
  361. # MPD calculates actual amplification based on the ReplayGain tags
  362. # and replaygain_preamp / replaygain_missing_preamp setting.
  363. # If replaygain_limit is enabled MPD will never amplify audio signal
  364. # above its original level. If replaygain_limit is disabled such amplification
  365. # might occur. By default this setting is enabled.
  366. #
  367. #replaygain_limit       "yes"
  368. #
  369. # This setting enables on-the-fly normalization volume adjustment. This will
  370. # result in the volume of all playing audio to be adjusted so the output has
  371. # equal "loudness". This setting is disabled by default.
  372. #
  373. #volume_normalization       "no"
  374. #
  375. ###############################################################################
  376.  
  377. # Character Encoding ##########################################################
  378. #
  379. # If file or directory names do not display correctly for your locale then you
  380. # may need to modify this setting.
  381. #
  382. #filesystem_charset     "UTF-8"
  383. #
  384. # This setting controls the encoding that ID3v1 tags should be converted from.
  385. #
  386. #id3v1_encoding         "ISO-8859-1"
  387. #
  388. ###############################################################################
  389.  
  390.  
  391. # SIDPlay decoder #############################################################
  392. #
  393. # songlength_database:
  394. #  Location of your songlengths file, as distributed with the HVSC.
  395. #  The sidplay plugin checks this for matching MD5 fingerprints.
  396. #  See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
  397. #
  398. # default_songlength:
  399. #  This is the default playing time in seconds for songs not in the
  400. #  songlength database, or in case you're not using a database.
  401. #  A value of 0 means play indefinitely.
  402. ## An example configuration file for MPD.
  403. # Read the user manual for documentation: http://www.musicpd.org/doc/user/
  404.  
  405.  
  406. # Files and directories #######################################################
  407. #
  408. # This setting controls the top directory which MPD will search to discover the
  409. # available audio files and add them to the daemon's online database. This
  410. # setting defaults to the XDG directory, otherwise the music directory will be
  411. # be disabled and audio files will only be accepted over ipc socket (using
  412. # file:// protocol) or streaming files over an accepted protocol.
  413. #
  414. music_directory     "~/Music"
  415. #
  416. # This setting sets the MPD internal playlist directory. The purpose of this
  417. # directory is storage for playlists created by MPD. The server will use
  418. # playlist files not created by the server but only if they are in the MPD
  419. # format. This setting defaults to playlist saving being disabled.
  420. #
  421. playlist_directory      "~/Playlists"
  422. #
  423. # This setting sets the location of the MPD database. This file is used to
  424. # load the database at server start up and store the database while the
  425. # server is not up. This setting defaults to disabled which will allow
  426. # MPD to accept files over ipc socket (using file:// protocol) or streaming
  427. # files over an accepted protocol.
  428. #
  429. db_file         "~/.local/share/mpd/mpd.db"
  430. #
  431. # These settings are the locations for the daemon log files for the daemon.
  432. # These logs are great for troubleshooting, depending on your log_level
  433. # settings.
  434. #
  435. # The special value "syslog" makes MPD use the local syslog daemon. This
  436. # setting defaults to logging to syslog, otherwise logging is disabled.
  437. #
  438. log_file            "~/.local/share/mpd/mpd.log"
  439. #
  440. # This setting sets the location of the file which stores the process ID
  441. # for use of mpd --kill and some init scripts. This setting is disabled by
  442. # default and the pid file will not be stored.
  443. #
  444. pid_file            "~/.local/share/mpd/mpd.pid"
  445. #
  446. # This setting sets the location of the file which contains information about
  447. # most variables to get MPD back into the same general shape it was in before
  448. # it was brought down. This setting is disabled by default and the server
  449. # state will be reset on server start up.
  450. #
  451. state_file          "~/.local/share/mpd/mpd.state"
  452. #
  453. # The location of the sticker database.  This is a database which
  454. # manages dynamic information attached to songs.
  455. #
  456. sticker_file            "~/.local/share/mpd/sticker.sql"
  457. #
  458. ###############################################################################
  459.  
  460.  
  461. # General music daemon options ################################################
  462. #
  463. # This setting specifies the user that MPD will run as. MPD should never run as
  464. # root and you may use this setting to make MPD change its user ID after
  465. # initialization. This setting is disabled by default and MPD is run as the
  466. # current user.
  467. #
  468. #user               "nobody"
  469. #
  470. # This setting specifies the group that MPD will run as. If not specified
  471. # primary group of user specified with "user" setting will be used (if set).
  472. # This is useful if MPD needs to be a member of group such as "audio" to
  473. # have permission to use sound card.
  474. #
  475. #group              "nogroup"
  476. #
  477. # This setting sets the address for the daemon to listen on. Careful attention
  478. # should be paid if this is assigned to anything other then the default, any.
  479. # This setting can deny access to control of the daemon. Not effective if
  480. # systemd socket activiation is in use.
  481. #
  482. # For network
  483. bind_to_address     "127.0.0.1"
  484. #
  485. # And for Unix Socket
  486. #bind_to_address        "~/.mpd/socket"
  487. #
  488. # This setting is the TCP port that is desired for the daemon to get assigned
  489. # to.
  490. #
  491. #port               "6600"
  492. #
  493. # This setting controls the type of information which is logged. Available
  494. # setting arguments are "default", "secure" or "verbose". The "verbose" setting
  495. # argument is recommended for troubleshooting, though can quickly stretch
  496. # available resources on limited hardware storage.
  497. #
  498. #log_level          "default"
  499. #
  500. # If you have a problem with your MP3s ending abruptly it is recommended that
  501. # you set this argument to "no" to attempt to fix the problem. If this solves
  502. # the problem, it is highly recommended to fix the MP3 files with vbrfix
  503. # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
  504. # point gapless MP3 playback can be enabled.
  505. #
  506. #gapless_mp3_playback           "yes"
  507. #
  508. # Setting "restore_paused" to "yes" puts MPD into pause mode instead
  509. # of starting playback after startup.
  510. #
  511. #restore_paused "no"
  512. #
  513. # This setting enables MPD to create playlists in a format usable by other
  514. # music players.
  515. #
  516. #save_absolute_paths_in_playlists   "no"
  517. #
  518. # This setting defines a list of tag types that will be extracted during the
  519. # audio file discovery process. The complete list of possible values can be
  520. # found in the user manual.
  521. #metadata_to_use    "artist,album,title,track,name,genre,date,composer,performer,disc"
  522. #
  523. # This setting enables automatic update of MPD's database when files in
  524. # music_directory are changed.
  525. #
  526. #auto_update    "yes"
  527. #
  528. # Limit the depth of the directories being watched, 0 means only watch
  529. # the music directory itself.  There is no limit by default.
  530. #
  531. #auto_update_depth "3"
  532. #
  533. ###############################################################################
  534.  
  535.  
  536. # Symbolic link behavior ######################################################
  537. #
  538. # If this setting is set to "yes", MPD will discover audio files by following
  539. # symbolic links outside of the configured music_directory.
  540. #
  541. #follow_outside_symlinks    "yes"
  542. #
  543. # If this setting is set to "yes", MPD will discover audio files by following
  544. # symbolic links inside of the configured music_directory.
  545. #
  546. #follow_inside_symlinks     "yes"
  547. #
  548. ###############################################################################
  549.  
  550.  
  551. # Zeroconf / Avahi Service Discovery ##########################################
  552. #
  553. # If this setting is set to "yes", service information will be published with
  554. # Zeroconf / Avahi.
  555. #
  556. #zeroconf_enabled       "yes"
  557. #
  558. # The argument to this setting will be the Zeroconf / Avahi unique name for
  559. # this MPD server on the network.
  560. #
  561. #zeroconf_name          "Music Player"
  562. #
  563. ###############################################################################
  564.  
  565.  
  566. # Permissions #################################################################
  567. #
  568. # If this setting is set, MPD will require password authorization. The password
  569. # setting can be specified multiple times for different password profiles.
  570. #
  571. #password                        "password@read,add,control,admin"
  572. #
  573. # This setting specifies the permissions a user has who has not yet logged in.
  574. #
  575. #default_permissions             "read,add,control,admin"
  576. #
  577. ###############################################################################
  578.  
  579.  
  580. # Database #######################################################################
  581. #
  582.  
  583. #database {
  584. #       plugin "proxy"
  585. #       host "other.mpd.host"
  586. #       port "6600"
  587. #}
  588.  
  589. # Input #######################################################################
  590. #
  591.  
  592. input {
  593.         plugin "curl"
  594. #       proxy "proxy.isp.com:8080"
  595. #       proxy_user "user"
  596. #       proxy_password "password"
  597. }
  598.  
  599. #
  600. ###############################################################################
  601.  
  602. # Audio Output ################################################################
  603. #
  604. # MPD supports various audio output types, as well as playing through multiple
  605. # audio outputs at the same time, through multiple audio_output settings
  606. # blocks. Setting this block is optional, though the server will only attempt
  607. # autodetection for one sound card.
  608. #
  609. # An example of an ALSA output:
  610. #
  611. #audio_output {
  612. #   type        "alsa"
  613. #   name        "My ALSA Device"
  614. ##  device      "hw:0,0"    # optional
  615. ##  mixer_type      "hardware"  # optional
  616. ##  mixer_device    "default"   # optional
  617. ##  mixer_control   "PCM"       # optional
  618. ##  mixer_index "0"     # optional
  619. #}
  620. #
  621. # An example of an OSS output:
  622. #
  623. #audio_output {
  624. #   type        "oss"
  625. #   name        "My OSS Device"
  626. ##  device      "/dev/dsp"  # optional
  627. ##  mixer_type      "hardware"  # optional
  628. ##  mixer_device    "/dev/mixer"    # optional
  629. ##  mixer_control   "PCM"       # optional
  630. #}
  631. #
  632. # An example of a shout output (for streaming to Icecast):
  633. #
  634. #audio_output {
  635. #   type        "shout"
  636. #   encoder     "vorbis"        # optional
  637. #   name        "My Shout Stream"
  638. #   host        "localhost"
  639. #   port        "8000"
  640. #   mount       "/mpd.ogg"
  641. #   password    "hackme"
  642. #   quality     "5.0"
  643. #   bitrate     "128"
  644. #   format      "44100:16:1"
  645. ##  protocol    "icecast2"      # optional
  646. ##  user        "source"        # optional
  647. ##  description "My Stream Description" # optional
  648. ##  url     "http://example.com"    # optional
  649. ##  genre       "jazz"          # optional
  650. ##  public      "no"            # optional
  651. ##  timeout     "2"         # optional
  652. ##  mixer_type      "software"      # optional
  653. #}
  654. #
  655. # An example of a recorder output:
  656. #
  657. #audio_output {
  658. #   type        "recorder"
  659. #   name        "My recorder"
  660. #   encoder     "vorbis"        # optional, vorbis or lame
  661. #   path        "/var/lib/mpd/recorder/mpd.ogg"
  662. ##  quality     "5.0"           # do not define if bitrate is defined
  663. #   bitrate     "128"           # do not define if quality is defined
  664. #   format      "44100:16:1"
  665. #}
  666. #
  667. # An example of a httpd output (built-in HTTP streaming server):
  668. #
  669. #audio_output {
  670. #   type        "httpd"
  671. #   name        "My HTTP Stream"
  672. #   encoder     "vorbis"        # optional, vorbis or lame
  673. #   port        "8000"
  674. #   bind_to_address "0.0.0.0"       # optional, IPv4 or IPv6
  675. ##  quality     "5.0"           # do not define if bitrate is defined
  676. #   bitrate     "128"           # do not define if quality is defined
  677. #   format      "44100:16:1"
  678. #   max_clients "0"         # optional 0=no limit
  679. #}
  680. #
  681. # An example of a pulseaudio output (streaming to a remote pulseaudio server)
  682. #
  683. audio_output {
  684.     type        "pulse"
  685.     name        "pulse audio"
  686. ##  server      "remote_server"     # optional
  687. ##  sink        "remote_server_sink"    # optional
  688. }
  689. #
  690. # An example of a winmm output (Windows multimedia API).
  691. #
  692. #audio_output {
  693. #   type        "winmm"
  694. #   name        "My WinMM output"
  695. ##  device      "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
  696. #       or
  697. ##  device      "0"     # optional
  698. ##  mixer_type  "hardware"  # optional
  699. #}
  700. #
  701. # An example of an openal output.
  702. #
  703. #audio_output {
  704. #   type        "openal"
  705. #   name        "My OpenAL output"
  706. ##  device      "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
  707. #}
  708. #
  709. ## Example "pipe" output:
  710. #
  711. #audio_output {
  712. #   type        "pipe"
  713. #   name        "my pipe"
  714. #   command     "aplay -f cd 2>/dev/null"
  715. ## Or if you're want to use AudioCompress
  716. #   command     "AudioCompress -m | aplay -f cd 2>/dev/null"
  717. ## Or to send raw PCM stream through PCM:
  718. #   command     "nc example.org 8765"
  719. #   format      "44100:16:2"
  720. #}
  721. #
  722. ## An example of a null output (for no audio output):
  723. #
  724. #audio_output {
  725. #   type        "null"
  726. #   name        "My Null Output"
  727. #   mixer_type      "none"          # optional
  728. #}
  729. #
  730. # If MPD has been compiled with libsamplerate support, this setting specifies
  731. # the sample rate converter to use.  Possible values can be found in the
  732. # mpd.conf man page or the libsamplerate documentation. By default, this is
  733. # setting is disabled.
  734. #
  735. #samplerate_converter       "Fastest Sinc Interpolator"
  736. #
  737. ###############################################################################
  738.  
  739.  
  740. # Normalization automatic volume adjustments ##################################
  741. #
  742. # This setting specifies the type of ReplayGain to use. This setting can have
  743. # the argument "off", "album", "track" or "auto". "auto" is a special mode that
  744. # chooses between "track" and "album" depending on the current state of
  745. # random playback. If random playback is enabled then "track" mode is used.
  746. # See <http://www.replaygain.org> for more details about ReplayGain.
  747. # This setting is off by default.
  748. #
  749. #replaygain         "album"
  750. #
  751. # This setting sets the pre-amp used for files that have ReplayGain tags. By
  752. # default this setting is disabled.
  753. #
  754. #replaygain_preamp      "0"
  755. #
  756. # This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
  757. # By default this setting is disabled.
  758. #
  759. #replaygain_missing_preamp  "0"
  760. #
  761. # This setting enables or disables ReplayGain limiting.
  762. # MPD calculates actual amplification based on the ReplayGain tags
  763. # and replaygain_preamp / replaygain_missing_preamp setting.
  764. # If replaygain_limit is enabled MPD will never amplify audio signal
  765. # above its original level. If replaygain_limit is disabled such amplification
  766. # might occur. By default this setting is enabled.
  767. #
  768. #replaygain_limit       "yes"
  769. #
  770. # This setting enables on-the-fly normalization volume adjustment. This will
  771. # result in the volume of all playing audio to be adjusted so the output has
  772. # equal "loudness". This setting is disabled by default.
  773. #
  774. #volume_normalization       "no"
  775. #
  776. ###############################################################################
  777.  
  778. # Character Encoding ##########################################################
  779. #
  780. # If file or directory names do not display correctly for your locale then you
  781. # may need to modify this setting.
  782. #
  783. #filesystem_charset     "UTF-8"
  784. #
  785. # This setting controls the encoding that ID3v1 tags should be converted from.
  786. #
  787. #id3v1_encoding         "ISO-8859-1"
  788. #
  789. ###############################################################################
  790.  
  791.  
  792. # SIDPlay decoder #############################################################
  793. #
  794. # songlength_database:
  795. #  Location of your songlengths file, as distributed with the HVSC.
  796. #  The sidplay plugin checks this for matching MD5 fingerprints.
  797. #  See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
  798. #
  799. # default_songlength:
  800. #  This is the default playing time in seconds for songs not in the
  801. #  songlength database, or in case you're not using a database.
  802. #  A value of 0 means play indefinitely.
  803. #
  804. # filter:
  805. #  Turns the SID filter emulation on or off.
  806. #
  807. #decoder {
  808. #   plugin          "sidplay"
  809. #   songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
  810. #   default_songlength  "120"
  811. #   filter "true"
  812. #}
  813. #
  814. ###############################################################################
  815.  
  816. audio_output {
  817.    type     "fifo"
  818.    name     "mpd_fifo"
  819.    path     "/tmp/mpd.fifo"
  820.    format   "44100:16:2"
  821. }
  822.  
  823. # filter:
  824. #  Turns the SID filter emulation on or off.
  825. #
  826. #decoder {
  827. #   plugin          "sidplay"
  828. #   songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
  829. #   default_songlength  "120"
  830. #   filter "true"
  831. #}
  832. #
  833. ###############################################################################
  834.  
  835. audio_output {
  836.    type     "fifo"
  837.    name     "mpd_fifo"
  838.    path     "/tmp/mpd.fifo"
  839.    format   "44100:16:2"
  840. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement