On Monday 29 Nov 2010 01:51:20 Georg wrote:
of course, if your database is in /var/lib/mpd, the user mpd runs as needs write access to it. The default is that it runs as mpd and it uses /var/lib/mpd which is installed with the proper write permission. You could try to uninstall it, remove .mpd from you home directory, reinstall and restart with the default settings using /etc/mpd.conf. This is the setting I use, changing only the folder where the actual music is, so I can add new files easily. By the way, I use ncmpc, which I find a neat client. Don't give up.
Well, I eventually found that the problem was mpd won't write its database file if any of the files submitted for addition to the database are corrupt (for some definition of "corrupt" known only to mpd). So, I created a new directory ~/mpdmusic which I am populating with symlinks pointing to all the subdirectories under ~/music. As each symlink is created I update the mpd database. I expect it to barf when it reaches the file it didn't like when fed the whole of ~/music in one go. Oh yes, and of course I have set the path to music_directory in mpd.conf to ~/mpdmusic. Thanks to everyone who offered helpful suggestions, especially Georg's "Don't give up" :) Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.3 64-bit, Kernel 2.6.36.90-desktop, KDE 4.5.3 Intel Core2 Quad Q9400 2.66GHz, 8GB DDR RAM, nVidia GeForce 9600GT -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org