You are not logged in.
Ive installed MPD and did what the wiki says,but when i do "sudo mpd --create-db" i get:
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
output: Successfully detected a alsa audio device
Nothing about my mp3 file,neither i can see them in ncmpcpp.
The music folder is set to ~/music (full path).
What i am doing wrong?
Last edited by YamiFrankc (2009-09-05 23:22:09)
Thanks and greetings.
Offline
*sigh* the same question at least twice a week
Anyway, a few hints:
a) Use the absolute path
b) the user defined in /etc/mpd.conf has to have permissions to read your music directory AND permissions to write, read and execute the folder, where you save your database, pid, log etc...
c) To get some proper error messages start mpd with "sudo mpd --verbose --stdout --nodaemon" - then use a client to update the database (in ncmpc hit 'u')
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Also, if I recall, it scans in the background, so if you are seeing a bit of hard drive after you execute this, that is probably what is happening.
Last edited by Wintervenom (2009-09-05 22:50:59)
Offline
Uh,thanks a lot. And sorry for not searcing in the forum .
The problem was,as you said permissions, mpd user wasnt able to wire the directory.
Thanks and greetings.
Offline
The problem was,as you said permissions, mpd user wasnt able to wire the directory.
Reason enough to run mpd as a regular user.
Offline