On Sat, 27 Nov 2010, Bob Williams wrote:
On Saturday 27 Nov 2010 02:17:51 Patrick Shanahan wrote:
* Bob Williams <linux@barrowhillfarm.org.uk> [11-26-10 18:46]:
On Friday 26 Nov 2010 23:32:35 Patrick Shanahan wrote:
* Bob Williams <linux@barrowhillfarm.org.uk> [11-26-10 18:15]:
Still doesn't work :(
Doesn't work? Not much to go on here... Care to give a few hints?
In the context of what has been said earlier in this thread, creating the symbolic link pointing to the ~/music directory, and then pointing mpd to that link instead of directly to ~/music, as suggested by Mike, produced the same result as pointing mpd to ~/music. That is, it failed to build the music database.
Any further suggestions?
Failed in what context? How did it fail? How do you know that it did fail? What error message or ??
Try to explain what you would do if someone told you that their car failed to start. You would not have much to go on.
Sure, but I've already given a description of what I expect mpd to do, and what it's not doing, earlier in the thread. Namely, it should build a database of my music collection, which it is not doing, yet it appears to log the building of the database in its logfile.
The following comes from the mpd logfile entry for today, after issuing :~> mpd --create-db:
----- Nov 27 10:43 : avahi: Initializing interface Nov 27 10:43 : avahi: Client changed to state 2 Nov 27 10:43 : avahi: Client is RUNNING Nov 27 10:43 : avahi: Registering service _mpd._tcp/Music Player Nov 27 10:43 : avahi: Service group changed to state 0 Nov 27 10:43 : avahi: Service group is UNCOMMITED Nov 27 10:43 : state_file: Saving state file Nov 27 10:43 : avahi: Service group changed to state 1 Nov 27 10:43 : avahi: Service group is REGISTERING Nov 27 10:43 : avahi: Service group changed to state 2 Nov 27 10:43 : avahi: Service 'Music Player' successfully established. Nov 27 10:44 : avahi: Shutting down interface Nov 27 10:44 : listen: listen_global_finish called Nov 27 10:44 : db_finish took 0.000000 seconds Nov 27 10:44 : avahi: Initializing interface Nov 27 10:44 : avahi: Client changed to state 2 Nov 27 10:44 : avahi: Client is RUNNING Nov 27 10:44 : avahi: Registering service _mpd._tcp/Music Player Nov 27 10:44 : avahi: Service group changed to state 0 Nov 27 10:44 : avahi: Service group is UNCOMMITED Nov 27 10:44 : update: spawned thread for update job id 1 Nov 27 10:44 : state_file: Saving state file Nov 27 10:44 : avahi: Service group changed to state 1 Nov 27 10:44 : avahi: Service group is REGISTERING Nov 27 10:44 : update: added classical/Debussy, Claude - 1980 Pascal Roge - Piano Music/08 Children's Corner -IV- The Snow is Dancing.flac ----- It states that it finished writing the database in zero seconds. It also claims to have added a .flac file.
I have done a lot of research in various forums, and getting mpd to run successfully seems to boil down to having the correct entries in the configuration file, and making sure that the user it is running as has write and execute permissions in all the relevant directories. I have checked these numerous times, and cannot find anything wrong, but I'm also aware that I have probably overlooked some minor detail. That is why I posted details of my setup, to see if anyone here could spot something I've missed.
If you need any more information to help me get this working, please say what I need to provide.
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
what if you try to change "~/.mpd/database/mpd.db" to "~/.mpd/database" ? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org