You are not logged in.

#1 2007-08-12 14:27:07

Davigetto
Member
From: In your mind
Registered: 2007-05-10
Posts: 266

How can I get mpd + sonata working

Hello, I have followed the wiki page for MPD: http://wiki.archlinux.org/index.php/Mpd , but I can't get it working, always sonata is telling to me that MPD connection is time out.

from /etc/mpd.conf I have modified only that:

music_directory                  "/home/davigetto/Musica"

I make successfully /etc/rc.d/mpd create-db:

[root@samantha davigetto]#  /etc/rc.d/mpd create-db
:: Creating mpd's database ...                                           [BUSY] :: Output written to /var/log/mpd/mpd.db-creation                        [DONE]

and when trying to start mpd daemon, always it fails:

[root@samantha davigetto]# /etc/rc.d/mpd restart
:: Stopping Music Player Daemon                                          [FAIL] 
:: Starting Music Player Daemon                                          [FAIL] 
[root@samantha davigetto]#

what steps must I follow to get MPD working correctly, and sonata too?

Greetings


Only deaths can see the end of battles.

Blog: http://djmartinez.co.cc -> The life of a Computer Engineer

Offline

#2 2007-08-12 15:41:25

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: How can I get mpd + sonata working

Hi, u need to have /etc/mpd.conf configured properly for mpd to work, try this for example:

music_directory                 "~/home/davigetto/Musica"
playlist_directory              "~/.mpd/playlists"
db_file                         "~/.mpd/mpd.db"
log_file                        "~/.mpd/mpd.log"
error_file                      "~/.mpd/mpd.error"
pid_file                        "~/.mpd/mpd.pid"
state_file                      "~/.mpd/mpdstate"

user                            "davigetto"

bind_to_address                 "127.0.0.1"
port                "6600"

audio_output {
        type                    "alsa"
        name                    "My ALSA Device"
}

mixer_type                      "software"

Reboot and then type in terminal 'mpd --create-db'

After the database is created start sonata and you should be able to play your music.

Offline

#3 2007-08-12 17:25:16

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: How can I get mpd + sonata working

Run mpd --verbose and see what the error is.


I am a gated community.

Offline

Board footer

Powered by FluxBB