ncmpcpp: Sync with gentoo
[mpd.git] / media-sound / mpd / files / mpdconf.patch
blob8f193c82df00710fe8f43fb0151a054d35d051f5
1 Index: mpd-0.16/doc/mpdconf.dist
2 ===================================================================
3 --- mpd-0.16.orig/doc/mpdconf.dist
4 +++ mpd-0.16/doc/mpdconf.dist
5 @@ -10,14 +10,14 @@
6 # be disabled and audio files will only be accepted over ipc socket (using
7 # file:// protocol) or streaming files over an accepted protocol.
9 -#music_directory "~/music"
10 +music_directory "/var/lib/mpd/music"
12 # This setting sets the MPD internal playlist directory. The purpose of this
13 # directory is storage for playlists created by MPD. The server will use
14 # playlist files not created by the server but only if they are in the MPD
15 # format. This setting defaults to playlist saving being disabled.
17 -#playlist_directory "~/.mpd/playlists"
18 +playlist_directory "/var/lib/mpd/playlists"
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 @@ -25,7 +25,7 @@
23 # MPD to accept files over ipc socket (using file:// protocol) or streaming
24 # files over an accepted protocol.
26 -#db_file "~/.mpd/database"
27 +db_file "/var/lib/mpd/database"
29 # These settings are the locations for the daemon log files for the daemon.
30 # These logs are great for troubleshooting, depending on your log_level
31 @@ -34,7 +34,7 @@
32 # The special value "syslog" makes MPD use the local syslog daemon. This
33 # setting defaults to logging to syslog, otherwise logging is disabled.
35 -#log_file "~/.mpd/log"
36 +log_file "/var/lib/mpd/log"
38 # This setting sets the location of the file which stores the process ID
39 # for use of mpd --kill and some init scripts. This setting is disabled by
40 @@ -47,7 +47,7 @@
41 # it was brought down. This setting is disabled by default and the server
42 # state will be reset on server start up.
44 -#state_file "~/.mpd/state"
45 +state_file "/var/lib/mpd/state"
47 # The location of the sticker database. This is a database which
48 # manages dynamic information attached to songs.
49 @@ -64,7 +64,7 @@
50 # initialization. This setting is disabled by default and MPD is run as the
51 # current user.
53 -#user "nobody"
54 +user "mpd"
56 # This setting specifies the group that MPD will run as. If not specified
57 # primary group of user specified with "user" setting will be used (if set).
58 @@ -78,10 +78,10 @@
59 # This setting can deny access to control of the daemon.
61 # For network
62 -#bind_to_address "any"
63 +bind_to_address "localhost"
65 # And for Unix Socket
66 -#bind_to_address "~/.mpd/socket"
67 +bind_to_address "/var/lib/mpd/socket"
69 # This setting is the TCP port that is desired for the daemon to get assigned
70 # to.