You are not logged in.
I'm not sure if this is a problem with ncmpcpp or mpd, but scrolling in the 'library view' in
ncmpcpp is noticeably lagging. Not so bad that it is unusable, but annoying nonetheless.
mpd 0.15.15-2
ncmpcpp-git 20101116-1
# /etc/mpd.conf
music_directory "~/.mpd/music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/db"
log_file "~/.mpd/mpd.log"
error_file "~/.mpd/mpd.error"
pid_file "~/.mpd/mpd.pid"
state_file "~/.mpd/mpdstate"
user "my_username"
audio_output {
type "alsa"
name "My ALSA Device"
options "dev=dmixer"
device "plug:dmix"
}
mixer_type "software"
Last edited by thinkpadx61 (2010-12-04 00:09:01)
Offline
Which terminal emulator do you use? I had this problem when ncmpcpp was very young and I thought the author and me figured it out, what causes this, but aparently we didn't. I use urxvt. It might help if you try a few different terminal emulators, xterm, *rxvt, ... Maybe it only lags with some of them.
Just a hint, if the problem can't be solved here, don't be too shy to contact the author, he's a super nice guy.
Offline
I use rxvt-unicode as my primary terminal emulator, too. In addition, I have tested ncmpcpp in xterm, aterm and fgetty. All with the same
results, unfortunately. I also tried upgrading to mpd-git (20101203-1), with no luck.
I will try to contact the author, though I do suspect the problem lies with mpd. If my memory serves me right, this problem started with the
mpd 0.13 upgrade.
Offline
this is possibly a ncmpcpp bug. try to use a socket file, instead of tcp connection. Should be much better.
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
this is possibly a ncmpcpp bug. try to use a socket file, instead of tcp connection. Should be much better.
What exactly do you mean with that?
Offline
Rasi wrote:this is possibly a ncmpcpp bug. try to use a socket file, instead of tcp connection. Should be much better.
What exactly do you mean with that?
> grep socket /etc/mpd.conf
# be disabled and audio files will only be accepted over ipc socket (using
# MPD to accept files over ipc socket (using file:// protocol) or streaming
bind_to_address "/mnt/md0/Audio/.mpd/socket"
> grep socket .ncmpcpp/config
mpd_host = "/mnt/md0/Audio/.mpd/socket"
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
Thank you very much, Rasi! That did it. Finally, scrolling is smooth again.
Offline
Great stuff, this really helps! Thanks Rasi!
Unfortunately, now mpc needs some extra parameters.
Last edited by Army (2010-12-04 00:22:35)
Offline
Great stuff, this really helps! Thanks Rasi!
Unfortunately, now mpc needs some extra parameters.
echo "export MPD_HOST=/path/to/mpd_socket" >> ~/.bashrc - but you dont need to, because:
you can set both tcp and socket file addresses in mpd.conf, simply duplicate the line and tweak it to your likings
Last edited by Rasi (2010-12-04 00:48:03)
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
Ah that's perfect, thanks a lot
Offline