pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36472: audio/musicpd sample configuration file has obsolete format



>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 <asau%hotbox.ru@localhost>
>Release:        NetBSD 4.99.20
>Organization:
>Environment:
System: NetBSD asau.local 4.99.20 NetBSD 4.99.20 (KERN) #26: Wed Jun 6 00:48:33 
MSD 2007 root%asau.local@localhost:/usr/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
>Description:
        musicpd sample configuration file has obsolete format and should be 
fixed
>How-To-Repeat:
        Try starting mpd with pkgsrc-provided configuration file,
        observe it not passing syntax check.
>Fix:

Proposed files/mpd.conf replacement:
-------------------------------8<-------------------------------
# $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"
-------------------------------8<-------------------------------




Home | Main Index | Thread Index | Old Index