You are not logged in.
Hi!
I'm using mpd and ncmpd an are loving it:D but it seems like i can't update what songs there is in my music directory.
How do I update the database?
Offline
create new database: mpd --create-db or Ctrl+U in ncmpc to update.
Offline
I have used both but nothing seems to happen.
Offline
run mpd --verbose and check the log.
I am a gated community.
Offline
here is the output after I ran mpd --verbose
binding to address for 127.0.0.1
setFsCharset: fs charset is: UTF-8
libFLAC supports OggFLAC, initializing OggFLAC support
reading DB
opening pid file
daemonized!
writing pid file
Offline
Could you please also provide the first few lines of your /etc/mpd.conf (your db-settings) if you've changed them? Have you tried to delete the .mpd dir and restart mpd?
Haven't been here in a while. Still rocking Arch.
Offline
music_directory "/home/tjololo/mp3"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/mpd.db"
log_file "/var/log/mpd/mpd.log"
error_file "/var/log/mpd/mpd.error"
Hope are the the lines you wanted
Offline
I'd change
db_file "/var/lib/mpd/mpd.db"
to
db_file "~/mpd/mpd.db"
because this looks like a permission issue...
(if ~/mpd is the folder you want the db to be in)
Or do you want the db to be available for other users too?
Haven't been here in a while. Still rocking Arch.
Offline
when I change what you said I only got this error message:
unable open db file "/var/lib/mpd/mpd/mpd.db": No such file or directory
I probably haven't set a variable?
Offline
Change the Option
user "mpd"
to
user "tjololo"
in the DAEMON OPTIONS array of /etc/mpd.conf
Last edited by Sigi (2007-05-28 22:24:04)
Haven't been here in a while. Still rocking Arch.
Offline
Yet another error:/
problem opening log file "/var/log/mpd/mpd.log" (config line 14) for writing
Offline
change
log_file "/var/log/mpd/mpd.log"
to
log_file "~/mpd/mpd.log"
Haven't been here in a while. Still rocking Arch.
Offline
Great! All is working great:) Thanks
Offline
You're welcome!
Enjoy your music, I also like the mpd & ncmpc combo...
Haven't been here in a while. Still rocking Arch.
Offline