You are not logged in.

#1 2007-08-21 01:57:36

alexmatos
Member
From: Rio de Janeiro, Brasil
Registered: 2007-08-06
Posts: 124

ncmpc issue

When I try to run ncmpc, I get this error:

error [15]: problems getting a response from "localhost" on port 6600

Does anybody know how to deal with it?

Last edited by alexmatos (2007-08-21 01:57:51)

Offline

#2 2007-08-21 02:08:52

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

Re: ncmpc issue


I am a gated community.

Offline

#3 2007-08-21 13:47:28

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: ncmpc issue

Yeah, read the wiki article stonecrest posted.  ncmpc is just a frontend to MPD.  So you have to install/configure/start that first.

Offline

#4 2007-08-21 18:54:38

Husio
Member
From: Europe
Registered: 2005-12-04
Posts: 359
Website

Re: ncmpc issue

set in /etc/mpd.conf

bind_to_address                 "127.0.0.1"
port                            "6600"

then

killall mpd
mpd

Offline

#5 2007-08-21 19:55:11

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: ncmpc issue

Actually, the best way is to copy /etc/mpd.conf.example to /etc/mpd.conf, then edit it to your liking and use the scripts in /etc/rc.d/ together with rc.conf to start mpd on boot.


Todays mistakes are tomorrows catastrophes.

Offline

#6 2007-08-21 20:53:49

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

Re: ncmpc issue

mucknert wrote:

Actually, the best way is to copy /etc/mpd.conf.example to /etc/mpd.conf, then edit it to your liking and use the scripts in /etc/rc.d/ together with rc.conf to start mpd on boot.

...which is exactly what the wiki says. Yay, we've come full circle tongue


I am a gated community.

Offline

#7 2007-08-22 01:56:31

alexmatos
Member
From: Rio de Janeiro, Brasil
Registered: 2007-08-06
Posts: 124

Re: ncmpc issue

stonecrest wrote:
mucknert wrote:

Actually, the best way is to copy /etc/mpd.conf.example to /etc/mpd.conf, then edit it to your liking and use the scripts in /etc/rc.d/ together with rc.conf to start mpd on boot.

...which is exactly what the wiki says. Yay, we've come full circle tongue

Yes, I managed to do it with the Wiki. But it is not all clear. I had to browse through some option before I succeded. Since the Wiki purpouse is to clear up things, I think maybe it should be reviewed (this article).

One thing that was tricky for me to understand was the part that I have to define the music directory. I could do it through the files '/etc/mpd.conf' or '~/.mdpconf'. But I couldn't use the abreviation '~/' to specify the location of my music directory since I had to be root to create the database (which would leave me to '/root' instead of '/home/alex'). That's not clear in the Wiki and it made me spend more time that I would've liked to. Perhaps I'm too newby and this is trivial for most of the users. But IMO, it should be reviewed. What do you guys think?

Offline

#8 2007-08-22 02:58:59

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

Re: ncmpc issue

alexmatos wrote:
stonecrest wrote:
mucknert wrote:

Actually, the best way is to copy /etc/mpd.conf.example to /etc/mpd.conf, then edit it to your liking and use the scripts in /etc/rc.d/ together with rc.conf to start mpd on boot.

...which is exactly what the wiki says. Yay, we've come full circle tongue

Yes, I managed to do it with the Wiki. But it is not all clear. I had to browse through some option before I succeded. Since the Wiki purpouse is to clear up things, I think maybe it should be reviewed (this article).

One thing that was tricky for me to understand was the part that I have to define the music directory. I could do it through the files '/etc/mpd.conf' or '~/.mdpconf'. But I couldn't use the abreviation '~/' to specify the location of my music directory since I had to be root to create the database (which would leave me to '/root' instead of '/home/alex'). That's not clear in the Wiki and it made me spend more time that I would've liked to. Perhaps I'm too newby and this is trivial for most of the users. But IMO, it should be reviewed. What do you guys think?

It's a wiki; if you find parts confusing, edit them and make them better.


I am a gated community.

Offline

Board footer

Powered by FluxBB