summaryrefslogtreecommitdiff
path: root/mpd/mpd.conf
blob: 8a9e06c96d0852d5d11b0fe5db92d0c1c7a8e353 (plain)
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
## Configuracion

# Basico
music_directory "/home/matias/Music"
playlist_directory "/home/matias/.mpd/playlists"
db_file "/home/matias/.mpd/mpd.db"
log_file "/home/matias/.mpd/mpd.log"
pid_file "/home/matias/.mpd/pid.log"
state_file "/home/matias/.mpd/mpdstate"

# Audio
#audio_output {
#    type	"alsa"
#    name	"MPD Sound Device"
#    options	"dev=dmixer"
#}

audio_output {
    type	"pulse"
    name	"MPD Sound Device (Pulseaudio)"
}

audio_output {
	type	"fifo"
	name	"my_fifo"
	path	"/tmp/mpd.fifo"
	format	"44100:16:2"
}
#audio_output {
	#type		"shout"
	#encoding	"ogg"			# optional
	#name		"My Shout Stream"
	#host		"localhost"
	#port		"8000"
	#mount		"/mpd.ogg"
	#password	"hackme"
##	quality		"5.0"
	#bitrate		"128"
	#format		"44100:16:1"
##	protocol	"icecast2"		# optional
##	user		"source"		# optional
##	description	"My Stream Description"	# optional
##	url		"http://example.com"	# optional
##	genre		"jazz"			# optional
##	public		"no"			# optional
##	timeout		"2"			# optional
##	mixer_type      "software"		# optional
#}

audio_output {
	type		"httpd"
	name		"My HTTP Stream"
	encoder		"lame"		# optional, vorbis or lame
	port		"8000"
	bind_to_address	"0.0.0.0"		# optional, IPv4 or IPv6
#	quality		"5.0"			# do not define if bitrate is defined
	bitrate		"128"			# do not define if quality is defined
	format		"44100:16:1"
	max_clients	"0"			# optional 0=no limit
}