config file change! now 'port' is optional and 'db_file' is required!
also, should have better error reporting when failing to open playlist or music directory's, or writing the db, etc git-svn-id: https://svn.musicpd.org/mpd/trunk@3027 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
# Check the mpd man page, "man mpd".
|
||||
|
||||
##################### REQUIRED ###########################
|
||||
port "6600"
|
||||
music_directory "~/music"
|
||||
playlist_directory "~/.mpd/playlists"
|
||||
playlist_directory "~/music"
|
||||
db_file "~/.mpd/mpd.db"
|
||||
log_file "~/.mpd/mpd.log"
|
||||
error_file "~/.mpd/mpd.error"
|
||||
##########################################################
|
||||
@@ -112,10 +112,6 @@ audio_output {
|
||||
|
||||
#################### OPTIONAL FILES ######################
|
||||
#
|
||||
# Location of DB file
|
||||
#
|
||||
#db_file "~/.mpd/mpd.db"
|
||||
#
|
||||
# The state file (if set) will be a file
|
||||
# for storing all current information
|
||||
# (playlist, playing/paused, etc...) from
|
||||
@@ -200,6 +196,8 @@ audio_output {
|
||||
|
||||
################ MISCELLANEOUS OPTIONS ###################
|
||||
#
|
||||
#port "6600"
|
||||
#
|
||||
# This sets the metadata mpd will use, to disable all metadata, set to "none"
|
||||
# NOTE: comment's are disabled by default
|
||||
#
|
||||
|
Reference in New Issue
Block a user