mpd hang if we try to update an empty db to new version

change default mpfire path to /var/mp3
This commit is contained in:
Arne Fitzenreiter
2009-02-16 07:07:12 +01:00
parent 92df1ce6e7
commit 0de3eea43d
4 changed files with 4 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
##################### REQUIRED ###########################
port "6600"
music_directory "/"
music_directory "/var/mp3"
playlist_directory "/var/ipfire/mpfire"
log_file "/var/log/mpd.log"
error_file "/var/log/mpd.error.log"

View File

@@ -1,5 +1,5 @@
info_begin
mpd_version: 0.13.0
mpd_version: MPD_VERSION
fs_charset: UTF-8
info_end
songList begin

View File

@@ -33,6 +33,7 @@ var/ipfire/mpfire/mpd.conf
var/ipfire/mpfire/playlist.m3u
var/ipfire/mpfire/settings
var/ipfire/mpfire/webradio
var/mp3/info
usr/local/bin/mpfirectrl
srv/web/ipfire/cgi-bin/mpfire.cgi
srv/web/ipfire/html/images/mpfire

View File

@@ -83,4 +83,5 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@rm -rf $(DIR_APP)
touch /var/log/mpd.error.log
touch /var/log/mpd.log
sed -i 's/MPD_VERSION/$(VER)/' /var/ipfire/mpfire/db/mpd.db
@$(POSTBUILD)