You are not logged in.

#1 2014-09-11 00:33:15

zormino
Member
Registered: 2014-09-11
Posts: 4

ncmpcpp interface slow

So, I was running ncmpcpp and was perfectly happy with it for awhile now. Everything worked, it was great (I was using the git version). Today, however, I turn on my computer and the ncmpcpp ncurses interface is laggy.

When I go into the library view and scroll down through the artists, it takes at least a second for any of the albums/songs to show up beside the name. When I scroll down through the albums, it takes a second for the songs on the albums to appear.

So far I've tried reinstalling ncmpcpp (both git and normal, not at the same time), and both versions have this issue. The only major change to my computer today was setting up pdnsd for a dns cache, however killing pdnsd and pointing resolv.conf back to my router didnt do anything (not sure why it would anyways). I've sort of hit a wall because there are no error messages produced, its just a bit slow where it used to be instant. Other ncurses programs work fine, such as calcurse, so I doubt it's that. The ncmpcpp log doesn't show any issues, neither does mpd's. Anyone have/had a similar problem?

Offline

#2 2014-09-11 00:37:51

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Offline

#3 2014-09-11 00:48:11

zormino
Member
Registered: 2014-09-11
Posts: 4

Re: ncmpcpp interface slow

Ah, thanks for the heads up smile I reeeeallly hope they add an option to disable this, I'm going to have to find a new player or compile an old version from source sad

Last edited by zormino (2014-09-11 00:48:26)

Offline

#4 2014-09-11 06:22:27

unK
Member
Registered: 2008-11-16
Posts: 26

Re: ncmpcpp interface slow

This "lag" is just a short (250ms) delay added to limit the data fetched from MPD when you scroll through media library. But I guess that not everybody likes it, so yeah, there will be an option to disable it.

Offline

#5 2014-09-11 16:10:59

zormino
Member
Registered: 2014-09-11
Posts: 4

Re: ncmpcpp interface slow

Awesome, thank you for adding an option in smile It's only annoying when trying to navigate through the interface quickly. If I go down to the artist I want, and then try and go over into the album column, I often do it too fast and end up getting an  message about mpd having problems setting the volume.

Offline

#6 2014-09-11 18:50:16

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: ncmpcpp interface slow

Very nice to have the project dev in the community.  Thanks for the quick response, unK.

Offline

#7 2014-09-14 15:07:34

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: ncmpcpp interface slow

Looks like unK implemented a setting in that mantis task I referenced above in 67f2903:

data_fetching_delay = no

Confirmed expected behavior in ncmpcpp-git (AUR).  Thanks, unK!

Last edited by graysky (2014-09-14 15:09:16)

Offline

Board footer

Powered by FluxBB