You are not logged in.
whenever i type in ncmpcpp in the terminal or "mpc whatever" it takes 10 seconds just to load the the interface.
I can't give any logs, there's nothing relevant to the problem
music_directory "/home/jr/Music"
playlist_directory "/home/jr/.mpd/playlists"
db_file "/home/jr/.mpd/mpd.db"
log_file "/home/jr/.mpd/mpd.log"
#pid_file "/home/jr/.mpd/mpd.pid"
state_file "/home/jr/.mpd/mpdstate"
###### OUTPUT PLUGINS #####
log_level "verbose"
audio_output {
type "alsa"
name "Alsa Output"
# device "hw:0,1" # optional
# format "44100:16:2" # optional
# mixer_type "software" # optional
## mixer_device "default" # optional
# mixer_control "front-pcm" # optional
## mixer_index "0" # optional
}
#audio_output_format "44100:16:2"
#samplerate_converter "Fastest Sinc Interpolator"
#replaygain "album"
#replaygain_preamp "6"
#volume_normalization "no"
#audio_buffer_size "2048"
#buffer_before_play "10%"
#connection_timeout "60"
#max_connections "10"
#max_playlist_length "16384"
#max_command_list_size "2048"
#max_output_buffer_size "8192"
#filesystem_charset "UTF-8"
#id3v1_encoding "ISO-8859-1"
Last edited by jralphur (2013-03-04 05:40:36)
Offline
I have the same problem with ncmpcpp taking exactly 10 seconds to open or respond to commands.
http://dl.dropbox.com/u/7002298/ncmpcpp.png
I am unsure of cause as well, though I suspect it has something to do with the last mpd update, or how mpd is handled by systemd. I call "systemd --user &" in my .xinitrc to start running mpd.
Last edited by Alittlemurkling (2013-03-25 03:58:29)
Offline
I don't have this problem... if you are starting it as a systemd user service, maybe there is relevant information in the journal.
Offline
I dont have this issue either. are you auto starting mpd?
that time is how long it is up in other words you opened it then closed it at that time
--------------------------------------
alcoves wonder creates the wonder unto the ages; never lose that.
Offline
@original poster:
try to add an bind_to_address line that binds to 127.0.0.1
then use this in ncmpcpp as host
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
I dont have this issue either. are you auto starting mpd?
that time is how long it is up in other words you opened it then closed it at that time
I'm not sure if you are referring to me or not, but in my screenshot I am timing the lag in ncmpcpp by pressing 'q' in the terminal during the delay, so it quits ncmpcpp immediately after the lag. The lag is longer for ncmpc because the interface loads before the program connects to mpd, so I have to stop it manually immediatly after it connects.
I don't have this problem... if you are starting it as a systemd user service, maybe there is relevant information in the journal.
The journal did not reveal anything relevant sadly. I have now tried launching mpd without systemd, and the lag remains. I have also noticed that a small mpd programming project I am writing also experiences the same lag when it tries to connect to mpd.
Offline
@original poster:
try to add an bind_to_address line that binds to 127.0.0.1
then use this in ncmpcpp as host
This solves all lag! I suppose mpd changed the how the default address is handled in the last update?
Offline
No, no relevant changes seem to have been applied. I have no issue whatsoever on two machines. Is the lag only present when calling it locally or also from another machine in the network?
Offline