You are not logged in.

#1 2007-11-21 08:58:09

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

mpc gives problems connecting to any port specified

this is my ~/.mpdconfig as well as my /etc/mpd.conf

port            "6600"
music_directory         "/home/vladuz/music"
playlist_directory      "/home/vladuz/.mpd/playlists"
db_file                 "/home/vladuz/.mpd/mpd.db"
log_file                "/home/vladuz/.mpd/mpd.log"
error_file              "/home/vladuz/.mpd/mpd.error"
audio_output {
        type                    "alsa"
        name                    "Alsa Software Volume"
}
mixer_type                      "software"
user                "vladuz"

then I create my database:

vladuz ~  $  sudo mpd --create-db
added white_blessom/return_to_the_classic.mp3
added hanaoka_satoshi-Collection/10.Track_10.ogg
added hanaoka_satoshi-Collection/04.Track_4.mp3
added hanaoka_satoshi-Collection/01.Track_1.ogg

but mpc ls gives:

vladuz ~  $  mpc ls                                                                       
error: problems connecting to "6600" on port 6600: Invalid argument

what could be the problem here?

Offline

#2 2007-11-21 09:26:33

jonkristian
Member
From: Norway
Registered: 2007-03-09
Posts: 101
Website

Re: mpc gives problems connecting to any port specified

did you run mpd? /etc/rc.d/mpd start


PROCRASTINATION
is like masturbation...it's good in the beginning, but in the end, you realize
you've just fkd yourself

Offline

#3 2007-11-21 15:01:43

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

Re: mpc gives problems connecting to any port specified

vladuz976 wrote:

but mpc ls gives:

vladuz ~  $  mpc ls                                                                       
error: problems connecting to "6600" on port 6600: Invalid argument

what could be the problem here?

To me, that suggests it's trying to connect to host "6600" on port 6600.

echo $MPD_HOST
echo $MPD_PORT


I am a gated community.

Offline

Board footer

Powered by FluxBB