aboutsummaryrefslogtreecommitdiff
path: root/audio/musicpd/files/patch-doc_mpdconf.example
blob: b1a8089a580d4a982db8a3588a60b402458b31c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
--- doc/mpdconf.example.orig	2025-03-11 10:05:29 UTC
+++ doc/mpdconf.example
@@ -11,7 +11,7 @@
 # file:// protocol) or streaming files over an accepted protocol.
 #
 #music_directory		"$XDG_MUSIC_DIR"
-#music_directory		"~/music"
+music_directory		"/var/mpd/music"
 #
 # This setting sets the MPD internal playlist directory. The purpose of this
 # directory is storage for playlists created by MPD. The server will use
@@ -19,7 +19,7 @@
 # format. This setting defaults to playlist saving being disabled.
 #
 #playlist_directory		"$XDG_CONFIG_HOME/mpd/playlists"
-#playlist_directory		"~/.mpd/playlists"
+playlist_directory		"/var/mpd/.mpd/playlists"
 #
 # This setting sets the location of the MPD database. This file is used to
 # load the database at server start up and store the database while the
@@ -28,7 +28,7 @@
 # files over an accepted protocol.
 #
 #db_file			"$XDG_CACHE_HOME/mpd/database"
-#db_file			"~/.mpd/database"
+db_file			"/var/mpd/.mpd/database"
 
 # These settings are the locations for the daemon log files for the daemon.
 #
@@ -39,7 +39,7 @@
 # defaults to the systemd journal, which is fine.
 #
 #log_file			"$XDG_CACHE_HOME/mpd/log"
-#log_file			"~/.mpd/log"
+log_file			"/var/mpd/.mpd/log"
 
 # This setting sets the location of the file which stores the process ID
 # for use of mpd --kill and some init scripts. This setting is disabled by
@@ -48,7 +48,7 @@
 # If you use systemd, do not configure a pid_file.
 #
 #pid_file			"$XDG_RUNTIME_DIR/mpd/mpd.pid"
-#pid_file			"~/.mpd/pid"
+pid_file			"/var/mpd/.mpd/pid"
 
 # This setting sets the location of the file which contains information about
 # most variables to get MPD back into the same general shape it was in before
@@ -56,13 +56,13 @@
 # state will be reset on server start up.
 #
 #state_file			"$XDG_RUNTIME_DIR/mpd/state"
-#state_file			"~/.mpd/state"
+state_file			"/var/mpd/.mpd/state"
 #
 # The location of the sticker database.  This is a database which
 # manages dynamic information attached to songs.
 #
 #sticker_file			"$XDG_CACHE_HOME/sticker.sql"
-#sticker_file			"~/.mpd/sticker.sql"
+sticker_file			"/var/mpd/.mpd/sticker.sql"
 #
 ###############################################################################
 
@@ -74,7 +74,7 @@
 # initialization. This setting is disabled by default and MPD is run as the
 # current user.
 #
-#user				"nobody"
+user				"%%MPDUSER%%"
 #
 # This setting specifies the group that MPD will run as. If not specified
 # primary group of user specified with "user" setting will be used (if set).
@@ -93,7 +93,7 @@
 #
 # And for Unix Socket
 #bind_to_address		"$XDG_RUNTIME_DIR/mpd/socket"
-#bind_to_address		"~/.mpd/socket"
+bind_to_address		"/var/mpd/.mpd/socket"
 #
 # This setting is the TCP port that is desired for the daemon to get assigned
 # to.
@@ -189,8 +189,8 @@
 #
 #database {
 #       plugin "simple"
-#       path "~/.local/share/mpd/db"
-#       cache_directory "~/.local/share/mpd/cache"
+#       path "/var/mpd/.local/share/mpd/db"
+#       cache_directory "/var/mpd/.local/share/mpd/cache"
 #}
 #
 # An example of database config for a satellite setup
@@ -235,14 +235,14 @@ input {
 #
 # An example of an OSS output:
 #
-#audio_output {
-#	type		"oss"
-#	name		"My OSS Device"
+audio_output {
+	type		"oss"
+	name		"Default OSS Device"
 ##	device		"/dev/dsp"	# optional
 ##	mixer_type      "hardware"	# optional
 ##	mixer_device	"/dev/mixer"	# optional
 ##	mixer_control	"PCM"		# optional
-#}
+}
 #
 # An example of a shout output (for streaming to Icecast):
 #