Subject: pkg/36472: audio/musicpd sample configuration file has obsolete format
To: None <,,>
From: Aleksej Saushev <>
List: pkgsrc-bugs
Date: 06/11/2007 18:20:00
>Number:         36472
>Category:       pkg
>Synopsis:       audio/musicpd sample configuration file has obsolete format
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 11 18:20:00 +0000 2007
>Originator:     Aleksej Saushev <>
>Release:        NetBSD 4.99.20
System: NetBSD asau.local 4.99.20 NetBSD 4.99.20 (KERN) #26: Wed Jun 6 00:48:33 MSD 2007 root@asau.local:/usr/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
	musicpd sample configuration file has obsolete format and should be fixed
	Try starting mpd with pkgsrc-provided configuration file,
	observe it not passing syntax check.

Proposed files/mpd.conf replacement:
# $NetBSD$

# required
port			"6600"
music_directory		"/var/music/music"
playlist_directory	"/var/music/playlist"
log_file		"/var/log/musicpd.log"
error_file		"/var/log/musicpd.error"

# optional
max_connections		"5"
max_command_list_size	"2048"
max_output_buffer_size	"2048"
connection_timeout	"60"
db_file			"/var/music/.musicpddb"
state_file		"/var/music/.musicpdstate"
save_absolute_paths_in_playlists "no"

max_playlist_length	"4096"
buffer_before_play	"25%"
bind_to_address		"any"

audio_output {
	type	"oss"
	name	"LibAO-OSS"
	driver	"oss"
	write_size	"1024"
	device	"/dev/audio"
#	options	"dsp=/dev/audio"

mixer_type		"software"
mixer_device		"/dev/mixer"
# mixer_control defaults to the master volume control. uncomment the
# following line to have mpd's volume control modify the "PCM"
# volume instead:
# mixer_control		"Pcm"

#user			"mp3"

# log_level can be "default", "secure", "verbose"
log_level		"default"
#password		"password@read,add,control,admin"
#default_permissions	"read,add,control,admin"
#filesystem_charset	"UTF-8"